代码放在Github上了。https://github.com/lpe234/meizi_spider? 基于Scrapy(0.22)爬虫示例 获取(http://www.meizitu.com/)网站图片,并保存到本地文件夹(meizi_images)下。 运行 python?run_spider.py??#?即...
分类:
其他好文 时间:
2015-06-04 22:56:26
阅读次数:
306
工作的时候要写工作计划,和工作汇报,各种烦躁,所以写了这个工作计划管理,顺便也开源出来了,[点击下载](http://www.mk5i.com/content/images/2015/06/workplan.rar) ,是基于Thinkphp编写的 PHP开源库用了PHP...
分类:
其他好文 时间:
2015-06-04 19:39:23
阅读次数:
184
用collectionFS上传图片并显示到界面上关键是要,确定是否完全上传完成,再通过Session通知界面显示 。方法 有两种:1,用fileObj.hasStored(‘你的数据库表名’) 2. file.isUploaded()
本文用第一种方法。
1. 服务器端
//图标文件
images = new FS.Collection("imges",{...
分类:
Web程序 时间:
2015-06-04 11:55:50
阅读次数:
330
在url设置此项url(r'^images/(?P.*)','django.views.static.serve',{'document_root':'E:/python/python_test/pachong/images'})
分类:
Web程序 时间:
2015-06-04 11:29:13
阅读次数:
103
之前没有在意过这个问题,一直接手的都是老项目,最近开了新项目,要求:启动图片加载完成之后,会有一个loading页面,loading页面跟启动页面的情况相同因为要适配7,8 所以就放到了Images.xcassets中的LaunchImage写了一个工具类去判断屏幕尺寸而加载不同的图片+ (UIIm...
分类:
其他好文 时间:
2015-06-03 15:13:45
阅读次数:
118
启动系统相册Intent i = new Intent( Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); startActivityForResult(i, R...
分类:
其他好文 时间:
2015-06-03 11:22:24
阅读次数:
145
Histeq
Enhance contrast using histogram equalization
该函数通过直方图均衡化来增加对比度
Syntax
J = histeq(I,hgram)
Description
histeq enhances the contrast of images by transforming the values in an intensity im...
分类:
其他好文 时间:
2015-06-03 09:58:18
阅读次数:
271
Colorization and Color Transfer(图像上色和颜色迁移)Semantic Colorization with Internet Images, Chia et al. SIGGRAPH ASIA 2011Color Harmonization, Cohen-Or, Sor...
分类:
其他好文 时间:
2015-06-02 17:06:26
阅读次数:
630
For your Custom module follow following steps 1) you can create folder for placeholder images at media/mymodule/placeholder/placeholderImage.jpg2) re....
分类:
其他好文 时间:
2015-06-02 15:04:37
阅读次数:
196
1》Images.xcassets: A 60x60@2x app icon is required for iPhone apps targeting iOS 7.0 and later图片像素过低编译器警告 不影响使用2》Terminating app due to uncaught excep...
分类:
移动开发 时间:
2015-06-02 06:45:37
阅读次数:
139