Windows@echo offmysqldump --add-drop-database
--add-drop-table -u root -p123456 dbname >
d:\db_backup\%date:~0,4%-%date:~5,2%-%date:~8,2%_%time:~0,2%-...
分类:
数据库 时间:
2014-04-30 21:41:43
阅读次数:
526
折线分割平面Time Limit: 2000/1000 MS (Java/Others)Memory
Limit: 65536/32768 K (Java/Others)Total Submission(s): 15709Accepted
Submission(s): 10836Problem De...
分类:
其他好文 时间:
2014-04-30 21:37:40
阅读次数:
516
There are many examples out there demonstrating
how AngularJS and Web API can be used together but almost all of them are in
MVC, so I tried to implem...
分类:
移动开发 时间:
2014-04-30 21:19:35
阅读次数:
625
otp (one-time
password)http://tools.ietf.org/html/rfc4226相应协议unified push
serverhttps://github.com/aerogear/aerogear-unifiedpush-server
分类:
移动开发 时间:
2014-04-30 18:51:28
阅读次数:
500
一、古老的绕验证漏洞虽然古老,依然存在于很多小程序之中,比如一些企业网站的后台,简单谈谈。这个漏洞出现在没有对接受的变量进行过滤,带入数据库判断查询时,造成SQL语句的逻辑问题。例如以下代码存在问题:username=request("username")password=request("pass...
分类:
Web程序 时间:
2014-04-29 11:33:46
阅读次数:
555
String field;@Testpublic void test01() { String a =
"aaa"; String b = "aaa"; String c = new String("aaa"); String d = new
String("aaa"); System.out.pr...
分类:
编程语言 时间:
2014-04-29 11:28:46
阅读次数:
391
最近给VPS重装了系统,因为服务商不提供DHCP,所以只好手动设置IP和DNS
Server。悲催的是系统重装的时候忘记了输入DNS
Server,最后导致进去系统后,各种域名无法解析。Linux中修改DNS有两种方式,临时修改和永久修改,下面分别介绍。1、临时修改网卡DNS地址sudo
vim /...
分类:
系统相关 时间:
2014-04-29 11:21:47
阅读次数:
597
在iOS7中,内购只能在真机上才会调用-
(void)productsRequest:(SKProductsRequest *)request
didReceiveResponse:(SKProductsResponse *)response协议方法若是用模拟器,它回调用-
(void)reques...
分类:
移动开发 时间:
2014-04-29 11:12:46
阅读次数:
1565
说到IP获取无非是我们常见的以下几种方式,但是具体获取的值具体区别在哪?网上不乏相关文章,说的也是很详细,但是真正使用起来,还有很多不太对的地方。IP在不同系统中,应用相当广泛,常见的日志记录、广告分区域投放等。
1: HttpContext.Current.Request.ServerVar...
分类:
Web程序 时间:
2014-04-29 10:36:46
阅读次数:
540
题目: There are two sorted arrays A and B of size m
and n respectively. Find the median of the two sorted arrays. The overall run
time complexity should...
分类:
其他好文 时间:
2014-04-29 10:32:46
阅读次数:
359