VirtualTam's bookmarks
80 bookmarks found
-
-e Exit immediately if a pipeline (which may consist of a single simple command), a subshell command enclosed in parentheses, or one of the commands executed as part of a command list enclosed by braces (see SHELL GRAMMAR above) exits with a non-zero status. -x After expanding each simple command, for command, case command, select command, or arithmetic for command, display the expanded value of PS4, followed by the command and its expanded arguments or associated word list.
-
EEVblog β No Script, No Fear, All Opinion
2018-11-26 -
Docker - check-config.sh script
2018-10-03 -
Jenkins Job DSL Plugin
2018-09-25 - https://github.com/jenkinsci/job-dsl-plugin/wiki
- https://stackoverflow.com/questions/47206215/environmentvariables-not-working-for-jenkins-job-dsl-and-pipeline-jobs
- https://stackoverflow.com/questions/33792633/using-jenkins-job-dsl-to-set-polling-ignores-commits-in-certain-paths-for-git
- https://github.com/jenkinsci/job-dsl-plugin/wiki/User-Power-Moves
- https://stackoverflow.com/questions/43699190/seed-job-asks-for-script-approval-in-jenkins
- https://groups.google.com/forum/#!msg/job-dsl-plugin/jueturR7sCo/2BCz2rRWBAAJ
- https://github.com/Praqma/JenkinsAsCodeReference
-
Kubernetes plugin and examples:
Kubernetes pipeline plugin:
- https://github.com/jenkinsci/kubernetes-pipeline-plugin
- https://jenkins.io/doc/pipeline/steps/kubernetes-pipeline-steps/
Relevant issues:
- https://issues.jenkins-ci.org/browse/JENKINS-48135 - Multiple containers in declarative pipelines
- https://issues.jenkins-ci.org/browse/JENKINS-51353 - Request for volumes in declarative pipelines
Persisting volumes:
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/
- https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes
- https://devopscube.com/persistent-volume-google-kubernetes-engine/
- http://www.monkeylittle.com/blog/2017/02/08/adding-persistent-volumes-to-jenkins-with-kubernetes-volumes.html
- https://stackoverflow.com/questions/48068973/volume-mounting-in-jenkins-on-kubernetes
Declarative pipelines with YAML spec:
- https://github.com/jenkinsci/kubernetes-plugin/blob/master/examples/declarative-multiple-containers.groovy
- https://stackoverflow.com/questions/47470498/how-to-define-multiple-containers-in-declarative-pipeline
Scripted pipelines:
XML (!):
-
Running cron jobs with Docker
2018-09-04 - https://stackoverflow.com/questions/37458287/how-to-run-a-cron-job-inside-a-docker-container
- https://stackoverflow.com/questions/37015624/how-to-run-a-cron-job-inside-a-docker-container
- https://forums.docker.com/t/how-to-run-a-cron-job-inside-a-container-alpine/7759
- https://gist.github.com/andyshinn/3ae01fa13cb64c9d36e7
-
- https://brandonwamboldt.ca/understanding-the-php-fpm-status-page-1603/
- http://www.gregfreeman.io/2016/how-to-connect-to-php-fpm-directly-to-resolve-issues-with-blank-pages/
- https://www.thatsgeeky.com/2012/02/directly-connecting-to-php-fpm/
- https://easyengine.io/tutorials/php/fpm-status-page/
$ SCRIPT_NAME=/status \ SCRIPT_FILENAME=/status \ QUERY_STRING=json \ REQUEST_METHOD=GET \ cgi-fcgi -bind -connect /var/run/php/php7.0-fpm.sock \ | grep '{' \ | jq '.'
-
-
-
Xdebug - Debugger and Profiler Tool for PHP
2018-05-10 - https://xdebug.org/docs/
- https://xdebug.org/docs/profiler
- https://stackoverflow.com/questions/21133/simplest-way-to-profile-a-php-script
- http://nickology.com/2014/04/16/view-xdebug-cachegrind-files-on-mac-os/
- https://stackoverflow.com/questions/33094913/how-do-i-read-the-ui-of-qcachegrind
- https://github.com/jokkedk/webgrind
- https://pecl.php.net/package/xhprof
- https://tideways.com/profiler/xhprof-for-php7
- https://github.com/humanmade/query-monitor-flamegraph
-
Taglist:
- https://www.vim.org/scripts/script.php?script_id=273
- https://github.com/vim-scripts/taglist.vim
- http://vim-taglist.sourceforge.net/index.html
- http://vim-taglist.sourceforge.net/manual.html
Tagbar:
- https://www.vim.org/scripts/script.php?script_id=3465
- https://github.com/majutsushi/tagbar
- https://majutsushi.github.io/tagbar/
EasyTags:
Yate:
-
For scripting:
1$ docker ps -aq
E.g.:
1$ docker stop $(docker ps -aq)