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:~$

Monday, April 30, 2012

基層主管的技術能力

如果基層主管的技術能力不足,專長在於計劃管理的話,很容易就會被工程師牽著走。

在 Ubuntu 的命令列燒 CD

在這裡看來的
https://help.ubuntu.com/community/CdDvd/Burning

# Create ISO image
genisoimage -r -J -o /tmp/cd_image.iso MP3_DIRECTORY/
# List devices
wodim --devices
# Blank the CD-RW first @ 4x speed
wodim -vv dev=/dev/scd0 blank=fast speed=4
# Burn the image
wodim dev=/dev/scd0 -v -data /tmp/cd_image.iso speed=4

Sunday, April 29, 2012