Skip to content

Instantly share code, notes, and snippets.

View sefk's full-sized avatar
💭
Doing just fine, thanks.

Sef Kloninger sefk

💭
Doing just fine, thanks.
View GitHub Profile
@sefk
sefk / hack.sh
Created March 31, 2012 18:15 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@sefk
sefk / .bashrc
Created August 15, 2013 08:02 — forked from swanson/.bashrc
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
# Automatically activate Git projects' virtual environments based on the
# directory name of the project. Virtual environment name can be overridden
# by placing a .venv file in the project root with a virtualenv name in it
function workon_cwd {
# Check that this is a Git repo
GIT_DIR=`git rev-parse --git-dir 2> /dev/null`
if [ $? == 0 ]; then