Set Branch Alias with Git
Version control systems can be difficult to use, especially when you don't use a UI app. Just think about main branch or revision names: svn uses "trunk", git uses "master", and mercurial (hg) uses "tip". I need to switch between mercurial and git frequently, so I end up reversing command and branch names constantly.
To set a git branch alias, execute the following:
# alias -> real branch
git symbolic-ref refs/heads/trunk refs/heads/master
With the alias in place, you can execute commands like:
git checkout trunk
git branch # * master
Not only can you create git aliases for commands, but you can create aliases for branches!
This article serves as a point-by-point...
With Firefox OS, asm.js, and the push for browser performance improvements, canvas and WebGL technologies are opening a world of possibilities. I featured 9 Mind-Blowing Canvas Demos and then took it up a level with 9 Mind-Blowing WebGL Demos, but I want to outdo...
It's best practice to provide an indicator of some sort when performing an AJAX request or processing that takes place in the background. Since the dawn of AJAX, we've been using colorful spinners and imagery as indicators. While I enjoy those images, I am...
Ever want to see all of the information stored within the window property of your browser? Here's your chance.
We need a wrapper DIV that we'll consider a console.
I like making this look like a command-line console.
Depending on what you have loaded...