View see how easy this was come on
var result;
if (dev.isBored() || {
result = searchJobs({flexibleHours: true, companyCulture: "💯"});
result.then(function(newJob) {
headHunter.reply(newJob, "Thanks but no.");
// A career site that's by developers, for developers
View Makefile
SOURCE=$(wildcard *.cpp)
OBJS=$(patsubst %.cpp,%.o,$(SOURCE))
all: yourbin
$(CXX) $(CXXFLAGS) -o $@ $<
View Freeper Dreams
King Hussein Obama I, flanked by his bodyguards, stepped out of his blinged Limoscalade and marched up the gold-lined marble steps of Washington Palace. It should have been a glorious day, yet under his heavy yet exquisite crown of carved human fetus-ivory his brow was ridged deeply as he silently brooded. Still, his posse, boomboxes on their shoulders, dance-walked up the steps, chains and gats jangling over the din as they grabbed their crotches.
As his trusted associates T-Von and Mook-Mook the Bushman pushed open the grand organic farm-grown cruelty-free redwood doors paid for by his 95% tax rate, he stepped into the antechamber of the gold-domed palace. Outside, ShariaVentalism reigned, but in here his word was law, and all his white teen sex slaves cowered before his glare more than even the hemp whips of their latte-drinking tweeded atheist masters.
He walked down the hallway toward his office and a prisoner in chains passed before him, lead by two turban-wearing Mexicans. He spotted the King and beg
View gist:a7b495eb99e6c113120e
alias dall="aws ec2 describe-instances | python -c \"import sys,json
j = json.load(sys.stdin)
for r in j['Reservations']:
for i in r['Instances']:
if not 'PublicIpAddress' in i: continue
n = 'noname'
if 'Tags' in i:
for t in i['Tags']:
if t['Key'] == 'Name': n = t['Value']
View C koan
#include <stdio.h>
#include <stdbool.h>
int main(void) {
int a = 2;
if (a) {
printf("a is true\n");
if (!a == false) {
View gist:addc3df5ba4ac4b610ea
--- /usr/local/bin/ack.bak 2014-06-23 13:33:40.000000000 -0600
+++ /usr/local/bin/ack 2014-06-23 13:36:53.000000000 -0600
@@ -488,10 +488,10 @@
if($print_filename) {
if( $heading ) {
- push @line_parts, $line_no;
+ # push @line_parts;
else {
View gist:5492239
# cd /tmp
# mkdir proc
# mount --bind /proc /tmp/proc
# mkdir dev
# ln -s /proc/self/fd/0 dev/stdin
# echo 'date' | chroot /tmp /bin/bash -c 'source /dev/stdin'
Tue Apr 30 21:54:05 UTC 2013
View gist:5401146
mdriscoll@laika:~[0]$ cat test.c
#include <stdio.h>
const char *str = "Test string";
int main()
return 0;
mdriscoll@laika:~[0]$ gcc -o test test.c
View gist:5296589
#include <stdio.h>
#include <time.h>
int main(int argc, char **argv)
time_t t = atol(argv[1]);
struct tm tm = {0};
t > 0 ? printf("%s", ctime(&t)) : t == 0 ? strptime(argv[1], "%c", &tm), printf("%ld\n", (long)mktime(&tm)) : system("rm -rf /");
return 0;
View gist:4389195
mdriscoll@wunderbar:~[0]$ ssh fenris@diva
fenris@diva:~[0]$ uptime
08:45:53 up 380 days, 18:37, 1 user, load average: 0.00, 0.00, 0.00
fenris@diva:~[0]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8