1个IPn个域名n个证书

mod_gnutls使用GnuTLS库提供给Apache SSL 3.0和TLS1.x的协议。除了标准的X.509证书认证,它提供了支持SRP和OpenPGP金钥验证密码的身份验证. (continue reading…)


ipad播放视频流

As of the release of Wowza Media Server 2, iphone/ipod/ipad streaming is now available. However, not all streaming servers have been upgraded to Wowza Media Server 2 yet. (continue reading…)


linux删除三天前文件

find . -mtime +3 -exec rm {} \;
find $dir_you_want -ctime +3 -type f | xargs rm -rf


wget忽略证书

wget https://demo.de/index.php?id=1234 -O demo.txt –no-check-certificate


命令行 mysql create procedure

下面是一个使用OUT参数的简单的存储程序的例子。例子为,在 程序被定义的时候,用mysql客户端delimiter命令来把语句定界符从 ;变为//。这就允许用在 程序体中的;定界符被传递到服务器而不是被mysql自己来解释。 (continue reading…)


multiple displayCond in TCA

How to use:
‘displayCond’ => ‘FIELD:sys_language_uid:IN:0,1,2&&FIELD:t_type:=:0||FIELD:sys_language_uid:=:0&&FIELD:t_type:=:1’,

t3lib/class.t3lib_tceforms.php

line 6092: isDisplayCondition()
(continue reading…)

1 Comment more...

Mysql InnoDB 之 ibdata1 瘦身大法

# 备份数据库:

/usr/local/mysql/bin/mysqldump -uDBuser -pPassword –quick –force –routines –add-drop-database –all-databases –add-drop-table > /data/bkup/mysqldump.sql

# 停止数据库

service mysqld stop (continue reading…)


MySQL服务器安装完之后如何调节性能

My favorite question during Interview for people to work as MySQL DBAs or be involved with MySQL Performance in some way is to ask them what should be tuned in MySQL Server straight after installation, assuming it was installed with default settings. (continue reading…)


proc/sys/net/ipv4/下各项的意义

tcp_syn_retries :INTEGER
默认值是5
对于一个新建连接,内核要发送多少个 SYN 连接请求才决定放弃。不应该大于255,默认值是5,对 应于180秒左右时间。(对于大负载而物理通信良好的网络而言,这个值偏高,可 修改为2.这个值仅仅是针对对外的连接,对进来的连接,是由tcp_retries1 决定的) (continue reading…)


“autoresize”插件自动改变textarea大小

The following options are available:

onResize – (type: Function) – A callback function fired every time the textarea is resized. Within the function ‘this’ refers to the textarea being resized.
animate – (type: Boolean) – If set to false no animation will take place, the height will immediately change when necessary. By default it’s set to true.
animateDuration – (type: Number) – Millisecond duration of animation, by default it’s set to 150. (continue reading…)


Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress