去官方网站下载Jar包:
http://simplecaptcha.sourceforge.net/
Javadocs:
http://simplecaptcha.sourceforge.net/javadocs/index.html
自己书写工具类:
/*
* To change this license header, choose License Headers in ...
分类:
编程语言 时间:
2014-11-13 10:58:14
阅读次数:
406
问:
AFNetworking2.0 encodes parameters with UTF8. How can I change AFNetworking 2.0's parameter encoding to gb2312?
NSStringEncoding enc = CFStringConvertEncodingToNSStringEncoding (kCFStringEncodi...
分类:
Web程序 时间:
2014-11-13 00:41:36
阅读次数:
228
linux使用ctime/mtime/atime 来标记文档时间,
ctime: c不代表create而是change的意思,比如文件内容的修改权限的修改都会改变ctime
mtime: m是modify的意思,和ctime唯一的区别是权限的修改对其没有影响
atime: a是文件访问的时间,比如你打开一个文件即使对起没有任何的修改也会对这个时间产生影响
为了方便学习...
分类:
系统相关 时间:
2014-11-12 13:51:47
阅读次数:
253
C语言指针前导程序 1 #include 2 3 4 5 void change(int *); 6 7 int main() 8 9 {10 11 int a=90;12 13 change(&a);14 15 printf("a=%d\n",a);16 17 return 0;18 ...
分类:
编程语言 时间:
2014-11-12 13:23:43
阅读次数:
272
??
Description
Boudreaux reached over and shook awake Thibodeaux, who had dozed off somewhere in New Mexico. "Where we at?" Thibodeaux groggily yawned.
"Not in Vegas, I gua-ran-tee, but co...
分类:
其他好文 时间:
2014-11-12 10:38:32
阅读次数:
239
题目:给你一些钱币和一个价格,用钱币组成不小于价格的最低值,并使得此时使用的钱币总数最少。
分析:dp,01背包。初始化所有的的钱数组成都需要Max张钱币,F[0] = 0,更新即可。
因为,可以取超过price的值,所以将背包的容量扩大一些,找到最接近的即可。
说明:找零钱用背包。
#include
#include
using namespace std;...
分类:
其他好文 时间:
2014-11-12 00:50:25
阅读次数:
187
本文代码以MTK平台Android 4.4为分析对象,与Google原生AOSP有些许差异,请读者知悉。
本文主要介绍MTK Android开机时,SIM卡的Framework部分初始化过程。
先看一段注释:
/* Once created UiccController registers with RIL for "on" and "unsol_sim_status_change...
分类:
移动开发 时间:
2014-11-11 19:13:29
阅读次数:
336
jQuery获取Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("op.....
分类:
Web程序 时间:
2014-11-11 18:13:42
阅读次数:
161
If you are working on ASP.NET MVC web sites in Visual Studio 2013 (VS2013), you need to make one registry change if you want to run IIS Express as a 6...
分类:
Web程序 时间:
2014-11-10 19:33:24
阅读次数:
275
svn: E155004: ..(path of resouce).. is already locked I'm getting an error when trying to commit a change to a repository. I'm sure that my resources....
分类:
其他好文 时间:
2014-11-10 15:26:07
阅读次数:
2114