Category: Uncategorized

PSI probe for tomcat can’t generate chart

Add this “CATALINA_OPTS=-Djava.awt.headless=true” to catalina.sh


2013/01/31 0

Fix the PermGen error in tomcat

Fix the PermGen error in tomcat, execute this before startup.sh: export JAVA_OPTS=”-XX:PermSize=2048m”


2013/01/15 0

Ported ubuntu theme to fedora

Ported ubuntu theme to fedora, tested on FC17, unzip themes.tar.bz2 in /usr/share/themes


2013/01/04 0

How to change Fedora’s font rendering to get an Ubuntu-like result

Font rendering is a matter of taste. However, I personally think Ubuntu’s default font rendering is the most eye-pleasing one of the whole Linux eco-system. And if a website’s CSS font stack is looking good on Ubuntu, you can be relatively sure that it also works for Mac or MS Windows as long as the used fonts are available on these…
Read more


2012/12/13 4

qemu-kvm’s library dependencies

chrome’s library dependencies


2012/12/11 0

chrome’s library dependencies

chrome’s library dependencies


2012/12/11 0

The way i compile elfutils

autoheader aclocal -I m4 autoconf automake -a -c ./configure make


2012/12/10 0

my .vimrc


2012/12/10 0

get out of the keying trouble when you start chrome in fedora 17

just add “–password-store=basic” in the option you start chrome.


2012/12/09 0

Filter out special character in json

$str=”`!@#$%^&*()_+[]\{}|;’:\”,./?”; $str=str_replace(“\\”,”\\\\”, $str); $str=str_replace(“\””,”\\\””, $str);


2012/11/29 0