用Firefox去一些网站提取torrent种子文件时,
会直接打开页面显示一堆乱码的情况。
解决方法:
安装force content-type 的插件
使该插件其处于激活状态,然后在里面添加如下规则:
http://www.jandown.com/fetch\.php$
.
application/x-bittorren......
Read more
linuxqq以好久不更新了,先鄙视一下
su -
yum localinstall /home/linuxqq-v1.0.2-beta1.i386.rpm --nogpgcheck
然后修改/usr/bin/qq改为下边这样
#!/bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq
出现的错误,和解决方法.就是缺什么安什么啦,哈哈哈,之后就可以用ibus输入法了
[ssj@main linuxqq_v1.0.2-beta1_i386]$ ./qq
./qq: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
yum install libgtk-x11-2.0.so.0
=============......
Read more
Read more
WP-PageNavi 让首页有翻页栏
在主题文件夹中的index.php中插入
<CENTER><?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?></CENTER> <br>
================================================
2. 让首页显示摘要
在index.php中找到the_content();替换成下边的代码
<?php
if(!is_single()) {
the_excerpt();
} else
the_content(__('Read the rest of this entry »', 'auroral'));
}
?>
或安装插件:Limit Posts
激活后
把the_content()换成the_content_limit(”,TRUE......
Read more
Read more
手册的前4章要认真看,否则后边可以会有麻烦
第5章的问题
1. 安装:binutils-pass1如果用6.1里自带的版本安装会有问题
所以建意用2.16.1这个版本
http://ftp.gnu.org/gnu/binutils/binutils-2.16.1.tar.bz2
===========================================
2.安装Tcl时lfs:/mnt/lfs/sources/tcl8.4.9/unix$ ./configure --prefix=/tools出错
checking how to build libraries... shared
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking sys......
Read more
Read more
1, free 查看交换分区大小 total used free shared buffers cachedMem: 2155968 77936 2078032 0 12028 45092-/+ buffers/cache: 20816 2135152Swap: 0 0 02. 建立交换文件(如使用物理分区则不用这步,直接跳到3)建立1G的空文件dd if=/dev/zero of=/home/swap bs=1024 count=1024000设置为交换文件mkswap /home/swap3. 启用交换分区swapon /home/swap或如果为物理分区则是swapon /dev/sda1之类的4. 再看看交换分......
Read more
Read more
1 插上硬盘2 以root身份运行echo "scsi add-single-device a b c d" > /proc/scsi/scsi a是硬盘所在SCSI控制器号(一般机器就一个SCSI控制器,所以就是0);b是硬盘所在SCSI通道的编号(一般单通道的就是0,多通道的要看是哪个通道了);c是硬盘的SCSI ID号(可以通过具体插入的硬盘插槽来判断);d是硬盘的lun号(默认情况都是0) 我要识别第二个硬盘,就输入echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi 查看/proc/scsi/scsi ......
Read more
Read more
如果你已经过了20岁但还不到25岁的话,你必须找到除了爱情之外,能够使你用双脚坚强站在大地上的东西。你要找到谋生的方式。现在考虑不晚了。 我从来不以为学历有什么重要,天才都不是科班,但,不是科班,连龙套都跑不了。你必须把那些浮如飘絮的思绪,渐渐转化为清晰的思路和简单的文字。华丽和漂浮都不易长久。你要知道,给予文字阅读**不够的,内容,思想,境界,灵魂,精神和智慧,这些才重要......
Read more
Read more
这个东西有web的管理介界,不错呀我用命令:transmission-daemon -a *.*.*.* -b -m -p 9000 -P 55555 -w /home/other -t -u ssj -v 111111-a *.*.*.* :是允许访问web管理的IP *.*.*.* 是所有IP,还可以是192.168.1.* 之类的-b 打开peer服务器列表-m 打开NAT-PMP 或 UPnP-p web服务器的端口-P peer端口默认是51413-w 下载文件的默认存储路径-t 打开web页面的密码验证-u web 的用户名-v web 的密码把transmission-daemon -a *.*.*.* -b -m -p 9000 -P 55555 -w /home/other -t -u ssj -v 111111加到/etc/rc.d/......
Read more
Read more
top free ps time这四个就不多说了===============================================uptime现在的时间系统开机运转到现在经过的时间连线的使用者数量最近一分钟,五分钟和十五分钟的系统负载参数: -V 显示版本资讯。范例: [ssj@main ~]$ uptime 12:42:05 up 1:40, 3 users, load average: 0.01, 0.02, 0.06===============================================用vmstat监视内存使用情况 vmstat是Virtual Meomory Statistics(虚拟内存统计)的缩写,可对操作系统的虚拟内存、进......
Read more
Read more
录屏幕ffmpeg -f x11grab -s 686x448 -r 10 -i :0.0+92,120 ~/Desktop/test.avi使用xwininfo -frame得到窗口坐标===============================================================mplayer录制电影mkfifo /dev/shm/xfifomplayer mms://218.106.96.24/cctv1 -dumpstream -dumpfile /dev/shm/xfifocat /dev/shm/xfifo |tee /tmp/x.avi |mplayer -cache 8192 -================================================================用ffmpeg压缩电影 转h264 这个比rmvb要好呀ffmpeg -threads 2 -i "Ass For Free.wmv" -r 29.97 -vcodec libx264 -s 720x40......
Read more
Read more