Skip to content

Instantly share code, notes, and snippets.

View zzzp's full-sized avatar

Jules Curran zzzp

View GitHub Profile
@vsouza
vsouza / .bashrc
Last active April 9, 2024 05:27
Golang setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell, fish or bash.
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
@jbenet
jbenet / simple-git-branching-model.md
Last active April 9, 2024 03:31
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@tomoconnor
tomoconnor / jenkins-site-check.sh
Created November 12, 2012 18:27
Simple way to check a site's availability from jenkins jobs
URL="http://tomoconnor.eu"
HTTP_STATUS=$(curl -o /dev/null -s -if --write-out "%{http_code}\n" $URL)
if [ $HTTP_STATUS -ne 200 ]; then `which false`; else `which true`; fi