commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Read, Evaluate, Print, Loop - REPL
Finds all cert files on a server and lists them, finding out, which one is a symbolic link and which is true.
You want to do this when a certificate expires and you want to know which files to substitute with the new cert.
Finds all *.p[ml]-files and runs a perl -c on them, checking whether Perl thinks they are syntactically correct
If you have a directory with many working copies of various subversion projects and you want to update them all at once, this one may be for you.
Of course you will have to install Digest::SHA and perl before this will work :)
Maximum length is 43 for SHA256. If you need more, use SHA512 or the hexadecimal form: sha256_hex()