最近一直在研究基于Asp.Net
MVC的CMS---Orchard,忽然新血来潮,看看多年不看的PHP平台的CMS,那好,就拿Drupal试试身手吧.第一大招: 环境配置 +
安装.1.环境配置. 百度一下,谷歌一下,最终选择了XAMPP做为环境. 下载地址 :https://www.apache...
分类:
Web程序 时间:
2014-06-09 00:42:11
阅读次数:
328
首先,WCF和WebService一些区别1,WCF支持多中通信协议,http/https
tcp/udp/msmq.命名管道,对等网,消息可达性,事物流等.2,WCF可以与ASP.NET集成,共享同一个上下文(HttpContext)3,WCF支持多种消息传输格式,如text,binary,mto...
分类:
其他好文 时间:
2014-06-09 00:37:03
阅读次数:
255
如果想在gnome-shell桌面放点个性化的应用,可以在https://extensions.gnome.org网站上安装扩展(记得使用firefox).下面我记录几个我们觉得还不错的扩展:1.Alt
Tab Workspaceurl:https://extensions.gnome.org/ex...
分类:
其他好文 时间:
2014-06-08 23:28:25
阅读次数:
182
从上文中的QueryTraverser对象的BatchResult
runBatch(BatchSize
batchSize)方法上溯到CancelableBatch类,该类实现了TimedCancelable接口,后者又extends了TimedCancelable接口,后者又extends了Ca...
分类:
其他好文 时间:
2014-06-08 21:45:02
阅读次数:
363
原题地址:https://oj.leetcode.com/problems/sqrtx/题意:Implementint
sqrt(int x).Compute and return the square root
ofx.解题思路:实现开平方函数。这里要注意的一点是返回的时一个整数。通过这一点我们可...
分类:
编程语言 时间:
2014-06-08 21:04:38
阅读次数:
329
原题地址:https://oj.leetcode.com/problems/search-for-a-range/题意:Given
a sorted array of integers, find the starting and ending position of a given
target ...
分类:
编程语言 时间:
2014-06-08 21:03:21
阅读次数:
297
原题地址:https://oj.leetcode.com/problems/sort-colors/题意:Given
an array withnobjects colored red, white or blue, sort them so that objects of
the same col...
分类:
编程语言 时间:
2014-06-08 20:56:32
阅读次数:
394
原题地址:https://oj.leetcode.com/problems/add-binary/题意:Given
two binary strings, return their sum (also a binary string).For example,a ="11"b
="1"Return"...
分类:
编程语言 时间:
2014-06-08 20:28:04
阅读次数:
300
要开发一个头像上传的模块,头像上传过程分两步。第一步,相机拍照或者从图库选取照片,产生一个照片,第二步,提供头像剪裁,一般是剪裁为方形的。第三步,上传头像,删除不必要的缓存文件。
拍照和图库选择照片都可以使用系统的方案。自制相机可以搞滤镜,这个开发成本比较大,一般的APP也不用支持。图库选择照片这个可以自己做,访问sd卡,比较简单。问题出在图片剪裁上。网上有一些技术方案,迁移过来之后,效果不好,比如缩放的敏感度问题,缩放之后剪裁不准确的问题,缩放不流畅的问题。后来发现使用com.android.ca...
分类:
移动开发 时间:
2014-06-08 03:18:38
阅读次数:
357