[UP] sync acer
[arrow.git] / conf_slk120 / rest / .arrowwrite
blob826cbc803ffa6301cbc38e076132d07f644efe17
1 # 将GBK的编码的输出转换为UTF8
2 alias g2u='iconv -fcp936 -tutf8'
3 # 将UTF8的编码的输出转换为GBK
4 alias u2g='iconv -futf8 -tcp936'
6 #did you want replace some file you want
7 find . -iname "[ab]" -exec  sed -i "s/arrow/arrowzhang/;" {} \;
9 #write some commands here
10 chkconfig  #under old linux config service
11 sysv-rc-conf #under ubuntu config services
13 #how to create a iso file
14 dd if=/dev/cdrom of=/cdrom_image.iso
16 # who Gtk-WARNING .. Icon cache '..." is invalid
17 cd /usr/share/icons/hicolor
18 gtk-update-icon-cache --ignore-theme-index -f .
19 "gtk-update-icon-cache ."
21 # dpi
22 (width(millimeter)/1024(1280)) * 25.4