php中制作缩略图的方法也很简单,是用imagecopyresampled方法根据源图制作一个小一点的图片,来看代码check_image_addthumbs.php
Here is your pic! ...
分类:
Web程序 时间:
2014-05-27 01:03:23
阅读次数:
407
题目:Given two binary trees, write a function to
check if they are equal or not.Two binary trees are considered equal if they are
structurally identical...
分类:
其他好文 时间:
2014-05-23 12:40:21
阅读次数:
352
前面的一篇文章中简单的描述了一下内存映射的内容,http://blog.csdn.net/codectq/article/details/25658813,这篇文章作为用户把内存规划好之后,在用户空间使用IOCTL对设备进行控制时的常用函数的代码摘录。后续我会把这部分完善起来。
#ifdefCONFIG_MMU
externunsigned long __must_check __copy_f...
分类:
系统相关 时间:
2014-05-23 07:32:35
阅读次数:
424
zTree实现多选树
1、实现源码
多选树
<!--
var setting = {
check: {
enable: true,
chkStyle: "checkbox",
chkboxType: { "Y": "s", "N": "ps" }
},
data: {
simpleData:...
分类:
其他好文 时间:
2014-05-22 12:05:34
阅读次数:
245
我们可以看到方法名是以Java_com_lms_jni等开头的,还有什么所谓的Signature,那这些其实都是什么意思呢,今天我们就来简单地认识一下。
JNI 命名规则
对于传统的JNI编程来说,JNI方法跟Java类方法的名称之间有一定的对应关系,要遵循一定的命名规则,如下:
1) 前缀: Java_
2) 类的全限定名,用下划线进行分隔(_):com_lms_jni_JniTest
3) 方法名:getTestString ...
分类:
移动开发 时间:
2014-05-22 08:18:14
阅读次数:
418
1、下载python3.3安装包#wget wget --no-cookie
--no-check-certificate --header "Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F"
http://www.python.org/ftp/pytho...
分类:
编程语言 时间:
2014-05-21 17:23:59
阅读次数:
391
v2.0更新内容:
1.支持Mybatis缓存,count和分页同时支持(二者同步)
2.修改拦截器签名,拦截Executor,签名如下:
@Intercepts(@Signature(type = Executor.class, method = "query", args = {MappedStatement.class, Object.class, RowBounds.class, ResultHandler.class}))
3.将Page类移到外面,方便调用...
分类:
其他好文 时间:
2014-05-21 14:40:56
阅读次数:
408
Bob(Bob‘spublickey)(Bob‘sprivatekey)Bobhasbeengiventwokeys.OneofBob‘skeysiscalledaPublicKey,theotheriscalledaPrivateKey.Bob‘sCo-workers:AnyonecangetBob‘sPublicKey,butBobkeepshisPrivateKeytohimselfPatDougSusanBob‘sPublickeyisavailabletoanyonewhoneedsit,buthe..
分类:
其他好文 时间:
2014-05-21 00:05:52
阅读次数:
478
表单验证
function check_1(param){//不为空
if(param==""||param==null){return false;}else{return true;}
}
function check_2(param){//长度限制,字母是10个,汉字也是10个
if(param.length>10){return false;}else...
分类:
Web程序 时间:
2014-05-20 17:15:45
阅读次数:
414
戳我去解题Given two binary trees, write a function to
check if they are equal or not.Two binary trees are considered equal if they are
structurally identic...
分类:
其他好文 时间:
2014-05-20 10:09:37
阅读次数:
201