码迷,mamicode.com
首页 >  
搜索关键字:options    ( 7918个结果
PHP之PDO-prepare
当同一个SQL多次查询(执行)时,只是每次的查询条件(数据)不一样,那么,使用prepare就对了.它可大大减少查询(执行)时间,服务器资源消耗..原型:PDOStatementPDO::prepare(stringquery[,arraydriver_options])占位符:1,有名占位符(:namedparameters)2,问号占位符(?)如:INSERTINTOpro..
分类:Web程序   时间:2015-07-15 13:28:22    阅读次数:136
IntelliJ IDEA 控制台 乱码 有效解决办法
在Run -> Edit Configuration -> 你的运行Server -> Startup/Connection -> Environment Variables 添加如下参数Name: JAVA_TOOL_OPTIONS, Value: -Dfile.encoding=UTF-8
分类:其他好文   时间:2015-07-15 13:08:43    阅读次数:548
weblogic服务器保存图片失败解决办法
日志中报错如下:java.lang.NoClassFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment 解决办法:启动脚本中JAVA_OPTIONS变量后加入-Djava.awt.headless=true参数
分类:Web程序   时间:2015-07-15 13:00:55    阅读次数:139
Easyui Tab刷新
Easyui Tab刷新:function refreshTab(title){ var tab = $('#id').tab('getTab',title); $('#id').tab('update',{ tab : tab, options : tab....
分类:其他好文   时间:2015-07-14 22:12:17    阅读次数:114
linux知识点,一天一个之cp
cp?? [root@linux ~]# cp [-adfilprsu] 来源档(source) 目的檔(destination) ? ? [root@linux ~]# cp [options] source1 source2 source3 …. directory ? ? 参数: ? ? -a :相当于 -pdr 的意思; ? ?...
分类:系统相关   时间:2015-07-14 18:27:26    阅读次数:136
使用 X-Frame-Options 防止被iframe 造成跨域iframe 提交挂掉
Refusedtodisplay'http://www.***.com/login/doLogin.html'inaframebecauseitset'X-Frame-Options'to'SAMEORIGIN'.触发原因:页面的返回头被设置X-Frame-Options SAMEORIGIN ,只...
分类:其他好文   时间:2015-07-14 17:31:43    阅读次数:175
awk使用详解
一、awk基本用法awk[options]‘scripts‘file1,file2...awk[options]‘pattern{action}‘file1,file2...#-F选项指定分隔符,$num,代表第num个字段 [root@docker1~]#awk-F:‘{print$1,$3}‘/tmp/passwd root0 bin1 daemon2 adm3 ...... #匹配正则表达式用:/正则表达式/,匹配以r开头..
分类:其他好文   时间:2015-07-14 06:26:21    阅读次数:120
linux下压缩工具总结与使用(参考私房菜)
1压缩gzip命令options:-c数据流重定向,可以定位为文件-r递归压缩,即深入子目录-v显示姓名和压缩比等冗余信息-d解压缩-#加上的数字表示压缩等级,越高表示压缩比越高,但更慢①做了一个很简单的实验[root@mailtmp]#ll-h total128K -rw-r--r--.1rootroot128KJun2703:00test [ro..
分类:系统相关   时间:2015-07-14 06:21:14    阅读次数:178
Android(java)学习笔记126:Android Studio中build.gradle简介
1.首先我们直接上代码介绍:// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { repositories { ...
分类:移动开发   时间:2015-07-13 22:22:55    阅读次数:222
ubuntu server start/stop/restart apache2 web server
How do I start, restart, or stop Apache 2.x web server on Ubuntu Linux operating systems using command line options?You can use any one of the followi...
分类:Web程序   时间:2015-07-13 22:17:05    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!