I love to keep my code clean. One of the ways of doing it to keep declarations in ascending order of their length. It could be in CSS, JSON or JS variables list. But it is a time taking thing if done manually. Here is an example of the same.
I wanted a slim top progress bar for one of my project, like you see on YouTube and Medium. The project had progressed a lot, I didn’t want every developer to write start and stop of this progress bar. Instead, one which could automatically show up if
XMLHttpRequest is fired. Wrote stProgress.js which meets my requirements.
I’m a big fan of CSS preprocessors. In one of my project, which was using LESS, my architect had created a simple yet useful piece (see below), which had margin, padding and width collection. This one was a great time saver for developers. However, you could do it in a much better way using, for loops for LESS.
If you are planning to have a simple stubbed service layer in your project, and want to set it up in a jiffy, without worrying about umpteen configurations, I’ve one for you.
Duet display turns your iPad into an extra display for your Mac or PC. This one is turning to be a great developer productivity tool for me.
This one is a handy tip. If you have code like JSON/CSS/JS/Python/Java etc to represent in markdown (especially in github). You can use this notation to make it presentable.
` ` ` codename
code block goes here
` ` `