Skip to content

Instantly share code, notes, and snippets.

View mikewaters's full-sized avatar

Mike Waters mikewaters

  • Dealertrack
View GitHub Profile
@mikewaters
mikewaters / gist:1219800
Created September 15, 2011 17:01
Typhoeus x86_64 Debian curl linker patch
+++ /usr/lib/ruby/gems/1.8/gems/typhoeus-0.2.4/ext/typhoeus/extconf.rb 2011-09-15 16:39:01.000000000 +0000
--- /usr/lib/ruby/gems/1.8/gems/typhoeus-0.2.4/ext/typhoeus/extconf.rb.old 2011-09-15 16:58:08.000000000 +0000
@@ -58,7 +58,6 @@
LIBDIR,
'/opt/local/lib',
'/usr/local/lib',
+ '/usr/lib/x86_64-linux-gnu',
'/usr/lib'
)
end
@mikewaters
mikewaters / gist:1204741
Created September 8, 2011 21:11
Custom nodes
# My Custom Nodes
#
# in nodes/field_nodes.py
class FunctionSubstituteNode(base.Node):
"""Manipulate a field using a function.
This is a simpler version of DeriveNode(); a single field is passed in
rather than the entire record.
"""
__node_info__ = {