Archive for January 2009

Recovering your Journalspace.com blog posts

So it seems that journalspace.com is gone for good. For those of you that used to have blogs hosted there, now is the right time to try to recover as much of your blog posts as possible. Definetly, the only resource that one can think of is search engine cache. Andrew heart seems to have [...]

MySQL password hashing

Whenever you upgrade your MySQL installation, make sure to upgrade any client that uses it. In some cases, clients that use a version prior to 4.1 will have a problem authenticating against the MySQL database if the latter has a post 4.1 version. The trick is that after 4.1 (i.e. 4.11 and up), MySQL changed [...]

Getting rid of the ^M characters in vi

If you’re a regular vi user, you may have noticed that some files, when being edited in vi, contain ^M characters at line ends. This usually happens when you edit a file using certain windows-editors, then transfer it to your *nix machine. Luckily, it is easily to get rid of this control character. While in [...]