After using the stock Android ICS that came with my Sensation for a couple of years and getting fed up with it crashing and being slow all the time, I decided to try out the CyanogenMod (CM) everyone was talking about. When I started with this endeavour, I was a bit overwhelmed by the amount of incoherent/incomplete resources all around. In this post, I’ll try to summarise the steps necessary to install it in a more human way to help others achieve the same goal.
Preparing our institute’s cluster for an OpenStack installation I got into the situation where I had to manually configure several servers in the same way. Of course, since repeating the same terminal commands isn’t all that fun, I went searching for a tool to simplify this. Enter Cluster SSH.
As I wanted to access my Eclipse workspace (synced over Dropbox) from both Ubuntu and OS X, I had to make some additional configuration in order for Texlipse to work. I will explain this procedure in short.
LaTeX executables that come with BasicTeX or MacTeX bundles (links and descriptions) in OS X are installed in a weird path, but this folder is symlinked to /usr/texbin. In Linux they are of course in /usr/bin. The easiest way to overcome this is to make a similar symlink in Linux:
$ sudo ln -s /usr/bin /usr/texbin
and after you’re done simply set /usr/texbin as the bin directory of the TeX distribution in Texlipse preferences – Builder Settings, as is described here.
Half way there, just need to set the previewer…
As shown in this video, this is how you try out the helloworld speech recognition using Sphinx from Python in Ubuntu…
$ sudo apt-get install python-pocketsphinx pocketsphinx-hmm-wsj1 pocketsphinx-lm-wsj
And the code (a script called speech_recognition.py, you can download it as a gist) goes as follows (it may be necessary to change paths to your language model and hidden markov model files):
It’s not that easy to get PPP over WLAN running in Ubuntu.
Network Manager lacks the option to choose a connection, but instead always tries to connect through ethernet. This works fine when you are actually plugged to a wall, but sometimes you connect to a LAN over WLAN and then need to establish a PPP connection to the internet.