Skip to content

Instantly share code, notes, and snippets.

@ptrhvns
ptrhvns / gist:2b0ebe54071ae71982f4
Created July 31, 2014 20:38
Must-Read Software Developer Books
Clean Code - Martin
Code Complete - McConnell
Compilers - Aho
Computer Networks (5th Edition) - Tanenbaum
Design Patterns - Gamma, et al
Domain-Driven Design - Evans
Growing Object-Oriented Software, Guided by Tests - Freeman, et al
Introduction to Automata Theory, Languages, and Computation - Hopcroft
Purely Functional Data Structures - Okasaki
Refactoring - Fowler
@pjb3
pjb3 / create_work.rb
Created November 3, 2012 18:10
I'm wondering why Celluloid/Sidekiq is more efficient than just doing this, having one Thread per worker
require 'json'
require 'redis'
redis = Redis.new
60.times do
redis.rpush "queue", ["Kernel", "sleep", 1].to_json
end