29 Oct 2014
I used to blog at haisum.info on a wordpress based blog hosted on shared hosting. Once, by mistake I deleted index.php file and didn’t have any backup. Sometimes due to other sites on shared hosting, site would go down, databases got corrupted and all kinds of bizarre things would happen. All this lead to so much disappointment that I just stopped blogging. Recently I discovered Jekyll and github pages, they were so simple and had the backup and serving power of github that I decided to resume blogging. It has been a great experience so far. I hope I would continue to write now without much disappointments and things such as security, downtimes or backups to worry about.
29 Oct 2014
24 Oct 2014
I have setup mail servers so many times, each time I forget the correct config. So here’s a set of configs I just setup for a mail server on centos 6. It will act as future reference for me. I would be glad if it helps anyone else too.
22 Oct 2014
I was made team lead of a project, that saved passwords in plain text in cookies for remember me, verification email just contained primary key and forgot password just sent the password in mail.
22 Oct 2014
Forms are essential for any web development project. Tasks we do in building and populating forms, such as checking value in $_POST
, $_GET
and populating that, populating drop downs with data from database and pre selecting data, are redundant. While using Yii framework I loved their CHtml class. It had all the effort done for you, you only had to use it properly and it would do most of redundant tasks for you.