Perspective

We can only see a small portion of the electromagnetic spectrum called visible light. The same can be said about our understanding of our thoughts. If we cannot see something doesn't mean that it does not exist.…

Karo - a Command Line Companion for a Rails Application

Github - https://github.com/rahult/karo Website - http://rahult.github.io/karo/ Example of things it can do, for rest please refer to karo help karo db pull # Will sync the production MySQL database on to local machine karo db console # Will open MySQL console on the server…

Getting fish, rbenv & homebrew playing nice together

Installing fish shell brew install fish Adding homebrew and rbenv to fish configuration file ~/.config/fish/config.fish ### PATH ### set default_path /usr/bin /usr/sbin /bin /sbin set homebrew /usr/local/bin /usr/local/sbin set brew_rbenv "/usr/local/var/rbenv/shims" set -gx PATH $homebrew…

The fastest Android emulator

The fastest Android emulator for app testing and presentation http://www.genymotion.com/ It took me less 10 mins to get up and running with an Android VM + Google Play And it works on Windows, OS X, Linux (AndroVM an up to date VirtualBox package) Happy hacking…

Open Console From Any Tab in Chrome

Despite having its own tab, it is possible to open the console from any tab by pressing the escape (Esc) key, so you don't have to keep switching tabs or use the console toggle button For more amazing tricks go here http://devtoolsecrets.com/…

Emulating Mobile Devices in Chrome

Debugging on Mobile is still hard, mainly due to lack of interface, tools and device segregation (iPhone, iPad, Android Phones, Tablets etc) Here is quick trick I use to test my site on various mobile devices by emulating the device viewport setting. Click on the cog icon (bottom right) in…

Syntax highlighting for Jade & Stylus in Sublime Text

CD into the sublime packages directory Sublime Text 2 (MAC OSX) cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages Sublime Text 3 (MAC OSX) cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages Jade git clone https://github.com/miksago/jade-tmbundle.git Jade Stylus git clone https://github.com/LearnBoost/stylus.…

Dragonfly Tips & Tricks

Dragonfly is Ruby Rack-based gem for on-the-fly processing - suitable for image uploading in Rails, Sinatra and much more! And it is awesome. You can transform an already uploaded image into any size thumbnail, image formats and perform most ImageMagick operations. Image effects Original Image <%= image_tag @gallery.image.…