xiaoker

人生不得行胸臆,纵年百岁尤为夭。

回家

Publish: January 24, 2008 Category: 我听音乐 Author: 啸傲子 3 Comments

“如果说漂泊离乡是人生的常态,那么回家自然就成了永恒的旋律。”

在外流浪漂泊的你,是否想家呢。家乡的细微的一切,家里妈妈做的菜,爸爸吸烟的样子,家乡的小吃,熟悉的街头,门外的那棵小树,那座不高但是爬过无数次的山,儿时一起玩耍的朋友,还有很多很多常常只在你有乡愁的时候才能突然想起的事物。

快要过年了,越近越想家,那个夜晚,突然想起过年时,妈妈做的油豆腐,记得过年时,我们那都有这么一个习惯,在过年前用豆子去打豆腐,叫做过年豆腐。然后拿回来用油炸过,再在火上烤干。这个时候就可以吃了,记得小时候常常拿这个当零食吃。豆腐要是用水煮一下,放些腊肉。那可真是好吃极了,特别是那豆腐,含在嘴里,轻轻一咬,水就全部出来了,说不出来到感觉。很是怀念。还有湖南师大旁边的米粉。

那一天,听着约翰.丹佛的《Take Me Home Country Road》一直重复,重复着。让浓浓的乡村味道和乡愁沉浸在心底,而我的思绪则飞到了家乡。

记得高中的时候通宵回来,哼着王杰的《回家》,“我走在清晨6点,无人的街,带着一身疲倦。”“微凉的风吹着我凌乱的头发。”没有乡愁,但是却感觉到些许的沧桑。似乎我的心灵一直就在漂泊和流浪,一直是在路上的感觉。

王宝强,在《士兵突击》演许三多的那个,唱着《有钱没钱回家过年》

今年我不回家,不回家过年是什么滋味,还没有尝试过。也不知道9天怎么过,也许正好在北京到处看看吧,只是不知道景点是否开门。MP3里面可以装着回家的歌曲。

回家:http://www.1ting.com/Node/home/

靠,终于遇到扒手了

Publish: January 21, 2008 Category: 心情牢骚 Author: 啸傲子 1 Comment

快要过年了,贼也多了,今天手机差点就被偷了。在大望路下车的时候,手往袋子一插,靠,突然碰到一只手,我呸,是贼手。转身一看,那贼贴着我身下车的,我问:“你干什么呀。”他慌张了,装作下错了车。我靠,这家伙和我一起在四惠上车的,趁上车的时候他一下就挤来了,肯定是想趁人多作案,下次一定要小心了。我以为北京还是在地铁里面,应该比较安全的,没有想到。

 正好防盗软件被我删了,要是被偷了就完了,赶紧装上去,有总比没有好。

终于遇到贼了,也好..........

哎,贼根本就看不出来是贼,那贼长得面挺善的,我呸。

筒子们啊,小心啊。

你真的需要减肥吗?

Publish: January 18, 2008 Category: 心情牢骚 Author: 啸傲子 1 Comment

最近好像瘦身减肥是潮流,什么减肥方法都有,药物减肥,运动减肥,减肥食谱,我看得都头晕。最近我还发现一个网站,有人在网上分享瘦身减肥方法,以日记和其他的方式。

这个网站叫做:瘦身,减肥日记。地址是:

但是我不禁在想,这么多人都减肥,呵呵。那么是不是真的我们都需要减肥呢?

瘦身减肥日记网却提出了这么一个疑问:“你真的需要减肥吗?”

见原文:http://www.shoushenjianfei.com.cn/jianfeifangfa/20080118/jianfeifangfa12006600139.html

其实有些人真的不胖,不用不择手段的减肥,不吃饭,吃药什么的。没有用~。减肥在于运动,这才是健康的。健康比什么都重要。

事实也是这样,大学的时候,经常运动,毕业工作了,整天做在电脑面前和办公室里面,吃完就做着。自然就胖了。哎呀,要经常去运动运动了。哪怕是随便走走。

