Search This Blog

Friday, August 26, 2011

Removing PackageKit

Finally I found how to remove the annoying "Command not found" message from the command line on fedora :
yum erase PackageKit

Sunday, August 21, 2011

Comparing E-mail Address Validating Regular Expressions

It seems there is NOT a unique way of validating an email address by a simple regexp; http://stackoverflow.com/questions/201323/what-is-the-best-regular-expression-for-validating-email-addresses" From stackoverflow you arrive at different websites, among which there is http://isemail.info/about that provides a php,java and C# package to check the email. Is neat also the trick of adding a + sign to the end of your email to a website, to track if they gave the email to someone else. Nice also the quote: be conservative in what you do, be liberal in what you accept from others. So do you still think parsing an email is easy ?

Saturday, August 20, 2011

Tuesday, August 9, 2011

Finding synonyms from the command line in linux

Just found Wordnet

A Dictionary-Thesaurus for Linux

To find a synonyms (useful when trying to find a meaningful name for an object ) just type

wn -simsv