Skip to content

Instantly share code, notes, and snippets.

View freels's full-sized avatar

Matt Freels freels

View GitHub Profile
i tried to escape html in ruby
a task that has proved quite too easy
so i dusted off perl
and gave it a whirl:
while(<>){s/([<>'"&])/sprintf('&#%d;',ord($1))/eg;print;}
@freels
freels / keybase.md
Created September 18, 2014 18:03
keybase.md

Keybase proof

I hereby claim:

  • I am freels on github.
  • I am freels (https://keybase.io/freels) on keybase.
  • I have a public key whose fingerprint is DBEA 8656 AE94 CB1D 9F36 828E 25DB FAD5 8C51 6BC5

To claim this, I am signing this object: