Recover WordPress without database backup!

TLDR version

  1. ask the Wayback machine for the archive of your site
  2. get to RSS feed (http://yourblog.com/feed), download it.
  3. import to your new site with RSS importer add-on.
  4. iterate by going back further in time (if there are still some post not covered by the feed)


The long process…

Reading output from running crontab process

— update– for more ways to do it checkout http://askubuntu.com/questions/192798/reading-the-output-from-any-process-using-its-pid ———— Today I was run a long process from crontab. But I forget to set the output of the command. Checking with ps aux |…

Capybara.ignore_hidden_elements

Be careful with this value, or if you are not aware about this option. When set to true (which is default for selenium), you will not be able to get the element using method find,…

corrupt zsh history file

Today I experienced corrupt zsh history file. Which simply kills my most favorite terminal command ever (j). After quick googling, the fix is simple too. First edit ~/.zsh_history and remove line with a lot of…

ssh disconnect issue

On a normal day, I keep several console connected with ssh to my servers. Often, I encountered my ssh console frozen or Write failed: Broken pipe In order to avoid such issue, we can simply…