码迷,mamicode.com
首页 >  
搜索关键字:dir    ( 11861个结果
nginx环境下配置nagios-关于start_perl_cgi.sh
1#!/bin/bash2set-x3dir=/export/servers/nginx45stop()6{7#pkill-f$dir/perl-fcgi.pl8kill$(cat$dir/logs/perl-fcgi.pid)9rm$dir/logs/perl-fcgi.pid2>/dev/nul...
分类:移动开发   时间:2014-07-07 10:00:30    阅读次数:252
CMake VS工程总结
1.设置输出后缀set(CMAKE_DEBUG_POSTFIX "d")2.设置输出目录set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINA...
分类:其他好文   时间:2014-07-07 09:31:04    阅读次数:1031
mysqld_multi配置MySQL多实例
# This is an example of a my.cnf file for mysqld_multi.# Usually this file is located in home dir ~/.my.cnf or /etc/my.cnf## SOME IMPORTANT NOTES FOLL...
分类:数据库   时间:2014-07-07 09:04:08    阅读次数:292
shell
1.获得当前运行脚本目录1 #!/bin/bash2 3 CURR_DIR=`dirname $0`;4 5 echo $CURR_DIR;View Code
分类:其他好文   时间:2014-07-03 12:08:02    阅读次数:220
hMailServer 附件大小限制
修改php.ini文件1.post_max_size = 10M 表单提交最大数据为10M.此项不是限制上传单个文件的大小,而是针对整个表单的提交数据进行限制的.2.file_uploads = On 是否允许上传文件,如果为OFF您将不能上传文件.3.upload_tmp_dir = "D:/PH...
分类:其他好文   时间:2014-07-03 10:28:42    阅读次数:700
[转]Java获取当前路径
1、利用System.getProperty()函数获取当前路径:System.out.println(System.getProperty("user.dir"));//user.dir指定了当前的路径2、使用File提供的函数获取当前路径:File directory = new File(""...
分类:编程语言   时间:2014-07-03 07:08:28    阅读次数:521
linux 下 /bin /sbin 的区别 -- (转)
/bin,/sbin,/usr/bin,/usr/sbin区别/ : this is root directory root 用户根目录/bin : commands in this dir are all system installed user commands 系统的一些指令/sbin: c...
分类:系统相关   时间:2014-07-03 06:29:10    阅读次数:223
iOS framework配置脚本
# Sets the target folders and the final framework product. FMK_NAME=HovnVoipEngine FMK_VERSION=1.0 # Install dir will be the final output to the framework. # The following line creat...
分类:移动开发   时间:2014-07-01 15:36:58    阅读次数:265
golang的最简单的文件浏览web服务器
网上看到的,记录下,备用package mainimport ( "net/http")func main() { http.Handle("/", http.FileServer(http.Dir("./"))) http.ListenAndServe(":8080", nil)...
分类:Web程序   时间:2014-07-01 14:07:08    阅读次数:265
js鼠标滚轮事件
不多说,直接上代码。 //非iedocument.body.onmousewheel = function(event) { event = event || window.event; console.dir(event);};//firefoxdocument.body.addEventList...
分类:Web程序   时间:2014-07-01 13:02:52    阅读次数:235
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!