Skip to content

Instantly share code, notes, and snippets.

View h0h0h0's full-sized avatar

Shaun Farrugia h0h0h0

View GitHub Profile
@h0h0h0
h0h0h0 / gist:2662011
Created May 11, 2012 19:43
cherry picker
#!/bin/bash
echo "usage ./cherrypick <commitnum or range>\n"
echo "About to pick commits: $1"
for commit in $(git log --reverse --pretty=%H --no-merges $1);
do
git cherry-pick $commit
done
#utility to replace every "$commandApi->Invoke(foo, bar, baz)" with "print "$commandApi->Invoke(foo, bar, baz)""
#for debugging
#just outputs to stdout; redirect to a file to pop it into an actual file
# $commandApi->Invoke('Construct', "$key" );
my $pathToInputFile = shift;
#to generate code, change $codeGenerator 1
my $codeGenerator = 0;
Have You seen my Little Kitten
I have lost her in the woods.
Have You seen my Little SunShine
Sun is lost into the clouds
Have You seen my Heaven
Seems so dark and rotten here
Have You seen my Hell
Have You seen my Little Jesus
Seems so hot and dark inside
@h0h0h0
h0h0h0 / gist:289906
Created January 29, 2010 17:11 — forked from ocharles/gist:288160
My thoughts.
I believe in this but at the same time i have a feeling that there is something this man thinks is missing from his life.
Like time to be with his family?
Somewhere along the line people have been fooled into believing that life is supposed
to be easy. I often work 12+ hour days, and there are weeks when I work 7 days. I
perform my own workout at the crack of dawn. Do I enjoy waking up at 4AM? Not
really, but I get it done. I have a wife and son, with another on the way next month. I
also have dogs, house work, work in the yard, etc. I’m beyond busy. Oh well, that’s
life. I won’t cry about it and feel bad for myself. I won’t rush to the local fast food