Archive for the ‘Software’ Category.
November 16, 2011, 7:26 pm
The Ubuntu CD contents look like these:
There is an executable named “wubi.exe”, which allows you installing Ubuntu alongside with an existing Windows system (dual-boot). However, many people experienced “no response” problem after double clicking the wubi.exe. Some say this is because some of your drives contains non-English labels. However, this is not always the case. On my Windows I have all drives with English names, but I couldn’t get wubi.exe run.
Continue reading ‘Ubuntu wubi.exe installation’ »
November 10, 2011, 2:41 am
The key steps
1. Create a folder named “~/python-packages”, then create a path “~/python-packages/lib/python2.6/site-packages/” with
1
| mkdir -p python-packages/lib/python2.6/site-packages/ |
The above path containing the version number of Python should be adjust accordingly base on the actual Python version you are using.
This step sets up a directory structure that is needed by python modules.
Continue reading ‘Install Python modules as non-root user on HPC cluster’ »
November 8, 2011, 12:19 pm
To create more than one window in a gnuplot script could be necessary if you have many data series to plot. The following code snippet shows how:
1 2 3 4 5 6 7 8
| set term wxt 0
set grid xtics ytics
plot 'prop_stat.txt' u 1:2 ti "rg" w l , \
'prop_stat.txt' u 1:3 ti "rg^2" w l , \
'prop_stat.txt' u 1:4 ti "e2e^2 " w l
set term wxt 1
set grid xtics ytics
plot 'prop_stat.txt' u 1:5 ti "/" w l |
The essential point here is to use twice(or more times) “set term” commands with different window ID.
Continue reading ‘Multiple windows with gnuplot’ »
October 11, 2011, 6:52 pm
Unreal Commander is one of the best file manager software which is free of charge. When you want to synchronize two directories with considering only the specified file types, you will need to define filter string. “*.*” means to compare all files; “*.txt” means to compare also the text file. However, how can you compare any file except for “*.exe”?
Easy! Just add a “|” before the file types you want to exclude as show in the following picture.
Continue reading ‘Excluding syntax for folder synchronization in Unreal Commander’ »
November 23, 2010, 3:25 pm
OK, even after reading the handbook a few times, it is not very clear which python file is the initial script for Qtiplot. It is important to know if you want to extend Qtiplot with python. After checking all the default python files in the Qtiplot installation path, I found qtiplotrc.py should be the one, although a smarter guy would have realized this from its name. You could import your own Python module in this startup file and enjoy them right after entering Qtiplot.
September 9, 2010, 10:50 pm
Zotero, the must-have reference manager for scientists, supports various bibliography styles. This is benefited from the CSL (citation style language), which is an open XML standard for citations and bibliographies. Since Zotero is implemented as a Firefox addon, it naturally supports search and grab references from the internet, which is very convenient and better than some other stand-alone reference managers.
Continue reading ‘A Zotero style for ACS references with titles’ »
August 11, 2010, 2:16 pm
I didn’t know this before I saw this post. The shortcut is ‘Alt+=’. That’s simple!
August 10, 2010, 1:07 pm
There is a ‘-C’ option allow you to do this. However, it can fail in some situation. There are also some posts online that report this option does not work. If you have that problem, maybe you could try the solution here.
Continue reading ‘Uncompress tar to specific directory + Other tar/untar tricks’ »
May 26, 2010, 6:38 pm
Not all websites have links to “printable version” like wikipedia. Although many websites have stunning look, it is really ugly when you try to print them. Some parts of the pages will be missing or the format is totally a mess. Instead of waiting the website owner realize this and prepare printer friendly pages for you, you can try to use the “web developer” firefox plugin to solve this problem. Just install the plugin, then on the web page you would like to print, right click your mouse and find the menus shown in the following picture, choose display CSS only for printer. The web page will become fluid and ready to be printed. Continue reading ‘Print view for any web page with firefox web developer plugin’ »
May 26, 2010, 2:52 pm
I’m using Pidgin v2.7 and Windows XP. I’ve tried most of the methods flying on the internet about changing themes for Pidgin, but none of them works. These include using the gtkthemeselector.exe. I noticed the latest Pidgin using a “%APPDATA%\.purple\gtkrc-2.0″ to control the look and feel once the “GTK+ theme control” plugin is enabled. The contents of this file look very similar to the contents of the theme files under “c:\program files\common files\gtk\2.0\share\themes\***\gtk-2.0\gtkrc”. I tried to copy the contents of gtkrc file of the “Clearlooks-DarkLime” theme and pasted them to the “%APPDATA%\.purple\gtkrc-2.0″. After restarting Pidgin, I saw this 
Continue reading ‘Change Pidgin theme on Windows’ »