This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://www.ycchen.cc/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1.根据操作系统类型,下载相应的RepoForge的yum源rpm软件包:repoforge.org | |
| 2.安装下载到的rpm软件包 | |
| [root@localhost ~]# rpm -ivh rpmforge-release-i686 /*根据系统平台而定,如64位则为rpmforge-release-x86_64*/ | |
| 3.在yum下查找所有文件名包括ntfs字符的软件包 | |
| [root@localhost ~]# yum list | grep ntfs | |
| 4.选择安装查找到的软件包 | |
| [root@localhost ~]# yum install -y fuse-ntfs-3g.i686 /*根据系统平台而定,如64位则为fuse-ntfs-3g.x86_64*/ | |
| 5.利用无参数的mount命令查看当前系统所支持的文件系统类型,会发现此时系统已能够支持ntfs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---------------------------------------- | |
| 在windows上面后台运行可以使用start 命令 并且指定/b 选项 | |
| start /b php-cgi -b 127.0.0.1:9000 | |
| linux系统需要在命令后面加上& 符号即可。 | |
| ---------------------------------------- | |
| windows上面查看进程,使用tasklist 命令 | |
| tasklist | findstr "nginx mysqld php-cgi" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function parseQuery(query){ | |
| var args = {}; | |
| var items = query.split("&"); | |
| var item = null, name = null, value = null; | |
| for(var i=0; i < items.length; i++){ | |
| item = items[i].split("="); | |
| if(item[0]){ | |
| name = item[0]; | |
| value = item[1] ? item[1] : ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://www.cnblogs.com/DeanChopper/p/4707757.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select * | |
| from core.point | |
| right join core.point_category_rel on core.point.id = core.point_category_rel.point_id | |
| join core.point_category on core.point_category.id = core.point_category_rel.category_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| * | |
| FROM | |
| core.point_category_rel | |
| LEFT JOIN core.point_category ON core.point_category_rel.category_id = core.point_category.id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1\nginx | |
| sudo vi /etc/yum.repos.d/nginx.repo | |
| [nginx] | |
| name=nginx repo | |
| baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/ | |
| gpgcheck=0 | |
| enabled=1 | |
| sudo yum install nginx | |
| sudo systemctl start nginx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| change the declaration way of the specific function that you defined | |
| <script> | |
| window.onload = function(){ | |
| //there may occur some errors. 'referenceError:exeSelect() is not defined' | |
| function exeSelect(param) | |
| { | |
| console.log(param); | |
| } |