Category Archives: Coding

Why Do We Dump Our Greatest Projects?

Over the past couple of years I worked on countless projects, some got released and most got lost one way or the other. When I look back, I realize that those “most of my projects” that got lost were the best among all the projects I worked on, in terms of usefulness. I had some time to think about them to see the reason they got lost and came up with some quite generic reasons we think we are aware of but actually are not.

Continue reading

WordPress Deploy

On this very machine, along with this blog, I host many WordPress installations for development purposes. Some use the latest stable version while some use nightly builds. A few weeks ago, I decided to write a simple bash script to automate this process. It runs once a day and keeps all my installations up-to-date. You can get it from GitHub as usual.

WordPress Move Database Backup Converter

If you are a WordPress Move user, than you might probably have tried to use the database backup created by WordPress Move outside the plugin and failed. WordPress Move creates database backups by serializing SQL queries to make parsing it easier so they are not in the plain-text form that you can use outside WordPress Move. Even though this works like a charm, at some point you may need an actual backup of your database which is why I wrote this small script that converts WordPress-Move-only database backups into generic SQL files. You simply put the files you want to convert into the directory called in and run the script to get converted versions of them from the directory called out. I also integrated this script right into the Backup Manager of WordPress Move with the version 1.3 I released yesterday. You can obtain the script from GitHub.

Simple Commit Notifier for GitHub

About a month ago, I wrote a simple Post-Receive URL implementation that sends an email to specified email addresses whenever a team member commits. You can create a whitelist of repositories you want it to accept requests from and also set HTML headers and footers for emails. I actually developed it for the developers of ollaa but it is available for everyone to enjoy at GitHub. Use it, fork it, do whatever you want. I hope it helps someone out there :)