Skip to content

Instantly share code, notes, and snippets.

@eabbott
eabbott / gist:3ad12391f026db559e74
Created May 19, 2014 18:10
why u no change process?
Deploy Log
Running fabric command bounce:BaragonHubSpotService,qa,loglevel=DEBUG
18:06:55 utils | Password already set for user 'eabbott'
18:06:56 utils | LOADED THE PROJECT META INFO FROM DEPLOY REGISTRY
18:06:56 deploy | Starting bounce of BaragonHubSpotService qa...
18:06:56 utils | Testing connection to 2 host(s)...
18:06:56 utils | Testing bigmowich.iad01.hubspot-networks.net
18:06:56 utils | Testing ypsilon.iad01.hubspot-networks.net
18:06:57 utils | Connection tests succeeded
@eabbott
eabbott / gist:4957893
Last active December 13, 2015 18:48 — forked from bkimble/gist:1365005
#!/usr/bin/env ruby
require 'net/telnet'
hostname = ARGV[0]
throw 'wheres the host?' if hostname.nil?
cache_dump_limit = 10000
localhost = Net::Telnet::new("Host" => hostname, "Port" => 11211, "Timeout" => 3, "Telnetmode" => false)
slab_ids = []
# The code block will get called for each <insert technical expl>