问题一、编译也许会遇到Unable to launch cygpath. Is Cygwin on the path?错误,解决办法如下: 1.工程右键,点Properties->C/C++ Build的Building Settings中去掉Use default build command,然后 ...
分类:
其他好文 时间:
2016-04-17 16:18:24
阅读次数:
209
在做Android的开发的时候,在ListView 或是 GridView中需要加载大量的图片,为了避免加载过多的图片引起OutOfMemory错误,设置了一个图片缓存列表 Map<String, SoftReference<Bitmap>> imageCache , 并对其进行维护,在图片加载到一 ...
分类:
移动开发 时间:
2016-04-17 16:01:02
阅读次数:
184
Since a resource is represented as a Java type it makes it easy to configure, pass around and inject in ways that is not so intuitive or possible with ...
分类:
其他好文 时间:
2016-04-17 14:44:25
阅读次数:
166
原文:C#使用RSA证书文件加密和解密示例修改MSDN上的示例,使之可以通过RSA证书文件加密和解密,中间遇到一个小问题。 Q:执行ExportParameters()方法时,回报CryptographicException:该项不适于在指定状态下使用(Key not valid for use i... ...
Previous sections have introduced the use of @Context. The JAX-RS specification presents all the standard JAX-RS Java types that may be used with @Con ...
分类:
其他好文 时间:
2016-04-17 00:30:02
阅读次数:
136
在ios编程中,如果成员变量为对象,我们需要对成员变量内存管理,否则,会造成内存泄露。即我们要对成员变量进行手动的内存释放。 很显然,是ARC的问题。 错误原因:在创建工程的时候点选了“Use Automatic Reference Counting”选项,但是又调用了对象的release方法 AR ...
分类:
其他好文 时间:
2016-04-16 23:02:20
阅读次数:
254
一. 操作 数据库 1. 登入数据库 $ mysql -u root -p 2. 查看当前所有数据库 SHOW DATABASES; 3. 创建数据库 CREATE DATABASE test; 3. 选择数据库 USE test; 4. 删除数据库 DROP DATABASE test; 二. 操 ...
分类:
数据库 时间:
2016-04-16 16:57:30
阅读次数:
232
一般保存在 MARD 表 LABST 字段中, 为Valuated Unrestricted-Use Stock INSME: Stock in Quality Inspection SPEME: Blocked Stock 当然, 也可这样: Stock = MD04 下的 Stock(unres ...
分类:
其他好文 时间:
2016-04-16 10:52:49
阅读次数:
146
Examples to: Use URL class to parse URLs and download the network resources specified by a URL Use URLConnection class to gain more cntrl over the dow ...
分类:
编程语言 时间:
2016-04-16 10:51:52
阅读次数:
164
3.1.4--严格模式 严格模式: "use strick" "use strick " if (10 > 6) console.log("ok"); 3.1.5--语句 要养成写分号的编程习惯,否则代码行结尾处没有分号很容易导致代码压缩错误 var sum = 1 + 2 //有效,但不推荐 va... ...
分类:
编程语言 时间:
2016-04-16 09:34:47
阅读次数:
154