This assumes that your first remote is a github remote. Put the following in the appropriate bash or zsh initialization script and that you’re on a Mac. You might need to change “open” to whatever will launch a URL in a web browser on a different *nix system. function gitweb() { git remote -v | […]
Monthly Archives: December 2014
Programming Style: Language Specific Domains
My Beginner and C Days The visual presentation of the code has mattered to me, from the first days I wrote C code in Microsoft editor. In those days, it was a Microsoft C 5.0 IDE on either DOS or OS/2. #include “stdio.h” main() { int rows,columns,ROW, COLUMN; scanf(“%d %d”,&ROW,&COLUMN); rows = 0; columns = […]
Toy Helicopter Review and Durability Test: Flutterbye Deluxe Fairy
We’ve bought several cheap toy helicopters that have usually met their demise via the breakage of one of the components that rotates at high speed breaking. Air Hogs has been a favorite brand because they are usually cheap and your face on retail shelves. [The charging port on this doll bears the Air Hogs brand, […]
Toy Helicopter Review and Durability Test: Sky Rover Aero Spin
The Sky Rover Aero Spin was a pretty impressive little toy helicopter. It has a hover mode that stabilizes flight a certain distance off of the ground and a “controller” mode which allows you to try controlling the spin rate of the propellers to fly the helicopter. A good video demonstration is on the rcgroups […]
Using jquery us map to Create a Map of States That Can Be Toggled
The us-map plugin was already in use elsewhere and I wanted to create a clickable map that would display an anchor state and allow for configuration of related states. Also in use is the gon gem to allow passing of data directly into Javascript, included in a Rails 4.1 project. Controller code: # assume @state is […]
Sites That Have a Problem Working in Google Chrome
I’ve been hitting issues with site compatibility with Chrome lately, so I decided to start with a list of sites that I’ve had issues with in the last day, and I’ll build on from there. As of Chrome 39.0.2171.71 (64-bit) on Yosemite: panel.dreamhost.com – Rebilling edit does not allow you to check the checkbox to limit billing […]
The story behind rspec kung fu hamster
rspec-kungfuhamster originated as a joke on a POS development team I worked on almost 10 years ago. In the battle of scope creep and requirements changes, we all got a bit loopy and a couple members of the team drew up an ASCII animated “kung fu hamster” as a terminal-based spinner while the credit card […]