Archive for July, 2011
debug2: key_type_from_name: unknown key type ‘—–BEGIN’
Friday, July 15th, 2011Mysterious ssh public key authentication failure? Check /var/log/secure. You will probably see a permission problem such as that your home directory cannot be group writable (which is annoying).
A simple
$ chmod g-w ~
fixed this for me.
HR 2411
Friday, July 8th, 2011Simon Black over at Sovereign Man posted an interesting one today: H.R.2411 – Reduce America’s Debt Now Act of 2011.
HR 2411 is a ridiculous piece of legislation that would give U.S. citizens the honor of voluntarily helping to pay down the spiraling national debt. Of course, any voluntary debt reduction payments would not be tax deductible; never mind that income taxes are most likely voluntary in the first place.
I have another idea for how we could reduce the debt: End the wars, and the graft, End the Fed, and get Washington out of Wall Street’s pocket.
What the hell. What’s next?
Perl Email Extraction
Tuesday, July 5th, 2011Nice one from a colleague:
perl -wne 'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}'
I should probably get set up with a snippet library for this kind of thing.