Skip to content

Instantly share code, notes, and snippets.

View sashadev-sky's full-sized avatar

sashadev-sky

  • New York, NY
View GitHub Profile
brew cask install virtualbox
brew install docker docker-machine
# create the vm
docker-machine create -d virtualbox dev
# If seeing:
# (dev) No default Boot2Docker ISO found locally, downloading the latest release...
# Error with pre-create check: "failure getting a version tag from the Github API response (are you getting rate limited by Github?)"
# then:
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@sashadev-sky
sashadev-sky / fork forced sync
Created September 27, 2019 13:43 — forked from glennblock/fork forced sync
Force your forked repo to be the same as upstream.
git fetch upstream
git reset --hard upstream/master
@sashadev-sky
sashadev-sky / fork forced sync
Created September 27, 2019 13:43 — forked from glennblock/fork forced sync
Force your forked repo to be the same as upstream.
git fetch upstream
git reset --hard upstream/master