Looks like C++11 contains many small changes.
Monday, May 14, 2012
Monday, May 07, 2012
教徒弟
除非是遇到了很出類拔萃的徒弟 (根骨清奇,百年難得一見的練武奇才?),否則用教的方式,把知識、經驗傳給徒弟,只會是越教越少。
反過來思考,別人教的我們自己要用心學,更要舉一反三,橫向思考,才能擺脫一代不如一代的魔咒。
Thursday, May 03, 2012
Set trackpoint speed and sensitivity automatically in Ubuntu 12.04 live CD
The following shows how.
ubuntu@ubuntu:~$ cat tpctrl.sh
echo -n 120 > /sys/devices/platform/i8042/serio1/speed
echo -n 250 > /sys/devices/platform/i8042/serio1/sensitivity
ubuntu@ubuntu:~$ tail .profile
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
sudo sh ~/tpctrl.sh
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ cat tpctrl.sh
echo -n 120 > /sys/devices/platform/i8042/serio1/speed
echo -n 250 > /sys/devices/platform/i8042/serio1/sensitivity
ubuntu@ubuntu:~$ tail .profile
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
sudo sh ~/tpctrl.sh
ubuntu@ubuntu:~$
Tuesday, May 01, 2012
Subscribe to:
Posts (Atom)