Skip to content

Instantly share code, notes, and snippets.

View jakob-stoeck's full-sized avatar
🥋
git happens

Jakob Stoeck jakob-stoeck

🥋
git happens
View GitHub Profile
@jakob-stoeck
jakob-stoeck / gist:2140868
Created March 20, 2012 20:18
use z to open macos folders (go to with regex)
# add to your ~/.profile
. ~/sources/z/z.sh
zz () { (z $* && open .); }
# "$ z some_folder" now goes to that folder in the Terminal
# "$ zz some_folder" opens this folder in the Finder
@jakob-stoeck
jakob-stoeck / gist:747435
Created December 19, 2010 16:11
python poker network startup script
#! /bin/sh
#
# Copyright (C) 2006 - 2010 Loic Dachary <[email protected]>
# Copyright (C) 2004, 2005, 2006 Mekensleep <[email protected]>
# 24 rue vieille du temple, 75004 Paris
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation, either version 3 of the License, or (at your
svn merge folder/@HEAD folder/@637 folder/
svn status --no-ignore | grep '^\?' | sed 's/^\? //'
svn status --no-ignore | grep '^\?' | sed 's/^\? //' | xargs rm -rf