Archive for 三月, 2008
远程桌面超出最大终端数解决
相信很多朋友都试过,远程桌面超出最大终端连接数的烦恼。以前,我们只能给机房打电话,他们帮忙重启一下机器。
前段时间发现,只要用远程桌面自带的命令就可以进了。
mstsc /v:IP /console
上面的命令只适用于XP等系统。Windows7的换成
mstsc /v:IP /admin
规则表达式的修饰符
在使用正则的时候,同样的规则使用不同的修饰符会得到不同的效果。为了方便,我把修饰符相关的资料写了出来。
Read the rest of this entry »
Tinymce File Manager and Image Manager
发现一个好的文件、图片与Tinymce结合的程序。
程序连接如下:
http://www.hotscripts.com/Detailed/69858.html
Read the rest of this entry »
以秒运行Crontab
在Liux或BSD下,Crontab可以实现以秒运行程序的。
格式如下:
1 minute 1
1,5 minutes 1 and 5
* any minute
*/5 any minute that is divisible by 5
1:2 second 2 of minute 1
1:2,5:10 second 2 of minute 1 and second 10 of minute 5
*:3 second 3 of any minute
*:*/5 any second that is divisible by 5
只是设置分钟那里跟平时的不大一样,其他部分一样。
ultraedit 13 注册码
- Name: icycool and everybody
- Code: K7V0U-O6Q6W-E6J9Q-H2C9P-XW24V-0J441
经测试使用正常!
freebsd 简单配置
/etc/make.conf
- FETCH_CMD=wget -c -t 1
- DISABLE_SIZE=yes
- MASTER_SITE_OVERRIDE= \
- ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/distfiles/ \
- ftp://ftp.hk.freebsd.org/pub/FreeBSD/ports/distfiles/ \
- ftp://ftp.kr.freebsd.org/pub/FreeBSD/ports/distfiles/
/etc/rc.conf
- accf_data_load="YES"
- accf_http_load="YES"
/etc/vi.exrc
- set ruler
- set tabstop=4
- set shiftwidth=4
- set showmode
- set autowrite
/etc/sysctl.conf
- kern.ipc.nmbclusters=65536
- kern.ipc.somaxconn=16384
- kern.maxfiles=131072
- kern.maxfilesperproc=104856
- kern.threads.max_threads_per_proc=4096
- vfs.ufs.dirhash_maxmem=67108864
- kern.ipc.shmmax=134217728
- net.inet.tcp.msl=5000
/boot/loader.conf
- kern.ipc.maxsockets="131072"
- kern.ipc.maxpipekva="104857600"