Monthly Archives: 四月 2014

windowns 7 bcdedit 引导 linux

win7直接引导 linux grub 1. dd命令复制 MBR /* * linux dd 命令 */ dd if=/dev/sda1 of=linux.bin bs=512 count=1 ##/// sda1 linux… Continue reading »

php nginx 动态产生缩略图

<?php $replace_from = array( ‘ ‘, ‘(‘, ‘)’ ); $replace_out = array( ‘\ ‘, ‘\(‘, ‘\)’ ); $str = str_replace(… Continue reading »

freebsd/pfsense 关闭显示器

获取 green_saver.ko cd /boot/modules fetch http://files.pfsense.org/jimp/ko-8.3/amd64/green_saver.ko 编辑 /cf/conf/config.xml <afterbootupshellcmd>/var/vidcontroll.sh</afterbootupshellcmd> </system> 编辑 /var/vidcontroll.sh #!/bin/sh kldload -v green_saver.ko; vidcontrol -t 30