上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 30 下一页
摘要: //判断是否cgi模式define('IS_CGI',substr(PHP_SAPI, 0,3)=='cgi' ? 1 : 0 );//判断操作系统是否为windowsdefine('IS_WIN',strstr(PHP_OS, 'WIN') ? 1 : 0 );//判断是否命令行cli模式defi... 阅读全文
posted @ 2014-12-11 08:57 DavidHHuan 阅读(493) 评论(0) 推荐(0)
摘要: 查看当前路由情况netstat -nr添加路由sudo route -n add x.x.x.x/24 x.x.x.x 可以简单这样子理解:第1个参数 x.x.x.x/24是远程地址第2个参数 x.x.x.x 是本地地址绑定到指定设备sudo route add -net 172.16.50 -in... 阅读全文
posted @ 2014-12-05 11:39 DavidHHuan 阅读(315) 评论(0) 推荐(0)
摘要: ([^a-zA-Z_=$0-9/\[\>])('|"|,)?(\s*)store_banner(\s*)('|"|,)?([^a-zA-Z_=$0-9\/\(\]:])用在IDE里面搜索某个单词,该单词的左右可以有特别字符,但不能有字母、数字、$符、[、]、>、=、等等 阅读全文
posted @ 2014-11-18 09:08 DavidHHuan 阅读(183) 评论(0) 推荐(0)
摘要: 为什么这里写的是 google app engine?原因我就不解释了。步骤如下:1)安装证书导入工具:$ sudo apt-get install libnss3-tools 2)导入CA.crt证书到系统证书库:$ certutil -d sql:$HOME/.pki/nssdb -A -t ... 阅读全文
posted @ 2014-11-13 22:39 DavidHHuan 阅读(503) 评论(2) 推荐(0)
摘要: Here I use Netbeans, xdebug to debug the PHP in the terminal of Ubuntu.1. you have to install the xdebug extension, pls refer to:[Ubuntu] Easy PHP Deb... 阅读全文
posted @ 2014-11-02 19:40 DavidHHuan 阅读(245) 评论(0) 推荐(0)
摘要: PHPStorm8 license for Yincart project:https://github.com/yinheark/yincart2User Name: Yincart===== LICENSE BEGIN =====600435-24092014 00000CPsKQ18D66cz... 阅读全文
posted @ 2014-09-25 10:08 DavidHHuan 阅读(335) 评论(0) 推荐(0)
摘要: 随着公司子系统越来越多,一直以来使用ucenter的同步登录方式的性能以及效率问题显得越来越大,重新构建一个SSO系统显得势在必行。通过google搜索关于SSO单点登录文章,发现以下文章关于新浪微博的SSO登录描述得比较好http://denger.iteye.com/blog/1039052ht... 阅读全文
posted @ 2014-08-26 22:17 DavidHHuan 阅读(755) 评论(0) 推荐(0)
摘要: The article copied fromhttp://ubuntuhandbook.org/index.php/2013/12/install-teamviewer-ubuntu-1404/TeamViewer 9 Stable now is available. It features mu... 阅读全文
posted @ 2014-08-01 21:51 DavidHHuan 阅读(368) 评论(0) 推荐(0)
摘要: When i run svn up in the folder, i got these error:svn: Error converting entry in directory 'XXXXX' to UTF-8svn: Can't convert string from native enco... 阅读全文
posted @ 2014-07-16 19:26 DavidHHuan 阅读(184) 评论(0) 推荐(0)
摘要: When using MacOS with xcode6-beta, i always meet these error:xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer")... 阅读全文
posted @ 2014-07-09 19:45 DavidHHuan 阅读(1232) 评论(0) 推荐(0)
摘要: 问题描述ubuntu14.04,之前google chrome一直都是好好的,升级过相关软件,之后就是乱码了,如图经过google的努力,找到解决方法,原因未明。解决方案sudo /etc/fonts/conf.d/49-sansserif.conf将第一个sans-serif改为ubuntu就好了... 阅读全文
posted @ 2014-07-06 22:42 DavidHHuan 阅读(987) 评论(0) 推荐(0)
摘要: 我的操作系统是Ubuntu14.04,其它linux系统的操作流程类似。主要安装的软件是nginx1.7+php5.4+mysql5.61. 创建必要目录sudo mkdir ~/setupsudo mkdir /opt/softwaresudo chmod 777 /opt/software2. ... 阅读全文
posted @ 2014-06-09 21:52 DavidHHuan 阅读(1025) 评论(0) 推荐(0)
摘要: [nginx]Step 1Download the shell scriptwget https://raw.github.com/JasonGiedymin/nginx-init-ubuntu/master/nginx -O /etc/init.d/nginxStep 2chmod +x /etc... 阅读全文
posted @ 2014-05-19 22:47 DavidHHuan 阅读(1018) 评论(0) 推荐(0)
摘要: Original article:http://www.yiiframework.com/wiki/570/remove-byte-order-mark-bom-from-files-recursively/The problem was that all my web applications r... 阅读全文
posted @ 2014-05-01 10:35 DavidHHuan 阅读(702) 评论(0) 推荐(0)
摘要: 服务器IP:10.68.19.61操作系统:Ubuntu 13.04DNS程序:Bind9测试域名:mycloud.com目标IP:10.68.19.134配置步骤1、安装BIND9程序包sudo apt-get install bind92、新增编辑文件,总共需要编辑2个文件,新增2个文件,如下:... 阅读全文
posted @ 2014-04-26 21:49 DavidHHuan 阅读(1094) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 30 下一页