快要过年了,顺便说过笑话给大家乐乐。

有人天天想着减肥,一天,去见朋友。然后他朋友见到他说:“哎呀,兄弟,你瘦了!”他高兴的说,“是吗?”他朋友说“是的,头发瘦了”。

QQ2009版,QQ2009下载,qq2009 preview破解,不用邀请

Publish: January 11, 2008 Category: 网络相关 Author: 啸傲子 10 Comments

版出来有一段时间了,腾讯这次动作很大,TM2008预览4和一起发布。但是在腾讯软件首页找不到链接。

QQ2009和QQ2007版有了很大的区别,速度快了,软件构架肯定换了,大概是传说中的蜂鸟序列。

是需要邀请才能体验使用的。但是只要简单破解一下就能使用。因为TM2008和QQ2009没有多大的区别。那么我们可以用TM2008的文件来替换到QQ2009。

打开TM2008安装目录,找到BIN 目录下的VI.DAT和TM.EXE, 复制到QQ2009安装目录的BIN目录下,再用TM.EXE登录即可,不过登录窗口不同,你也可以直接把TM.EX 命名成QQ.EXE。

 你也可以直接使用我替换过的文件,我已经打包了。

地址是:

http://www.mediafire.com/?91w09mye10m

当然,你也可以自己下载TM2008和QQ2009,自己来替换。

他们的官方下载地址分别是:

QQ2009:http://dl_dir.qq.com/qqfile/tm/qq2009preview_chs.exe

TM2008:http://dl_dir.qq.com/qqfile/tm/tm2008preview4_chs.exe

见图:

QQ2009下载安装

QQ2009下载

Linux Commands Line - v1.0

Publish: January 6, 2008 Category: 网络相关 Author: 啸傲子 No Comments

记录一些
http://www.linuxguide.it/linux_commands_line_en.htm





























































































































































































































































































