Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dgl1 on github.
  • I am dgl1 (https://keybase.io/dgl1) on keybase.
  • I have a public key whose fingerprint is 80DA 50C7 15B7 A5EB 0376 BB07 CE30 6921 0FE7 B560

To claim this, I am signing this object:

#!/usr/bin/env ruby
def e_sh(str)
str.to_s.gsub(/(?=[^a-zA-Z0-9_.\/\-\x7F-\xFF\n])/n, '\\').gsub(/\n/, "'\n'").sub(/^$/, "''")
end
def find_headers(lines)
in_headers = false
lines.each_with_index {|line, i|
if line =~ /^\S[^\:]+\:( .*?)?$/
@dgl1
dgl1 / keybase.md
Last active January 4, 2017 01:47

Keybase proof

I hereby claim:

  • I am dgl1 on github.
  • I am douglaslavin (https://keybase.io/douglaslavin) on keybase.
  • I have a public key whose fingerprint is 8E54 B127 CCBE 6511 88F1 EE29 AAEC 3B59 42A3 4019

To claim this, I am signing this object: