代码改变世界

阅读排行榜

清除mstsc远程登录记录

2013-08-23 17:02 by 斌哥tobin, 1166 阅读, 收藏,
摘要: 这里提供一串清除mstsc远程登录记录的命令@echo offset TMP1=%cd%echo %TMP1%reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /freg query "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" > %TMP1%\tmp.logfor /f "tokens=*" %%i in (%TMP1%\ 阅读全文

Mac OS的phpize空信息解决办法

2015-08-21 00:37 by 斌哥tobin, 1129 阅读, 收藏,
摘要: Mac下执行phpize出现以下信息grep: /usr/include/php/main/php.h: No such file or directorygrep: /usr/include/php/Zend/zend_modules.h: No such file or directorygre... 阅读全文

Nginx配置解决关闭cgi.fix_pathinfo时也能用PATH_INFO

2012-06-25 17:58 by 斌哥tobin, 1129 阅读, 收藏,
摘要: FROM: http://www.laruence.com/2009/11/13/1138.htmllocation~\.php{fastcgi_indexindex.php;fastcgi_pass127.0.0.1:9000;includefastcgi_params;set$path_info"";set$real_script_name$fastcgi_script_name;if($fastcgi_script_name~"^(.+?\.php)(/.+)$"){ set$real_script_name$1; set$path_info$2; 阅读全文

VirtualBox虚拟CentOS7共享文件夹

2017-07-14 10:38 by 斌哥tobin, 1049 阅读, 收藏,
摘要: 在VirtualBox的centos虚拟机光盘设置为安装增强工具包VBoxGuestAdditions.iso 进入centos, cd /media mkdir cdrom mount -t iso9660 /dev/cdrom /media/cdrom 挂载光驱到文件系统 ll /media/c 阅读全文

Discuz X2.5 编辑DIY数据出现:Unknown column 'pid' in 'where clause' 的解决办法

2012-07-02 17:27 by 斌哥tobin, 1028 阅读, 收藏,
摘要: 此办法用于解决如下错误:Discuz! Database Error(1054) Unknown column 'pid' in 'where clause'SELECT * FROM forum_attachment_unused WHERE `pid`='' AND isimage IN ('1', '-1') AND width>=0解决办法:给数据表 forum_attachment_unused 增加一个pid字段ALTER TABLE `pre_forum_attachment_unused` A 阅读全文
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页