WordPress permalinks not working

I just got an issue where the permalinks on a WordPress didn’t work even though I had an .htaccess file and I had selected “Post name” in the permalinks option page in WordPress.

The problem was to do with mod_rewrite not being enabled on my server. So I had to do “sudo a2enmod rewrite” and then restart Apache and the problem got fixed.

Sort files into folders by extension


Duplicity bash script to restore data from S3

Restore your S3 duplicity backup


Backup to S3 using duplicity

Backup a directory to S3. The script make full backups every 30 days and incremental backups the rest of the time.


JavaScript boilerplate file


Image under text in an HTML email


Styling a radio box with CSS

the CSS:

the HTML


JavaScript Preload Images


My bashrc file