- Works only for safe HTTP methods, say like GET and HEAD, methods that shouldn't mutate application state.
- Browser (private and public)
- Proxy (public)
- Gateway/Reverse Proxy (public)
| #export COMPOSE_FILE="docker-compose.yml:docker-compose.vbe.yml" | |
| alias b='brew' | |
| alias bs='brew services' | |
| alias bsr='bs restart' | |
| alias bssr='bs start' | |
| alias bsst='bs stop' | |
| alias bsl='bs list' | |
| alias bupt='b update' | |
| alias bupg='b upgrade' | |
| alias bup='bupt; bupg' |
| ln -s /Applications/Sublime\ Text\.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime |
| # the first 2 steps are needed if the project dir inside container is inside /home. | |
| sudo vi "+g/^\/home/s/\//#\//" "+x" /etc/auto_master | |
| diskutil umount /home | |
| sudo ln -s ~/Path/to/projects/on/host /path/to/projects/inside/docker/container | |
| # say: | |
| # sudo ln -s ~/projects/company/ /home/www-data |
| sudo sysctl -w kern.maxfilesperproc=524288 | |
| sudo sysctl -w kern.maxfiles=524288 | |
| ulimit -n 524288 | |
| docker run --rm --privileged --entrypoint sysctl eugenmayer/unison:unox -w fs.inotify.max_user_watches=524288 |
| find /usr/local \ | |
| \( -type d -a -name test -o -name tests \) \ | |
| -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \ | |
| -exec rm -rf '{}' + \ | |
| && runDeps="$( \ | |
| scanelf --needed --nobanner --recursive /usr/local \ | |
| | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \ | |
| | sort -u \ | |
| | xargs -r apk info --installed \ | |
| | sort -u \ |
| #!/bin/bash | |
| # Change this to your name initials | |
| user_initials="ms" | |
| E_BADARGS=65 | |
| if [ $# -lt 1 -a $# -gt 3 ]; then | |
| >&2 echo "Usage: $0 jira_ticket_title [ticket_type_or_branch_prefix=feature] [checkout=1]" | |
| exit $E_BADARGS | |
| fi |