Creating click to call, click to sms links

Almost every developer is pretty familiar with the mail-to scheme to send an email via a link. Today I would like to introduce two less used schemes – click to call and click to sms that will allow your users to call or sms using a link. These schemes are fully supported by all the … Read more

13 Killer Ways to Center elements with CSS

center elements with css

Designers seem to be troubled time and again while centering items in their layout. Well, no more! There are several ways to center items, be it horizontally or vertically or both, of which I present 13 unique ways categorically and in order of their simplicity. Center elements Horizontally Centering elements horizontally is a fairly easy … Read more

How to recover from a Frozen MAC ?

recover from frozen mac

Mac OS is usually quite stable and not prone to a system crash, yet seldom it does get stuck/frozen. Lets check out what can you do to recover from your frozen MAC without having to electrically reboot. Force Quit an application In the Dock, right click the offending application and select quit. If that doesn’t … Read more

What to do when Ubuntu Freezes/Crashes?

ubuntu Freeze

All operating systems freeze sometimes, and Ubuntu is no exception. It so happens that when Ubuntu Freezes, all you’re left with is a blank screen or a non-working mouse/keyboard or perhaps you have a particular program that has crashed/frozen. What could you do to debug and regain control before you decide to pull the plug … Read more

Autocomplete using Live Templates

autocomplete using live templates

During development, isn’t it several 100 times that we need to print something on the screen? (Maybe just to check the flow of execution, especially with the advent of modular development?) Well, we end up typing the same syntax over and over again. Certainly we could do a copy-paste each time but even then you’d … Read more

Setup Git prompt step by step

setting up git prompt

While using GIT, isn’t it pretty often that you need to keeping checking what branch you are currently on, or if there is stashed content or not, or if you are ahead/behind of the remote repository and so on ? How about we got this information without having to do a git status or a … Read more

Create a Global gitignore

global git ignore

Each time you set up a project, there’s that dreaded repetitive task of creating a new .gitignore file and adding in all the same files/directories that need to be ignored. This sometimes can get pretty tedious. There are OS-generated files (like .DS_Store, Thumbs.db) or IDE-generated files (like .idea/) ┬áthat will always clutter up your repository … Read more