Skip to content

Instantly share code, notes, and snippets.

View built's full-sized avatar

Matt Youell built

View GitHub Profile
@built
built / gist:92e3b5192616a6c2d71f
Created August 12, 2014 04:48
The web.config of Staging
Saw this on FB, attributed to Paul Andrew Skaggs, an old co-worker.
---
Hello Buildmaster, my old friend
I've come to talk with you again
Because an updated connection string
Changed its config while I was sleeping
And the instance that was replaced by the DBAs
Still remains
To find the substring in the text
One needn't cast spells or a hex
Work back from the tail
And quickly you'll sail
If you can't find the character next
#!/usr/bin/env python
# A riff on https://gist.github.com/celoyd/dddc2f9e0ad7217a13e5
from skimage import io
from skimage.transform import resize
import numpy as np
from sys import argv
MAXINT = np.iinfo(np.uint8).max
@built
built / Singh.md
Last active March 13, 2016 06:17
Wiki-wander: Singh

(Wiki-wanders consist of me getting lost in Wikipedia for unreasonable amounts of time and then coming back to tell the tale.)

This wander started with an upsetting story about sentencing in the assault of a Sikh man in Chicago.

Google turned up little more, but did find a Sikh advocacy account on Twitter. One of their tweets showed a picture of the Canadian Defence Minister (a Sikh) meeting President Obama as part of the Trudeau delegation. One tweet noted that Sikhs can't serve in the US military and... wait, what? So off I went to wikipedia to read about Sikhs in the United States military.

Pretty soon I was reading about Bhagat Singh Thind and his struggle t