Get Git Branches Checked Out on a Date
I don't use any type of git UI -- I try to be hardcore and stick to the command line. This makes git usage quicker but I also probably miss out on a lot of the functionality that would be nice to know. The functionality is there, of course, but without a nice icon or menu item you don't really think about it.
I was browsing CommandLineFu and found a nice git snippet which provides you a listing of branches checked out on a given date:
git reflog --date=local | grep "Sep 10 .* checkout: moving from .* to" | grep -o "[a-zA-Z0-9\-]*$" | sort | uniq
I love this snippet because I often forget recently created branch names (...grow up and delete old branches, David!), especially when leaving work for the weekend. Handy!
When you say or read "HTML5", you half expect exotic dancers and unicorns to walk into the room to the tune of "I'm Sexy and I Know It." Can you blame us though? We watched the fundamental APIs stagnate for so long that a basic feature...
Chances are that any Web designers using our Ghostlab browser testing app, which allows seamless testing across all devices simultaneously, will have worked with responsive design in some shape or form. And as today's websites and devices become ever more varied, a plethora of responsive images...
Last year I wrote a popular post titled AJAX For Evil: Spyjax when I described a technique called "Spyjax":
I released a MooTools comment preview script yesterday and got numerous requests for a jQuery version. Ask and you shall receive! I'll use the exact same CSS and HTML as yesterday.
On the keypress and blur events, we validate and...