Tags
admin astro ATLAS Bash computing Debian Debian/Lenny Debian/Squeeze Debian/Wheezy DotCloud Dropbox DS9 Emacs Epson Perfection V30 Evernote FFTW Firefox hardware high performance computing install procedure Japanese JWM kernel LaTeX Linux multimedia network Nevernote OS X OS X/Leopard OS X/Snow Leopard power management programming Python reference research SExtractor shell tips software stellar population synthesis T410s T420 USB web browser XPS 630i-
Recent Posts
Recent Comments
Archives
- October 2012
- September 2012
- July 2012
- June 2012
- May 2012
- January 2012
- December 2011
- May 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
Meta
Monthly Archives: June 2010
Testing if a Point is Inside a Polygon in Python
Finally got around to find this out by Googling. It’s a useful function so I reproduce it here for copy & paste: def inside_polygon(x, y, points): “”" Return True if a coordinate (x, y) is inside a polygon defined by … Continue reading
Installing STSCI_PYTHON on Debian Squeeze
The version I use is 2.10. First, install IRAF, tables, and stsdas following this article. $ sudo aptitude install python-tk python-numpy python-pmw python-urwid $ sudo aptitude install libreadline6-dev python-matplotlib ipython $ wget http://stsdas.stsci.edu/download/stsci_python_2.10/stsci_python_2.10.tar.gz $ tar -xvzf stsci_python_2.10.tar.gz $ cd stsci_python_2.10 … Continue reading
Posted in Debian, Linux, Research, Squeeze
Tagged admin, astro, Debian/Squeeze, install procedure, Linux, research, software
Leave a comment
Installing IRAF on Debian Squeeze
IRAF doesn’t have a standard installation procedure using make tools, so it is no fun to install in any system. One solution is to go for Scisoft, but I don’t necessarily want to install a whole bunch of software that … Continue reading
Installing Evernote for Windows on Debian Squeeze
No Linux version! Lame! First, install Wine as usual. Then download version 3.1 of Evernote for Windows (no, version 3.5 does not install due to its .Net requirement), and run the installer: $ wine Evernote_3.1.0.1225.exe That’s it.
Posted in Debian, Linux, Squeeze
3 Comments
Installing KeePass on Debian Squeeze
$ sudo aptitude install keepassx This is my favorite username & password manager.
Posted in Debian, Linux, Squeeze
Tagged admin, Debian/Squeeze, install procedure, Linux, software
1 Comment
PDF Viewing on Debian Squeeze
I find Okular to be a superb PDF reader. Yes, you can even annotate directly onto PDF documents! $ sudo apt-get install okular poppler-data The last module is necessary to view Japanese PDF documents.
Posted in Debian, Linux, Squeeze
Leave a comment
Installing Skype on Debian Squeeze
To install Skype under /usr/local on Squeeze (AMD64), do: $ sudo apt-get install ia32-libs ia32-libs-gtk … download Skype source (static version) … $ bunzip2 -c skype_static-2.1.0.81.tar.bz2 | tar xvf – $ sudo mv skype_static-2.1.0.81 /usr/local $ cd /usr/local/bin $ sudo … Continue reading
Posted in Debian, Linux, Squeeze
Leave a comment
Installing Kindle for PC on Debian Squeeze
I sometimes want to run Kindle for PC on Wine. Amazon is so lame that they don’t even bother making a native Linux version of this software! Here is the procedure. Move to a temporary directory and do: $ sudo … Continue reading
Posted in Uncategorized
Tagged admin, Debian, Debian/Squeeze, hardware, install procedure, Kindle, Linux, software
35 Comments
High-performance Computing Tips
A nice thing about my current institution is that it has access to high-performance computing (HPC) facility. I get to use so-called supercomputers. This is a cheat sheet for myself. Reserving your job: Show the information about a job with … Continue reading
Posted in HPC, Linux
Leave a comment
Securely Erasing Hard Disk
Like when you need to sell your old computer, sometimes you wish to wipe clean a hard disk drive in a secure manner (i.e., not just removing reference to data). Here, /dev/sdb is the disk to be erased. Takes a … Continue reading