Author Archives: Taro

NX Client on Debian Wheezy

My preferred NX client is NoMachine. Simply download the AMD64 version of deb package and do: On KDE, the short cuts will be under Applications -> Internet. The installation is under /usr/NX.

Posted in Uncategorized | Tagged , , , | Leave a comment

Enabling ThinkPad TrackPoint Scrolling on Debian

One of the major reason for using ThinkPad is that red TrackPoint thing, which allows the control of cursor without leaving the keyboard. However, when I install Linux on a new ThinkPad, scrolling often does not work out of the … Continue reading

Posted in Uncategorized | Tagged , , , | 6 Comments

Installing Dropbox on Debian Wheezy

Go to the Dropbox download website and download the .deb package, here dropbox_1.4.0_amd64.deb. Then The program will be listed under the menu Applications -> Internet. On the first launch it will download the daemon and I will need to go … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Browsing command history on Bash

This is useful for finding a command that was executed a while ago but still in the history: where search_term is the term to search for within my history, and history_number is the number which identifies that command in the … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Some control+key commands on Linux shell

There are a couple I keep forgetting to remember: ctrl-s freezes the screen and stops any display on the screen from continuing (equivalent to a no-scroll key) (sometimes takes a moment to work) ctrl-q un-freezes the screen and lets screen … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Running Tornado on dotCloud

To brush up my web development skills, I decided to try Tornado. I also wanted to find a hosting service of some sort for my projects, which must be cheap and developer friendly. There, dotCloud seemed very nice and I … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Searching for Nearest-Neighbors between Two Coordinate Catalogs

Say I have two catalogs of points, each in two-dimensional space. For each object in a catalog, I want to find the nearest object(s) in the other catalog. I can do this by computing the distances between every single unique … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Installing Ubuntu (12.04 LTS 64-bit) from an ISO Image on Hard Drive

Sometimes it’s useful to be able to install Linux off an ISO image on hard drive for whatever reason. My Dell XPS 630i has had some issues when I was installing Debian off an install CD/USB, likely related to how … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Repeating Failed Linux Command on Bash

I was in need of backing up a lot of data in a hurry.  I used rsync between the file server and a locally mounted USB drive, but for some reason the command kept failing.  It had something to do … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

Using Linux Shell Command within Python

If you just want to do some simple task, this would do:

Posted in Uncategorized | Tagged , , , | Leave a comment