Skip to content

Instantly share code, notes, and snippets.

View bartj3's full-sized avatar

Bart van Zon bartj3

View GitHub Profile

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

Things that programmers don't know but should

(A book that I might eventually write!)

Gary Bernhardt

I imagine each of these chapters being about 2,000 words, making the whole book about the size of a small novel. For comparison, articles in large papers like the New York Times average about 1,200 words. Each topic gets whatever level of detail I can fit into that space. For simple topics, that's a lot of space: I can probably walk through a very basic, but working, implementation of the IP protocol.

@nseo
nseo / lib-bundler-vendor-net-http-persistent.rb.diff
Created May 7, 2012 13:37
Bundler with HTTP_PROXY/NO_PROXY
--- lib/bundler/vendor/net/http/persistent.rb.orig 2012-05-07 06:19:19.629713946 -0700
+++ lib/bundler/vendor/net/http/persistent.rb 2012-05-07 06:38:32.601764475 -0700
@@ -2,6 +2,7 @@
require 'net/http/faster'
require 'uri'
require 'cgi' # for escaping
+require 'http_configuration'
##
# Persistent connections for Net::HTTP