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:
I hereby claim:
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[^\:]+\:( .*?)?$/ |
I hereby claim:
To claim this, I am signing this object: