Creating click to call, click to sms links

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 modern browsers. Before diving deep into the know-how’s, lets go […]

Read Me Leave comment

13 Killer Ways to Center elements with CSS

13 Killer Ways to 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 thing to do. It can be done in 3 ways: […]

Read Me Leave comment

How to recover from a Frozen MAC ?

How to recover from a 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 work, Ctrl + click the offending App, and then Hold […]

Read Me 1 Comment

What to do when Ubuntu Freezes/Crashes?

What to do when Ubuntu Freezes/Crashes?

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 and restart all over? Does a magic combination like Ctrl […]

Read Me Leave comment

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 need to type the whole thing the first time at […]

Read Me Leave comment

Setup Git prompt step by step

Setup Git prompt step by step

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 git stash show each time? Git Prompt to the Rescue! […]

Read Me 6 Comments

Create a Global gitignore

Create a Global gitignore

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 structure. You could also have dependencies like node_modules, built resources like […]

Read Me 2 Comments