Recently I came across a problem of how to add Promocodes to an ecommerce site built using Rails. Thinking about the problem I thought of good programming practices that I can apply so that the code is clean and maintainable in the future as more different types of promocodes are...

Recently came across a command in Unix like systems called at This command executes any command given at the specified date time. Here is an example

Writing try-catch block using setjmp and longjmp Swift is a great language because it lets you write safe code with concepts like optional, immutability, automatic memory management using ARC and more. But there is also another side to Swift which is less known. That is you can use it to write unsafe code. In Swift...

Since everyone is aware of Swift the programming language announced at WWDC I wanted to write a post on the language itself from the point of view of a Ruby/Objective-C/Javascript developer. Having developed in these three languages extensively I find each has its own pros and cons and Swift has...

I am an iOS Developer and have developed several apps for iPhone so I decided to create a Mac App for fun and to open source it for others to learn.  Compared to iOS, there are very few examples and tutorials online teaching you how to write apps for Mac...