Just wanted to share an interesting aspect I discovered in UICollectionViewCell that makes it very easy to build a game like matching pairs or similar in iOS while writing very minimal code to handle selection and changing the UICollectionView cell on selection and deselection.

It has been sometime since I have used this, but back when I was taking C for C++ Programmers course in my undergraduate days, I did not know that you can pass function into a C function similar to passing functions in Javascript of other languages like Swift.

Have you tried to construct a complex query in Rails to do joins and order by different columns and have fallen into writing SQL because you could not construct a query using ActiveRecord’s querying DSL, then this blog post might help.

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