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’ »
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’ »
April 6, 2010, 5:43 pm
1. Change the default keyboard shortcuts to ctrl+c and ctrl+v. They are more common shortcuts on most OS.
2. Highlighting texts and Middle mouse button clicking will do copy/paste. These are similar to the operation in PuTTY where right mouse button click is used.
February 10, 2010, 1:24 pm
October 27, 2009, 3:33 pm

Pizza.py is a post-processing tool package for lammps – a MD package. I downloaded it and unpacked in a local directory. Each time I have to start it with a command like “python -f abs_path/pizza.py” where the abs_path is the absolute path to pizza.py source directory. However this directory is very long on my computer and it’s not a directory recognized by python. I found a convenient way to make the call easier. Just add the abs_path to a system environment variable named “PYTHONPATH” (if you have no such env variable, create it), then to use pizza.py we can start python as usual by typing “python” and then type in “import pizza” (no .py suffix!), then we have all the module defined in pizza at the interactive command line no matter what is your current working directory. PYTHONPATH will be add to the search path for modules if it’s not empty. I also add the abs_path to the PATH system environment variable, which makes I could type “pizza.py -f ***.py” directly in any working directory. Continue reading ‘Python and pizza.py’ »