Skip to content

Instantly share code, notes, and snippets.

@mahajanabhij
mahajanabhij / Sideload 4.4.3 Trusty Tahr.sh
Last active August 29, 2015 14:02
Ubuntu 14.04 Android 4.3.3 Sideload install factory image
$ sudo apt-get install android-tools-fastboot
$ sudo apt-get install android-tools-adb
Download Factory Image for your device from
https://developers.google.com/android/nexus/images
Enable USB debugging(www.youtube.com/watch?v=KWYFer-cxCU) on you device and connect it
Run:
@mahajanabhij
mahajanabhij / ActionController::Live puma + nginx in 2 minutes
Created May 25, 2014 11:13
ActionController::Live puma + nginx in 2 minutes
Start Puma
RAILS_ENV=development bundle exec puma -C ./config/puma.rb
curl -i http://localhost:3001/events/141/check
output:
data: {"time":"2014-05-25 16:41:39"}
data: {"time":"2014-05-25 16:41:40"}
data: {"time":"2014-05-25 16:41:41"}