Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am craiglittle on github.
  • I am cl (https://keybase.io/cl) on keybase.
  • I have a public key ASDyIR0ZfPjQlAxvXbCLsjqyw0NxZQY_arZ7KT7s1xnxpwo

To claim this, I am signing this object:

@craiglittle
craiglittle / resources.txt
Created June 14, 2018 23:32
Craig's List of Recommended Engineering Resources
Books
-----
Practical Object-Oriented Design in Ruby
99 Bottles of OOP
The Well-Grounded Rubyist
Metaprogramming Ruby
Talks
-----
@craiglittle
craiglittle / selections.txt
Last active March 9, 2019 04:37
Prior selections by the Zendesk Film Salon
Weiner (2016) - Josh Lam [March 17, 2017]
Rumble in the Bronx (1995) - Josh Lam [March 24, 2017]
Grey Gardens (1975) - Kristina Garfinkel [March 31, 2017]
Real Genius (1985) - Alex Stone [April 7, 2017]
Trainspotting (1996) - Kristen Mirenda [April 14, 2017]
Mulholland Drive (2001) - Craig Little [April 21, 2017]
Blue Velvet (1986) - Kristen Mirenda [April 28, 2017]
Dear Zachary: A Letter to a Son About His Father (2008) - Josh Lam [May 5, 2017]
One Flew Over the Cuckoo's Nest (1975) - Kristina Garfinkel [May 12, 2017]
The Man from Earth (2007) - Sujay Sudheendra [May 26, 2017]
@craiglittle
craiglittle / fm_memory_leak.rb
Last active February 8, 2016 02:41
Script to demonstrate finite_machine memory leak
require 'finite_machine'
2.times do
puts
ObjectSpace.garbage_collect
p ObjectSpace.count_objects
p ObjectSpace.count_objects.values.reduce(:+)
1_000.times do
@craiglittle
craiglittle / vagrant-exec-plus.sh
Created May 9, 2014 00:32
Helper script with vagrant-exec
# Execute a command in the synced subdirectory
#! /bin/sh
set -e
REPO=$(basename `pwd`)
vagrant exec "${@}" "code/${REPO}"
@craiglittle
craiglittle / gd_request_log.txt
Last active December 12, 2015 06:59
Making requests to the GD API
AUTHENTICATED HERE
02/06/2013 18:39:00 : 1.561619
02/06/2013 18:39:05 : 0.543389
02/06/2013 18:39:10 : 0.415331
02/06/2013 18:39:15 : 0.441751
02/06/2013 18:39:20 : 0.405183
02/06/2013 18:39:25 : 0.405755
02/06/2013 18:39:30 : 0.434588
02/06/2013 18:39:35 : 0.478876
02/06/2013 18:39:40 : 0.387147