Posts

Showing posts from August, 2014

Installing whatsapp without a google account

I have phones which I did not want to associate with a Google account, so installing applications is a bit of a pain without Google play. Here are my notes to self in case I need to install or upgrade e.g. Whatsapp on those phones. Plug in the source phone ./adb shell pm list packages | grep whatsapp ./adb shell pm path com.whatsapp ./adb pull /data/app/com.whatsapp-2.apk Plug in the target phone ./adb install -r com.whatsapp-2.apk

Setting up Emacs Tramp on Windows and Cygwin

Working remotely using a Windows PC isn't much fun through plain ssh sessions. Therefore I finally got around setting up Emacs Tramp on Windows. It should be simple, but I'm making notes here in case I have to do it again. I started with instructions from  David Starks-Browning : Installation - Extracted the tramp tar - copy tramp*/lisp/*.el into  /cygdrive/c/ path/where/i/extracted/emacs /site-lisp/ Put the following in my  ~/.emacs  file: (require 'tramp) Figuring out the location of .emacs on a Windows PC was best left to Emacs itself. Since it does expand ~ for home directory, I simply opened the file ~/.emacs in Emacs itself. Cygwin configuration I added the Windows emacs into my cygwin path. Simply adding in ~/.bashrc export PATH="$PATH:/cygdrive/c/ path/where/i/extracted/emacs /bin" To get environment right in the Windows emacs, I started emacs from a Cygwin shell instead of the icon: bash$ runemacs Using Tramp I alway