Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| # requirements: curl, jq | |
| # By default this script will get 100 projects at a time | |
| # If you have more than 100 projects . run this script multiple times | |
| USER=user | |
| PASSWORD=password | |
| SONAR_URL=http://localhost:9000 | |
| for pkey in `curl ${SONAR_URL}/api/components/search?qualifiers=TRK | jq -r .components[].key`; do | |
| curl -X POST -v -u ${USER}:${PASSWORD} ${SONAR_URL}/api/projects/update_visibility?project=${pkey}\&visibility=private; | |
| done |
| :: use this file to run your own startup commands | |
| :: use in front of the command to prevent printing the command | |
| :: call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd" | |
| :: set "PATH=%CMDER_ROOT%\vendor\whatever;%PATH%" | |
| :: LS 2017-09-12_17.35.11 | |
| :: ====================== | |
| :: Copied from %CMDER_ROOT%\vendor\init.bat |
Gist to support https://www.youtube.com/watch?v=KsTMy0920go
https://github.com/darinpope/java-web-app
use the sonar branch
| # Docker aliases | |
| alias di='sudo docker images' | |
| alias dps='sudo docker ps -a' | |
| # useful Docker functions | |
| dock-run() { sudo docker run -i -t --privileged $@ ;} | |
| dock-exec() { sudo docker exec -i -t $@ /bin/bash ;} | |
| dock-log() { sudo docker logs --tail=all -f $@ ;} | |
| dock-port() { sudo docker port $@ ;} | |
| dock-vol() { sudo docker inspect --format '{{ .Volumes }}' $@ ;} |