Skip to content

Instantly share code, notes, and snippets.

Avatar

Abhijat Mahajan mahajanabhij

View GitHub Profile
@mahajanabhij
mahajanabhij / Sideload 4.4.3 Trusty Tahr.sh
Last active Aug 29, 2015
Ubuntu 14.04 Android 4.3.3 Sideload install factory image
View Sideload 4.4.3 Trusty Tahr.sh
$ 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
ActionController::Live puma + nginx in 2 minutes
View 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"}