Skip to content

Instantly share code, notes, and snippets.

View silas's full-sized avatar

Silas Sewell silas

View GitHub Profile
diff --git a/memcached-2.1.0/ChangeLog b/memcached-2.1.0/ChangeLog
index 9a7280d..3502e19 100644
--- a/memcached-2.1.0/ChangeLog
+++ b/memcached-2.1.0/ChangeLog
@@ -41,8 +41,6 @@ Version 2.0.0b2
Version 2.0.0b1
---------------
- * Change the return value for non-existing keys to be NULL rather than
- 'false', affects simple get only
@silas
silas / sorted_json.rb
Last active December 14, 2015 21:49 — forked from halkeye/sorted_json.rb
#
# sorted_json.rb
# Puppet module for outputting json in a sorted consistent way. I use it for creating config files with puppet
require 'json'
def sorted_json(data)
if (data.is_a?(Fixnum) ||
data.is_a?(Float) ||
data.is_a?(NilClass) ||