Sohaib Bhatti

Hi. I help develop EZOfficeInventory and EZRentOut

About me

Getting familiar with Go in 48 hours

The Gopher Gala hackathon is currently in progress. I thought it would be a nice way to get familiar with the GO programming language while attempting to implement a simple Twitter based game. The Idea The idea behind "Dungeons and Gophers" is to build a simple game that can be

Written By
Sohaib Talaat Bhatti on Golang, Gopher Gala, Hackathon

That time of the year...

The end of the year is upon us. Since I'm posting after such a ridiculously long time(sorry about that), I thought I'd list down Its the ideal time to recap what went on from a "programming" perspective in 2014. Also I thought I'd jot down what I plan to

Written By
Sohaib Talaat Bhatti —

Reposition windows in CrunchBang(#!)

One of the features that I missed quite a bit in Ubuntu were the shortcut keys for repositioning windows. The shortcut keys were all located on the numpad and were quite intuitive. CTR+ALT + 1 = Lower left quadrant CTR+ALT + 3 = Lower right quadrant CTR+ALT + 7 = Top left quadrant

Written By
Sohaib Talaat Bhatti on CrunchBang, Linux, #!

Moving to CrunchBang(#!)

After using Ubuntu as my primary Operating System for the past 3 years, I decided to give another Linux distribution a try. The number of Linux flavors out there is ridiculously large. I decided to opt for #! because it is Debian based and hence wouldn't affect my office productivity by

Written By
Sohaib Talaat Bhatti on CrunchBang, Linux, #!

Understanding the Fat Arrow(=>) in CoffeeScript

I've been using CoffeeScript for quite a while without paying much attention to how it actually works under the hood. One example is the fat arrow(=>). I use it a lot, and despite having an idea as to how it might be working in javascript, I haven't looked at the

Written By
Sohaib Talaat Bhatti —

DRYing up validations in EmberJS

Ember Validations, written by the totally awesome Brian Cardarella, is a pretty cool piece of code that adds Rails style validations to EmberJS. App.CoolModel = DS.Model.extend(Ember.Validations.Mixin, email: DS.attr 'string' validations: email: presence: true format: { with: /^([\w.-\+]+)@([\w.-]+)\.([a-zA-Z.]{2,6})$/i, allowBlank

Written By
Sohaib Talaat Bhatti —