Mail address` encryption Linux System

Mail address` encryption

An idea the encryption for mail address. Maybe it able to anti spam. The code as follows: python -c 'print reduce(lambda a,b: a*256+ord(b), raw_input("string: "), 0)' Then,you can use these code decrypt it: dc -e {$NUM}P Of course, it support any character. E.G. My mail address is: dc -e 133428874732880454920456391997331304301P
阅读全文
Tetex+CJK+CCT for Ubuntu Linux System

Tetex+CJK+CCT for Ubuntu

Follow me: Copy all of fonts to your home folder. cp *.ttf ~/.fonts Come on... sudo apt-get install tetex-base tetex-bin tetex-extra cjk-latex sudo apt-get install dvipdfm dvipdfm-cjk dvipdfmx fontforge (more…)
阅读全文
Use kvm in Linux Linux System

Use kvm in Linux

KVM is the fastest VM in my mind. In the past days, I install linux to my machine. But I often have to use ms office for working, and wine is poor. At last, I have to install a copy of windows in my machine by kvm. My process of installation: sudo apt-get install kvm qemu #install packages adduser *** kvm adduser *** disk #*** is your account (more…)
阅读全文
Emacs' command help Linux System

Emacs’ command help

程序 C-x C-z 挂起程序 C-c C-x 退出程序 C-c k 关闭buffer C-l 重画屏幕 C-g 结束命令,或者假死中恢复,也可以按3次ESC 文件 C-x C-s 保存 C-x C-w 另存为 (more…)
阅读全文
CVS Emacs23 for ubuntu Linux System

CVS Emacs23 for ubuntu

Of course command line. Follow me: sudo apt-get install ssh cvs # cvs client sudo apt-get install texinfo # for man package ********************************************* export CVS_RSH="ssh" cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/cvsroot/emacs co -r emacs-unicode-2 emacs #get source ********************************************* sudo apt-gt install build-essential sudo apt-get build-dep emacs sudo apt-get install xserver-xorg-dev (more…)
阅读全文
Boot ubuntu without GUI Linux System

Boot ubuntu without GUI

Forever, I think that useing command-line is the fastest how to use unix operation system. So I hate the fat gui of ubuntu. My method is simple: sudo apt-get update sudo apt-get install sysv-rc-conf sudo sysv-rc-conf Make sure level 2 & 3 be same. And then drop GDM from level 2. Then if you want login gdm, you should input sudo telinit 3 only! Of course, you should add vga support on your grub. e.g. sudo vi /boot/grub/menu.lst kernel /vmlinuz-2.6.24-19-generic...
阅读全文