怎么说呢
-_-....委托就是一个存储方法引用的类很简单也不简单^_^...废话不多说了,直接上代码,解释都在代码里头了. 1 /* 2 * Created by
SharpDevelop. 3 * User: llh 4 * Date: 2014/5/12 5 * Time: 17:31...
分类:
其他好文 时间:
2014-05-14 01:47:29
阅读次数:
296
原文地址:mysql慢日志文件分析处理作者:maxyicha
mysql有一个功能就是可以log下来运行的比较慢的sql语句,默认是没有这个log的,为了开启这个功能,要修改my.cnf或者在mysql启动的时候加入一些参数。如果在my.cnf里面修改,需增加如下几行long_query_time
...
分类:
数据库 时间:
2014-05-14 01:35:12
阅读次数:
396
Cut the Sequence
Time Limit: 2000MS
Memory Limit: 131072K
Total Submissions: 8764
Accepted: 2576
Description
Given an integer sequence { an } of length N, you are to ...
分类:
其他好文 时间:
2014-05-13 16:04:29
阅读次数:
267
Sliding Window
Time Limit: 12000MS
Memory Limit: 65536K
Total Submissions: 36469
Accepted: 10803
Case Time Limit: 5000MS
Description
An array of size n ≤ 106 is gi...
分类:
其他好文 时间:
2014-05-13 15:36:47
阅读次数:
357
最短路+01背包
In Action
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 3857 Accepted Submission(s): 1229
Problem Description
...
分类:
其他好文 时间:
2014-05-13 14:39:21
阅读次数:
175
Max Sum of Max-K-sub-sequence
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 5690 Accepted Submission(s): 2059
Problem Description
...
分类:
其他好文 时间:
2014-05-13 11:38:49
阅读次数:
256
OneofthefilesthattheaverageUnixsysadminrarelylooksat,almostneverchangesandyetdependsoneverytimeheorsherebootsasystemisthe/etc/inittabfile.Thismodestlittlefilecontrolswhathappenswheneverasystemisrebootedorforcedtochangerunlevels.Let‘stakealookattheconfigurat..
分类:
系统相关 时间:
2014-05-13 04:47:00
阅读次数:
612
ext版本:4.2需求:在数据record绑定到form的时候,Ext会触发field的change事件和validate事件。以至于,新建的空表单界面,会出现验证不通过的样式,如下图:解决思路:在formloadRecord之前,禁止field的change()事件,loadRecord之后,开启field的change()事件。loadRecord..
分类:
其他好文 时间:
2014-05-13 03:33:03
阅读次数:
340
环境windows系统需求通过ping监控网络状态解决DOS中添加一个loop循环,以便监控ping状态,并命名一个文件名,注意根据需要给log.txt添加目录。:topecho%time%>>log.txtping-n1IP Address|findstr"TTL">>log.txtgototop注意:命名的文件名称一定不可..
分类:
其他好文 时间:
2014-05-13 03:23:55
阅读次数:
391
#!/usr/bin/envpython#coding:utf8importos,sys,glob,time,MySQLdb,reDIRNAME=os.path.dirname(__file__)OPSTOOLS_DIR=os.path.abspath(os.path.join(DIRNAME,‘..‘))sys.path.append(OPSTOOLS_DIR)fromlibrary.mysqlconfigimportMySQLDConfig,getMyVariablesfromoptparseimport..
分类:
数据库 时间:
2014-05-13 02:46:59
阅读次数:
809