Category: Uncategorized
Eclipse CDT too many semantic errors
If you have too many “semantic error” in eclipse CDT, such like this You can switch it off in project properties but unblock “Syntax and Semantic Errors”
When ESXi expire, you will see this dialog
When ESXi expire, you will see this dialog, so you know what features need money
Open vswitch overview
Start ovs monitor, look at the tabs’ name, you probably know how many function that OVS offer, this give me a big picture of integrate ova into openstack.
How geek work
This is how geek work. http://www.inside.com.tw/2013/05/13/the-secret-of-a-geek-s-productivity
my vlc command to stream video to pc/iOS/android
Stream to a mp4 Stream to a FLV Stream to a HLS
Samsung galaxy s4, charging the battery, using samsung USB cable is much faster
Samsung galaxy s4, charging the battery, using samsung USB cable is much faster than third-party usb cable, here is my test 1) samsung power adapter + samsung usb cable, charge from 10% to 30% takes 20 minutes 2) samsung power adapter + third-party 3M-long usb cable, charge from 10% to 30% takes 1 hour and 15 […]
A very professional ppt that talk about system performance tuning
A very professional ppt that talk about system performance tuning download : scalelinuxperformance-130224171331-phpapp01
GDB will remove all breakpoint and set it back repeatly
When you set the breakpoint by input the “b” command, the gdb will not set it immediately, it will wait until the user pressed “c” to cont execute the program. After you pressed “c”, gdb will set all the breakpoints for you. The most funny thing is : when gdb hit a breakpoint and gain […]
How to use QMP, send command remotely to qemu
To use qmp and send command to qemu from another process, start qemu by This will create a file /tmp/test.gmp for interchange the command. Then you can start another terminal and invoke command.txt: !!! remark, must invoke { “execute”: “qmp_capabilities” } before invoke any qmp command
add 1440×900 resolution to vnc
PSI probe for tomcat can’t generate chart
Add this “CATALINA_OPTS=-Djava.awt.headless=true” to catalina.sh
Fix the PermGen error in tomcat
Fix the PermGen error in tomcat, execute this before startup.sh: export JAVA_OPTS=”-XX:PermSize=2048m”
Ported ubuntu theme to fedora
Ported ubuntu theme to fedora, tested on FC17, unzip themes.tar.bz2 in /usr/share/themes
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 […]
qemu-kvm’s library dependencies
chrome’s library dependencies
chrome’s library dependencies
chrome’s library dependencies
The way i compile elfutils
autoheader aclocal -I m4 autoconf automake -a -c ./configure make
my .vimrc
get out of the keying trouble when you start chrome in fedora 17
just add “–password-store=basic” in the option you start chrome.
Filter out special character in json
$str=”`!@#$%^&*()_+[]\{}|;’:\”,./?”; $str=str_replace(“\\”,”\\\\”, $str); $str=str_replace(“\””,”\\\””, $str);