tianjiao
男, 28岁
北京 通州区
上次登录: 2008年10月
加为好友
|
|
2007-11-06 13:55
一、不暴饮暴食,生活有规律,吃饭要细嚼慢咽,多吃蔬菜,尽可能不在短时间内吃含葡萄糖、蔗糖量大的食品,这样可以防止血糖在短时间内快速上升,对保护胰腺功能有帮助,特别是有 糖尿病家族史的朋友一定要记住! 二、性生活有规律,防止感染性疾病;不要吃过量的抗生素。有些病毒感染和过量抗生素会诱发 糖尿病! 三、糖耐量不正常或有 糖尿病家族史的朋友可以在最大限度内 |
2007-03-29 11:18
/**
特别注意:
请按步骤进行,未进行前面的步骤,请不要做后面的步骤
否则可能损坏你的数据库.
**/
1.清空日志:
DUMP TRANSACTION 数据库名 WITH NO_LOG
2.截断事务日志:
BACKUP LOG 数据库名 WITH NO_LOG
3.收缩数据库文件(如果不压缩,数据库的文件不会减小)
企业管理器--右键你要压缩的数据库--所有任务--收缩数据库--收缩文件
选择日志文件--在收缩方式里选择收缩至XXM,这里会给出一 |
2007-03-22 11:59
/*
* Created on 2006-11-15
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package www.code365.com;
/**
* @author Zero
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
import org.ht |
2007-03-22 11:58
function cookiecode($string, $operation, $key = '') {
$key = $key ? $key : $GLOBALS['cookie_key'];
$coded = '';
$keylength = strlen($key);
$string = $operation == 'DECODE' ? base64_decode($string) : $string;
for($i = 0; $i < strlen($string); $i += $keylength) {
$coded .= substr($string, $i, $keylength) ^ $key;
}
$coded = $operation == 'ENCODE' ? str_replace('=', '', base64_encode($coded)) : $coded;
return $coded;
} |
2007-03-22 11:45
安装mysql
./configure --prefix=/usr/local/mysql --with-charset=gbk --datadir=/home/mysql
安装apache
./configure --prefix=/usr/local/apache --enable-mods-shared=all --enable-module=so
安装jd
./configure
安装jdk
chmod 777 -R 。。。
安装resin
./configure --prefix=/usr/local/resin --with-apxs=/usr/local/apache/bin/apxs --with-apache=/usr/local/apache
./configure \
--with-imagick=/usr/local/ImageMagick \
--
|
2007-03-22 11:44
SYN_RECV
echo 1 > /proc/sys/net/ipv4/tcp_syncookies
/proc/sys/net/ipv4/icmp_echo_ignore_all
echo 1280>/proc/sys/net/ipv4/tcp_max_syn_backlog
netstat -an|grep "SYN"|wc -l 查看syn数量
route add default gw 60.28.9.65
流媒体转向
#!/bin/sh
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -F
/sbin/iptables -t filter -F
/sbin/iptables -t nat -I PREROUTING -i eth0 -p tcp -m tcp --dport 554 |
|