Author Archive: Sami K.

How to add prefix to post permalinks in WordPress

I had a problem. My problem was simple and was this. I had a bunch of pages that I wanted normal permalinks for and a bunch of blog posts that I wanted to be prefixed with ‘blog/’. Well there is a plugin called Post Format Permalink that will fix this problem for you. Simply install […]

Published on: 21 April 2012
Posted by: Sami K.

Choosing a distributed revision control host

We have been using github recently to host our code — being able to manage our code using version control is incredibly useful for a number of reasons. I also have been hosting a git repository on a virtual server. We have felt the need to move everything to github, but have felt their pricing […]

Published on: 27 March 2012
Posted by: Sami K.
Discussion: Leave a comment

HeadBlade Marketing Meme

Found this excellent execution of a marketing meme on Reddit. It’s for a company that manufacturers razors. Notice that nothing but the text is posted, no images or hubris. And it is tolerated by the community without too much blow back. Visit Reddit

Published on: 13 March 2012
Posted by: Sami K.

Effective clean way to initialize Sequelize as an object

Sequelize is an ORM for Node.js that I have decided to use in a project. I, like most of my fellow programmers, generally like cleaner code and in this case I found a pretty damn good way to initialize it and keep the initializing functions separate from rest of the code. Further, I structured it so that it was very easy to use it as well.

Published on: 6 March 2012
Posted by: Sami K.
Discussion: 1 Comment