I hereby claim:
- I am lglenn on github.
- I am lglenn (https://keybase.io/lglenn) on keybase.
- I have a public key ASAlyGAlrmNAStUYdleqRSOTdhZyt-cBfS3n67M8x9y-rAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Organizations and Conferences
Insist on doing everything through "channels." Never permit short-cuts to be taken in order to expedite decisions.
Make "speeches," Talk as frequently as possible and at great length.
Illustrate your “points” by long anecdotes and accounts of personal experiences. Never hesitate to make a few appropriate “patriotic” comments
#!/bin/bash | |
if [[ "$1" = "-h" ]] | |
then | |
echo; | |
echo "USAGE: $0 [network number] [vm-name]" | |
echo; | |
echo "Where the optional arguments are:"; | |
echo | |
echo "vm-name: the name of the boot2docker vm, as obtained from VBoxMangage list vms (default: boot2docker-vm)" |
I just stood up a simple statsd/graphite to track some metrics generated by one of our internal tools.
It all seemed pretty straightforward, but when I started pumping my first counter to graphite (via statsd-ruby), I was puzzled to see that my data was mostly zeroes, with a few sporadic exceptions.
It turned out that my problem was pretty simple, but the solution wasn't super-obvious, and it seems to me that pretty much anyone (certainly anyone with my weakness for doc-skimming) is going to run across it. So here's what I found, and what I did to make things right.
In essence:
def github(name, version, options = nil) | |
options ||= {} | |
options[:repo] ||= "boxen/puppet-#{name}" | |
mod name, version, :github_tarball => options[:repo] | |
end |
I've just spent a few minutes banging my head against a wall trying to get Ruby (1.9.2) to work with Memcache, via the Dalli Ruby gem, on my Mac.
Following some pretty simple, clear directions I found via the web, I did this:
brew install memcached
...then
Call me Ishmael. Some years ago - never mind how long precisely - having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen, and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people's hats off - then, I account it high time to get to sea as soon as I can. This is my substitute for pistol and ball. With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. There is nothing surprising in this. If th