Sort git branches by creation date
Sometimes you simply don't remember the name of the previously created branch. Sort it by creation date to simplify this task git branch --sort=-committerdate…
How to get linux process arguments it's been started with
1. Open top and press 'C' to to process arguments
2. Copy process id , e.g. 12345
3. Run cat /proc/
I've finally understood priority queues or how to learn better
How to tackle with difficult topics by applying 3 easy steps…
Improving login form UX by adding one line of code
Making user experience of the login form better with one-liner…
How to update local repository from upstream
How to update local repository from upstream safer…
Let's make them pay for using our personal data
Unfortunately we are losing the battle for protecting our personal data from being used by 3rd companies. Instead of protecting my data what if they start paying for it?…
First three things you need to setup for a new project
Integration tests This is really important to setup the integration tests as soon as possible. I've seen so many developers which were trying to do it in the middle of project lifecicle Just imaging how many problems they faced at that stage: complex DB scheme, authentication, authorization, billing system and…
Managing the caches
What you should take into consideration when introducing a new cache mechanism for the application…
The theory of broken windows applied to the codebase
Probably you are familiar with the theory of broken window, if not I will give a quick definition of it here: > Consider a building with a few broken windows. If the windows are not repaired, the tendency is for vandals to break a few more windows. Eventually, they may even…
Writing a good exception message
Every good exception message should consist of three parts…