The five minute MySQL backup to S3

This short tutorial will teach you how to backup your MySQL database to Amazon S3. What you are going to need is:

  1. MySQL
  2. Amazon S3 bucket configured (prepare you access keys to configure s3cmd)
  3. s3cmd utility installed on the target server (yum install s3cmd). Configure with...

Homebrew in your home

I recently discovered the cool feature of Homebrew - the one to having it installed in your home directory!

A colleague's Mac mini broke, had to quickly switch to a another one so she can resume working. The other Mac was shared so Time Machine was a no...

Redirect all website pages to index.html

If you would like to put your website offline and redirect all the pages to index.html using Apache and .htaccess, here's the snippet:

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/index.html$
RewriteRule .* /index.html [R=302,L]