1 $uid, "PWD"=>$pwd,
"Database"=>"LocationAnalysisDatabase");10 11 $conn = sqlsrv_connect(
$serverName, $connectionInfo);12 13 if( $conn == false){14....
分类:
数据库 时间:
2014-05-16 04:39:58
阅读次数:
360
Using UnityEngine;public class
TimeDela:MonoBehavior{ float myScencons=0; public long time=100; void Updata(){
myScencons+=Time.deltaTime; if(myScenco...
分类:
其他好文 时间:
2014-05-16 04:38:42
阅读次数:
235
/** * Schedule a countdown until a time in the
future, with regular notifications on intervals along the way. * * Example of
showing a 30 second count...
分类:
其他好文 时间:
2014-05-16 04:21:02
阅读次数:
311
1.消耗CPUSELECT a.CPU_TIME, --CPU时间 百万分之一(微秒)
a.OPTIMIZER_MODE,--优化方式 a.EXECUTIONS,--执行次数 a.DISK_READS,--读盘次数
a.SHARABLE_MEM,--占用shared pool...
分类:
数据库 时间:
2014-05-16 04:07:52
阅读次数:
419
最近要在页面上加一个时间段的选择控件,便上网搜寻一番,但找到的答案大都没有考虑时间段跨年的情况,所以做了些修改本周的开始和结束日期```javascript//当前日期var
now = new Date();//今天是一周的第几天var nowDayForWeek = now.getDay(...
分类:
编程语言 时间:
2014-05-16 03:27:59
阅读次数:
798
1.慢查询日志:slow_launch_time=2
查询大于某个时间的值(单位:s)slow_query_log=on/off
开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log
慢查询日志位置2.连接数:max_connections MyS...
分类:
数据库 时间:
2014-05-15 21:44:08
阅读次数:
447
题目链接:
http://poj.org/problem?id=1082
Calendar Game
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 4742
Accepted: 2236
Description
Adam and...
分类:
其他好文 时间:
2014-05-15 20:33:25
阅读次数:
223
在eclipse启动tomcat时遇到超时45秒的问题:
Server Tomcat v7.0 Server at localhost was unable to startwithin 45 seconds. If the server requires more time, try increasingthe timeout in the server editor.
网上解决办法...
分类:
其他好文 时间:
2014-05-15 18:31:36
阅读次数:
242
opCookie:function(){ var setCookie= function
(name,value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() +
D...
分类:
Web程序 时间:
2014-05-15 17:38:12
阅读次数:
406
第一步vim/etc/sysctl.conf
net.ipv4.tcp_keepalive_time=1800
net.ipv4.tcp_keepalive_probes=5
net.ipv4.tcp_keepalive_intvl=15
net.core.rmem_max=167772160
net.core.wmem_max=167772160
net.ipv4.tcp_rmem=409687380167772160
net.ipv4.tcp_wmem=409665536167772160
net...
分类:
其他好文 时间:
2014-05-15 12:32:43
阅读次数:
248