brew cask install virtualbox virtualbox-extension-pack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function wrapssh() { | |
| setopt shwordsplit &>/dev/null | |
| # load agent if it's not running | |
| if [ -z "$SSH_AUTH_SOCK" ]; then | |
| eval $(ssh-agent) &>/dev/null | |
| fi | |
| # load keys if necessary | |
| DO_ADD=0 |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| # ┌ ┐ | |
| # sources | |
| # └ ┘ | |
| https://gist.github.com/cloudRoutine/87c17655405cd8b1eac7 | |
| https://gist.github.com/furzeface (not sure where profile.ps1 URL disappeared to) | |
| #> | |
| # If this script is throwing an error near a Unicode symbol try resaving the file as UTF-8 with BOM | |
| $psmodules = ";~\Documents\WindowsPowerShell\Modules" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [filter "lfs"] | |
| required = true | |
| clean = git-lfs clean -- %f | |
| smudge = git-lfs smudge -- %f | |
| process = git-lfs filter-process | |
| [user] | |
| name = first last | |
| email = address | |
| [github] | |
| user = username |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:jessie | |
| ENV USER=boatswain USER_ID=1000 USER_GID=1000 | |
| # now creating user | |
| RUN groupadd --gid "${USER_GID}" "${USER}" && \ | |
| useradd \ | |
| --uid ${USER_ID} \ | |
| --gid ${USER_GID} \ | |
| --create-home \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # SOURCES: | |
| # https://gist.github.com/DylanTackoor/7a04052cfc3a726d9af6f798875189fc | |
| # https://github.com/timsutton/osx-vm-templates/blob/ce8df8a7468faa7c5312444ece1b977c1b2f77a4/scripts/xcode-cli-tools.sh | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| # Exit upon failed command | |
| # set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # SOURCES: | |
| # https://gist.github.com/rubytester/7330557 | |
| # http://stackoverflow.com/a/1923893 | |
| # Exit upon failed command | |
| # set -e |