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
| #!/usr/bin/env bash | |
| # SOURCES: | |
| # https://gist.github.com/pirafrank/18d62c062e2806c1d183 | |
| # SEE THIS EXCELLENT SITE IF GIST FAILS: | |
| # https://office-reset.com | |
| # activate verbose standard output (stdout) | |
| set -v |
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 | |
| if [[ $# -eq 0 ]]; then | |
| echo "Usage: $0 <backup_dir>" | |
| exit | |
| fi | |
| destination=$1 | |
| if ! type "pv" > /dev/null; then | |
| echo 'pv' command not found on your system, install it to get a nice progress indicator... | |
| else |
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
| docker images | tail -n +2 | grep -v "none" | awk '{printf("%s:%s\n", $1, $2)}' | while read IMAGE; do | |
| echo $IMAGE | |
| filename="${IMAGE//\//-}" | |
| filename="${filename//:/-}.docker-image.gz" | |
| docker save ${IMAGE} | pigz --stdout --best > $filename | |
| done |
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
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // Choose either "stable" for receiving highly polished, | |
| // or "canary" for less polished but more frequent updates | |
| updateChannel: 'stable', |
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
| 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
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: | |
| # http://unix.stackexchange.com/a/122188 | |
| # https://natelandau.com/my-mac-osx-bash_profile | |
| # https://jonsuh.com/blog/bash-command-line-shortcuts | |
| # https://news.ycombinator.com/item?id=8159771 | |
| # .bashrc: https://gist.github.com/evdokimovm/67e4fcd938af98528aa108574626e522 | |
| # --------------------------- | |
| # ETC | |
| # --------------------------- |