Skip to content

Instantly share code, notes, and snippets.

View johnsto's full-sized avatar

Dave Johnston johnsto

View GitHub Profile
### Keybase proof
I hereby claim:
* I am johnsto on github.
* I am johnsto (https://keybase.io/johnsto) on keybase.
* I have a public key whose fingerprint is CC4E 6B9B F910 2567 BE01 728C B84F 765C 9D72 9AC5
To claim this, I am signing this object:
#!/bin/bash
#
# Prints the days remainig until Christmas onto an image and (optionally)
# sets it as the user's Twitter avatar.
avatar="avatar.png"
date="25 Dec"
user=
while getopts 'a:d:u:' flag; do
@johnsto
johnsto / gist:8435431
Created January 15, 2014 12:36
Compiling and decompiling the Fibonacci example on http://decompiler.fit.vutbr.cz/decompilation/
// Fibonacci numbers
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int i, numtimes, number;
unsigned value, fib();
~$ ls .local/share/Steam/SteamApps/common/Half-Life/
bshift gearbox models
bshift_hd gearbox_hd platform
chromehtml.dylib.dSYM gldrv proxy.so
chromehtml.so hl.conf redist
config.cfg hlds_darwin.dSYM reslists
core.so hlds.dSYM ricochet
crashhandler.so hl_linux SAVE
cstrike htmlcache tempdecal.wad
cstrike_beta hw.dylib.dSYM tfc