Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am d1 on github.
  • I am dave_strock (https://keybase.io/dave_strock) on keybase.
  • I have a public key ASCi5f4_n5ro2eRnGJXQrV-HRSJAVwGPfJCOndZgjPJQdAo

To claim this, I am signing this object:

@d1
d1 / refactoring-the-egghead.md
Last active August 29, 2015 13:57
Refactoring the Egghead

##Abstract It's our first day on the job at Egghead, a mind simulation app. Progress has been slow lately, so our first task is to do some refactorings. Upon looking at the code, it's obvious this app grew organically without much design--just like the human mind. There is a lot of hidden knowledge in there that we'll have to tease out, but there is hope! We'll use concepts for understanding the human mind to clean up the simulation. In the end we'll understand our minds and our software better.

##Details This talk is an attempt to slip a bunch of soft talk ideas into a technical talk about refactoring. The code examples are from a "metaphorically accurate" mind simulation software that currently resembles roughly how one might think about the human mind and it suffers many of the same problems. It's hard to understand, seems to be beyond our control, and there is no documentation. We're only going to learn how it works by investigation.

This talk will oscillate between code and concepts for understanding o

@d1
d1 / gist:5432446
Created April 22, 2013 04:28
Bash history from the command line talk at RubyMKE 4/16
ls
clear
\ls
type ls
alias ls='ls -1'
ls
type ls
which ls
type cd
type git
@d1
d1 / hack.sh
Created April 2, 2012 02:26 — 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
#