gpg: failed to create temporary file '/var/lib/lurker/.#lk0x567f6100.hantslug.org.uk.22253': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Mar 14 12:59:30 2011 GMT
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hello,
On Mon, Mar 14, 2011 at 12:49:14PM +0000, bryan hunt wrote:
> > Remind me never to shop in your hardware store if this is considered
> > easier than a one liner in Perl (or even PHP oh god it burns)! :)
>
> Perhaps I misunderstand - and please forgive me if I do. But, do you
> recommend he write a small program to do the translation as opposed to
> just pasting it into the search-bar?
I recommend he does this:
perl -MHTML::Entities -ne 'print decode_entities($_)' < page.html > decoded_page.html
(or "cat page.html | perl -MHTML::Entities -ne 'print
decode_entities($_)' > decoded_page.html" if you find the useless
use of cat a bit clearer)
rather than manually copy and paste a handful of lines into a
browser search bar.
> From the viewpoint of commercial success, I suspect the pragmatic wins
> more often than not.
Well if you ever want to found a business around de-obfuscating
HTML-encoded text then I hope you will consider your competitors
undercutting you with the above one-liner before you have to fire
all your third world workers who are busy pasting the text into
browser search bars. :)
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
"The electric guitar - like making love - is much improved by a little
feedback, completely ruined by too much." -- The League Against Tedium