COMMAND DESCRIPTION
uname -r
show hardware system components - (SMBIOS / DMI)
hdaparm -i /dev/hda displays the characteristics of a hard-disk
hdparm -tT /dev/sda perform test reading on a hard-disk
cat /proc/cpuinfo show information CPU info
cat /proc/interrupts show interrupts
cat /proc/meminfo verify memory use
cat /proc/swaps show file(s) swap
cat /proc/version show version of the kernel
cat /proc/net/dev show network adpters and statistics
cat /proc/mounts show mounted file system(s)
lspci -tv display PCI devices
lsusb -tv show USB devices
date show system date
cal 2007 show the timetable of 2007
date 041217002007.00  set date and time - MonthDayhoursMinutesYear.Secondi
clock -w
save changes on BIOS
linux commands line v1.0 - LinuxGuide.it
Shutdown, Restart of a system and Logout
shutdown -h now shutdown system
init 0
shutdown -r hours:minutes & planned shutdown of the system
shutdown -c cancel a planned shutdown of the system
shutdown -r now reboot
reboot
logout leaving session
linux commands line v1.0 - LinuxGuide.it
Files and Directory
cd /home enter to directory '/ home'
cd .. go back one level
cd ../.. go back two levels
cd go to home directory
cd ~utente go to home directory
cd - go to previous directory
pwd show the path of work directory
ls view files of directory
ls -F view files of directory
ls -l show details of files and directory
ls -a show hidden files
ls *[0-9]* show files and directory containing numbers
lstree show files and directories in a tree starting from root
mkdir dir1 create a directory called 'dir1'
mkdir dir1 dir2 create two directories simultaneously
mkdir -p /tmp/dir1/dir2 create a directory tree
rm -f file1 delete file called 'file1'
rmdir dir1 delete directory called 'dir1'
rm -rf dir1 remove a directory called 'dir1' and contents recursively
rm -rf dir1 dir2 remove two directories and their contents recursively
mv dir1 new_dir rename / move a file or directory
cp file1 file2 copying a file
cp dir/* . copy all files of a directory within the current work directory
cp -a /tmp/dir1 . copy a directory within the current work directory
cp -a dir1 dir2 copy a directory
ln -s file1 lnk1  create a symbolic link to file or directory
ln file1 lnk1 create a physical link to file or directory
touch -t 0712250000 fileditest modify timestamp of a file or directory - (YYMMDDhhmm)
linux commands line v1.0 - LinuxGuide.it
File search
find / -name file1 search file and directory into root filesystem from '/'
find / -user user1 search files and directories belonging to 'user1'
find /home/user1 -name *.bin search files with '. bin' extension within directory '/ home/user1' 
find /usr/bin -type f -atime +100 search bynary files are not used in the last 100 days
find /usr/bin -type f -mtime -10 search files created or changed within 10 days
find / -name *.rpm -exec chmod 755 {} ; search files with '.rpm' extension and modify permits
find / -name *.rpm -xdev search files with  '.rpm' extension ignoring removable partitions as cdrom, pen-drive, etc.…
locate *.ps find files with the '.ps' extension - first run 'updatedb' command
whereis halt show location of a binary file, source or man
which halt show full path to a binary / executable
linux commands line v1.0 - LinuxGuide.it
Mounting a Filesystem
mount /dev/hda2 /mnt/hda2 mount disk called hda2 - verify existence of the directory '/ mnt/hda2'
umount /dev/hda2 unmount disk called hda2 - exit from mount point '/ mnt/hda2' first
fuser -km /mnt/hda2 force umount when the device is busy
umount -n /mnt/hda2 run umount without writing the file /etc/mtab - useful when the file is read-only or the hard disk is full
mount /dev/fd0 /mnt/floppy mount a floppy disk
mount /dev/cdrom /mnt/cdrom mount a cdrom / dvdrom
mount /dev/hdc /mnt/cdrecorder mount a cdrw / dvdrom
mount /dev/hdb /mnt/cdrecorder mount a cdrw / dvdrom
mount -o loop file.iso /mnt/cdrom mount a file or iso image
mount -t vfat /dev/hda5 /mnt/hda5 mount a Windows FAT32 file system
mount /dev/sda1 /mnt/usbdisk mount a usb pen-drive or flash-drive
mount -t smbfs -o username=user,password=pass //winclient/share /mnt/share mount a windows network share
linux commands line v1.0 - LinuxGuide.it
Disk Space
df -h show list of partitions mounted
ls -lSr |more show size of the files and directories ordered by size
du -sh dir1 estimate space used by directory 'dir1'
du -sh * | sort -rn  show size of the files and directories sorted by size
rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n show space used by rpm packages installed sorted by size (fedora, redhat and like)
dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n show space used by deb packages installed sorted by size (ubuntu, debian and like)
linux commands line v1.0 - LinuxGuide.it
Users and Groups
groupadd group_name create a new group
groupdel group_name delete a group
groupmod -n new_group_name old_group_name rename a group
useradd -c "Nome Cognome" -g admin -d /home/user1 -s /bin/bash user1 create a new user belongs "admin" group
useradd user1 create a new user
userdel -r user1 delete a user ( '-r' eliminates home directory)
usermod -c "User FTP" -g system -d /ftp/user1 -s /bin/nologin user1 change user attributes
passwd change password
passwd user1 change a user password (only by root)
chage -E 2005-12-31 user1 set deadline for user password
pwck check correct syntax and file format of '/etc/passwd'  and users existence
grpck check correct syntax and file format of '/etc/group'  and groups existence
newgrp group_name log in to a new group to change default group of newly created files
alias hh='history' set an alias for a command - hh = history
linux commands line v1.0 - LinuxGuide.it
Permits on File - use "+" to set permissions and "-" to remove
ls -lh show permits
ls /tmp | pr -T5 -W$COLUMNS divide terminal into 5 columns
chmod ugo+rwx directory1 set permissions reading (r), write (w) and (x) access to users owner (u) group (g) and others (o)
chmod go-rwx directory1 remove permits reading (r), write (w) and (x) access to users group (g) and others (or
chown user1 file1 change owner of a file
chown user1 -R directory1 change user owner of a directory and all the files and directories contained inside
chgrp gruppo1 file1 change group of files
chown user1:gruppo1 file1 change user and group ownership of a file
find / -perm -u+s view all files on the system with SUID configured
chmod u+s /bin/file_eseguibile set SUID bit on a binary file - the user that running that file gets same privileges as owner
chmod u-s /bin/file_binario disable SUID bit on a binary file
chmod g+s /home/public set SGID bit on a directory - similar to SUID but for directory
chmod g-s /home/public disable SGID bit on a directory
chmod o+t /home/comune set STIKY bit on a directory - allows files deletion only to legitimate owners
chmod o-t /home/comune disable STIKY bit on a directory
linux commands line v1.0 - LinuxGuide.it
Special Attributes on file - use "+" to set permissions and "-" to remove
chattr +a file1 allows write opening of a file only append mode
chattr +c file1 allows that a file is compressed / decompressed automatically by the kernel
chattr +d file1 makes sure that the program ignores Dump the files during backup
chattr +i file1 makes it an immutable file, which can not be removed, altered, renamed or linked
chattr +s file1 allows a file to be deleted safely
chattr +S  file1 makes sure that if a file is modified changes are written in synchronous mode as with sync
chattr +u file1 allows you to recover the contents of a file even if it is canceled
lsattr show specials attributes
linux commands line v1.0 - LinuxGuide.it
Archives and compressed files
bunzip2 file1.bz2 decompress a file called 'file1.bz2'
bzip2 file1 compress a file called 'file1'
gunzip file1.gz decompress a file called 'file1.gz'
gzip file1 compress a file called 'file1'
gzip -9 file1 compress with maximum compression
rar a file1.rar test_file create an archive rar called 'file1.rar'
rar a file1.rar file1 file2 dir1 compress 'file1', 'file2' and 'dir1' simultaneously
rar x file1.rar decompress rar archive
unrar x file1.rar decompress rar archive
tar -cvf archive.tar file1 create a uncompressed tarball
tar -cvf archive.tar file1 file2 dir1 create an archive containing 'file1', 'file2' and 'dir1'
tar -tf archive.tar show contents of an archive
tar -xvf archive.tar extract a tarball
tar -xvf archive.tar -C /tmp extract a tarball into / tmp
tar -cvfj archive.tar.bz2 dir1 create a tarball compressed into bzip2
tar -xvfj archive.tar.bz2 decompress a compressed tar archive in bzip2
tar -cvfz archive.tar.gz dir1 create a tarball compressed into gzip
tar -xvfz archive.tar.gz decompress a compressed tar archive in gzip
zip file1.zip file1 create an archive compressed in zip
zip -r file1.zip file1 file2 dir1 compress in zip several files and directories simultaneously
unzip file1.zip decompress a zip archive
linux commands line v1.0 - LinuxGuide.it
RPM Packages - Fedora, Red Hat and like
rpm -ivh package.rpm install a rpm package
rpm -ivh --nodeeps package.rpm install a rpm package ignoring dependencies requests
rpm -U package.rpm upgrade a rpm package without changing configuration files
rpm -F package.rpm upgrade a rpm package only if it is already installed
rpm -e package_name.rpm remove a rpm package
rpm -qa show all rpm packages installed on the system
rpm -qa | grep httpd show all rpm packages with the name "httpd"
rpm -qi package_name obtain information on a specific package installed
rpm -qg "System Environment/Daemons" show rpm packages of a group software
rpm -ql package_name show list of files provided by a rpm package installed
rpm -qc package_name show list of configuration files provided by a rpm package installed
rpm -q package_name --whatrequires show list of dependencies required for a rpm packet
rpm -q package_name --whatprovides show capability provided by a rpm package
rpm -q package_name --scripts show scripts started during installation / removal
rpm -q package_name --changelog show history of revisions of a rpm package
rpm -qf /etc/httpd/conf/httpd.conf verify which rpm package belongs to a given file
rpm -qp package.rpm  -l show list of files provided by a rpm package not yet installed
rpm --import /media/cdrom/RPM-GPG-KEY import public-key digital signature
rpm --checksig package.rpm verify the integrity of a rpm package
rpm -qa gpg-pubkey verify integrity of all rpm packages installed
rpm -V package_name check file size, permissions, type, owner, group, MD5 checksum and last modification
rpm -Va check all rpm packages installed on the system - use with caution
rpm -Vp package.rpm verify a rpm package not yet installed
rpm2cpio package.rpm | cpio --extract --make-directories  *bin* extract executable file from a rpm package
rpm -ivh /usr/src/redhat/RPMS/`arch`/package.rpm install a package built from a rpm source
rpmbuild --rebuild package_name.src.rpm build a rpm package from a rpm source
linux commands line v1.0 - LinuxGuide.it
YUM packages updater - Fedora, RedHat and like
yum install package_name download and install a rpm package
yum update update all rpm packages installed on the system
yum update package_name upgrade a rpm package
yum remove package_name remove a rpm package
yum list list all packages installed on the system
yum search package_name find a package on rpm repository
yum clean packages clean up rpm cache erasing downloaded packages
yum clean headers remove all files headers that the system uses to resolve dependency
yum clean all remove from the cache packages and headers files
linux commands line v1.0 - LinuxGuide.it
DEB packages - Debian, Ubuntu and like
dpkg -i package.deb install / upgrade a deb package
dpkg -r package_name remove a deb package from the system
dpkg -l show all deb packages installed on the system
dpkg -l | grep httpd show all rpm packages with the name "httpd"
dpkg -s package_name obtain information on a specific package installed on system
dpkg -L package_name show list of files provided by a package installed on system
dpkg --contents package.deb show list of files provided by a package not yet installed
dpkg -S /bin/ping verify which package belongs to a given file
linux commands line v1.0 - LinuxGuide.it
APT packages updater - Debian, Ubuntu e like
apt-get install package_name install / upgrade a deb package
apt-cdrom install package_name install / upgrade a deb package from cdrom
apt-get update update all deb packages installed on system
apt-get remove package_name remove a deb package from system
apt-get check verify correct resolution of dependencies
apt-get clean clean up cache from packages downloaded
linux commands line v1.0 - LinuxGuide.it
View file content
cat file1 view the contents of a file starting from the first row
tac file1 view the contents of a file starting from the last line
more file1 view content of a file along
less file1 similar to 'more' command but which allows backward movement in the file as well as forward movement
head -2 file1 view first two lines of a file
tail -2 file1 view last two lines of a file
tail -f /var/log/messages view in real time what is added to a file
linux commands line v1.0 - LinuxGuide.it
Text Manipulation
cat file_test | [operation: sed, grep, awk, grep, etc] > result.txt syntax to elaborate the text of a file, and write result to a new file
cat file_originale | [operazione: sed, grep, awk, grep, etc] >> result.txt syntax to elaborate the text of a file and append result in existing file
grep Aug /var/log/messages look up words "Aug" on file '/var/log/messages'
grep ^Aug /var/log/messages look up words that begin with "Aug" on file '/var/log/messages'
grep [0-9] /var/log/messages select from file '/var/log/messages' all lines that contain numbers
grep Aug -R /var/log/* search string "Aug" at directory '/var/log' and below
grep Aug /var/log/messages write result of a search within a file
sed 's/stringa1/stringa2/g' example.txt replace "string1" with "string2" in example.txt
sed '/^$/d' example.txt remove all blank lines from example.txt
sed '/ *#/d; /^ *$/d' example.txt remove comments and blank lines from example.txt
echo 'esempio' | tr '[:lower:]' '[:upper:]' convert from lower case in upper case
sed -e '1d' result.txt eliminates the first line from file example.txt
sed -n '/stringa1/p' view only lines that contain the word "string1"
sed -e 's/ *$//' example.txt remove empty characters at the end of each row
sed -e 's/stringa1//g' example.txt remove only the word "string1" from text and leave intact all
sed -n '1,5p;5q' example.txt view from 1th to 5th row
sed -n '5p;5q' example.txt view row number 5
sed -e 's/00*/0/g' example.txt replace more zeros with a single zero
cat -n file1 number row of a file
cat example.txt | awk 'NR%2==1' remove all even lines from example.txt
echo a b c | awk '{print $1}' view the first column of a line
echo a b c | awk '{print $1,$3}' view the first and third column of a line
paste file1 file2 merging contents of two files for columns
paste  -d  '+' file1 file2 merging contents of two files for columns with '+' delimiter on the center
sort file1 file2 sort contents of two files
sort file1 file2 | uniq sort contents of two files omitting lines repeated
sort file1 file2 | uniq -u sort contents of two files by viewing only unique line
sort file1 file2 | uniq -d sort contents of two files by viewing only duplicate line
comm -1 file1 file2 compare contents of two files by deleting only unique lines from 'file1'
comm -2 file1 file2 compare contents of two files by deleting only unique lines from 'file2'
comm -3 file1 file2 compare contents of two files by deleting only the lines that appear on both files
linux commands line v1.0 - LinuxGuide.it
Character set and Format file conversion
dos2unix filedos.txt fileunix.txt convert a text file format from MSDOS to UNIX
unix2dos fileunix.txt filedos.txt convert a text file format from UNIX to MSDOS
recode ..HTML < page.txt > page.html convert a text file to html
recode -l | more show all available formats conversion
linux commands line v1.0 - LinuxGuide.it
Filesystem Analysis
badblocks  -v  /dev/hda1 check bad blocks in disk hda1
fsck  /dev/hda1 repair / check integrity of linux filesystem on disk hda1
fsck.ext2  /dev/hda1 repair / check integrity of ext2 filesystem on disk hda1
e2fsck  /dev/hda1 repair / check integrity of ext2 filesystem on disk hda1
e2fsck -j /dev/hda1 repair / check integrity of ext3 filesystem on disk hda1
fsck.ext3  /dev/hda1 repair / check integrity of ext3 filesystem on disk hda1
fsck.vfat  /dev/hda1 repair / check integrity of fat filesystem on disk hda1
fsck.msdos  /dev/hda1 repair / check integrity of dos filesystem on disk hda1
dosfsck  /dev/hda1 repair / check integrity of dos filesystems on disk hda1
linux commands line v1.0 - LinuxGuide.it
Format a Filesystem
mkfs /dev/hda1 create a filesystem type linux on hda1 partition
mke2fs /dev/hda1 create a filesystem type linux ext2 on hda1 partition

啸傲子 2008 beta 版

Publish: January 2, 2008 Category: 心情牢骚 Author: 啸傲子 No Comments

大家新年好。

你们好吧,我不好,我心情不好~。

07年年初,在想着要好好珍惜一下大学生活,可再怎么不舍,也告别了学生时代。

07年的最后一天,sluke和朱尔摩斯和我,9点多,出去吃饭,没有想到现代城旁边的店子都关门过节了,三人迎着寒风,不仅长叹,“哪里有饭吃”。

后来终于找到一家营业的,喝了点酒,和2007年say bye,这一顿就吃到2008年,快凌晨一点才出来,幸好还有的士,不用睡公司。

2008年了,做点什么了。改变一下了。
2008 beta 版的特点是

尽量去实现自己的想法。不要想考虑太多。

王小波在《黄金时代》里借他母亲之口说:“活着就是证道。”

是的!

用行动去证”道“!道就我的人生观和价值观!

智慧,真理,乐趣,自由和爱