

Change directory permissions of Linux
记下,因为我总是会忘记这些命令.. 查看当前httpd进程的情况: ps aux | grep httpd 第一行是用户,记录下来。改变你网站目录下所有文件的所有人。 sudo -R chown [之前记录下来的用户名] * apache默认的好像是daemon,也可以在httpd.conf中改变user和group。
1,189 2014-08-06 去围观

MySQL Utilities ——mysqldiff
MySQL Utilities中有一个叫mysqldiff的工具(下载戳这里),可以用来生成两个数据库之间的不同。 如果在第一次运行 mysqldiff 的时候遇到这个错误: ImportError: No module named connector.conversion 那是因为没有安装 MySQL Connector for Python(戳这里下载…
1,312 2014-06-26 去围观解决OS X下PhpStorm7无法关闭项目的bug
真是……用久了啥东西都会出问题。 之前我的mbp只有4G内存,容易过载死机。一次意外死机后,再打开IDE,发现已经无法切换"close product"了,只能打开新的。用过几次后发现连新打开的product也关不掉了! 从IDE配置文件下手,为了保证万无一失,这2个文件夹都…
1,941 2014-06-25 去围观OS X Install XDEBUG for PHP(XMAPP)
首先我安装的是XAMPP,那由于32位编译的原因,XAMPP自带的xdebug是不能用的,只能另装了。 1. 先安装antoconf: brew install antoconf 2. 然后下载或checkout: git://github.com/derickr/xdebug.git 3. 然后进入下载好的目录,执行phpize: /Application…
1,677 2014-06-12 去围观来晒一晒你常用的10个命令
在 http://talk.linuxtoy.org/using-cli/ 看到了一条命令可以显示你使用过的命令的top10. history | awk '{CMD[$2]++;count++;}END { for (a in CMD)\ print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" \ | column -c3 -s " " -t | sort -nr …
1,894 2014-04-19 去围观解决data-integration连接MYSQL缺少JDBC问题
今天用“Data Integration”的时候发现一个问题:创建数据仓库的时候,MYSQL不支持JDBC,并且弹出错误“Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver (jar file) is installed.org.gjt.mm.mysql.Driver”。 主要原因是缺…
1,927 2014-04-18 去围观