The easiest way to open "stata-se" instead of "stata" in Emacs+ESS is making a symbolic link:
$ cd /usr/local/bin
$ sudo ln -s /usr/local/stata10/stata-se stata
"Meta+x stata" should open stata-se.
Thursday, April 23, 2009
Tuesday, April 14, 2009
rename in linux
Rename all .TXT extension to .txt.
$ rename 's/\.TXT$/\.txt/' *.TXT
Rename all uppercase file names to lowercase file names
$ rename 'y/A-Z/a-z/' *
$ rename 's/\.TXT$/\.txt/' *.TXT
Rename all uppercase file names to lowercase file names
$ rename 'y/A-Z/a-z/' *
Wednesday, April 1, 2009
Wine: Beautiful Korean fonts
Non-unicode Korean fonts under the linux wine environment may look ugly.
To fix it, copy a font you like under "/usr/share/fonts/truetype/unfonts" to "/home/username/.wine/drive_c/windows/Fonts". That will change the ugly default font to a beautiful un-type font. I personally prefer UnDotum.
To fix it, copy a font you like under "/usr/share/fonts/truetype/unfonts" to "/home/username/.wine/drive_c/windows/Fonts". That will change the ugly default font to a beautiful un-type font. I personally prefer UnDotum.
Subscribe to:
Posts (Atom)