Skip to content

Instantly share code, notes, and snippets.

@brosner
brosner / setup.md
Last active April 26, 2020 11:32
My development environment setup

Prepare by switching out of bash from Homebrew:

chsh -s /bin/zsh

To clean my system and reinstall Homebrew:

rm -rf ~/.local && mkdir ~/.local
rm -rf ~/Library/Caches/pip
rm -rf ~/.pyenv

rm -rf ~/.yarn

@kballenegger
kballenegger / deploy.sh
Created August 22, 2014 18:47
Auto-deploy system through a system of etcd locks.
git fetch
# check if a deploy is necessary
checked_out=$(git rev-parse HEAD)
production=$(git rev-parse origin/production)
if [ $checked_out = $production ]; then
echo 'Nothing to deploy. Moving on...'
exit 0
fi
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)
@0xadada
0xadada / README.md
Last active August 5, 2022 16:48
VIM movement, keyboard commands and shortcuts