越简单越好!
MacOS升级到10.8,SVN不能用的解决方法
发表于 2012-08-15 15:43    

自从把MacOS升级到10.8后svn不能用了。

svn命令也没有了,解决方法就是安装一个svn客户端。

查看详情已有1413次阅读  |  0次点赞  |  0个评论
Mac OS X中MacPorts安装和使用
发表于 2012-08-14 10:45    

一、安装MacPorts

下载最新的pkg包:https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg

直接双击安装就可以。

安装好之后port命令在:/opt/local/bin/port

更多安装方式:http://blog.chenapp.com/archives/383

查看详情已有1390次阅读  |  0次点赞  |  0个评论
Installing MacPorts
发表于 2012-08-14 10:23    

MacPorts version 2.1.2 is available in various formats for download and installation (note, if you are upgrading your Mac OS X to a new major release, see the migration info page)

“pkg” installers for Mountain LionLion and Snow Leopard, for use with the Mac OS X Installer. This is the simplest installation procedure that most users should follow after meeting the requirements listed below. Installer for legacy platform Leopard also available.In source form as either a tar.bz2 package or a tar.gz one for manual compilation, if you intend to customize your installation in any way.SVN checkout of the unpackaged sources, if you wish to follow MacPorts development.The selfupdate target of the port(1) command, for users who already have MacPorts installed and wish to upgrade to a newer release.
查看详情已有1326次阅读  |  0次点赞  |  0个评论
为什么程序员总是不能准确估测项目时间
发表于 2012-08-07 15:48    

一个曾经与我一起工作过的经验丰富的项目经理声称,他拿到程序员的时间估算以后,先将它乘以π,然后转化下一个时间数量级后,才能得到真正的值。1天转化成3.14周。他过去因为程序员不擅长估算时间而吃尽了苦头。我创建了一个用来翻译程序员时间估算的表格,来尽量缩小估算错误。

查看详情已有1465次阅读  |  0次点赞  |  0个评论
【iphone开发】从摄像头/相册获取图片,压缩图片,上传服务器小结
发表于 2012-06-12 09:01    

iphone中图像通常存储在4个地方【相册、应用程序包、沙盒、Internet】,通过这4个源,我们就可以存取应用图片。

查看详情已有1379次阅读  |  1次点赞  |  0个评论
iOS 字符串加密至MD5
发表于 2012-03-19 10:12    

iOS开发创建MD5字符串

查看详情已有1783次阅读  |  0次点赞  |  0个评论
scrollview的contentSize,frame,contentOffset
发表于 2012-06-06 15:16    

contentSize是scrollview可以滚动的区域,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滚动,滚动区域为frame大小的两倍。

查看详情已有1311次阅读  |  0次点赞  |  0个评论
拔打电话功能实现
发表于 2012-03-17 15:12    

拔打前会有提示,并且拔打结束后返回到自己的应用程序

[[UIApplicationsharedApplication] openURL:[NSURLURLWithString:@"telprompt://10086"]];

直接拔打,不会提示,拔打结束后停留在电话应用上

查看详情已有1255次阅读  |  0次点赞  |  0个评论
tableview中cell的设置
发表于 2012-02-13 14:55    

7.1 创建表

(1) 创建一个UITableViewController的子类

@interface MyTableViewController : UITableViewController {

}

-(id)init; 

-(void)dealloc;

添加数据源, 由三个函数来回答数据绑定的请求:numberOfSectionsInTableView, numberOfRowsInSection 和 cellForRowAtInd...

查看详情已有5529次阅读  |  0次点赞  |  0个评论
JQuery EasyUI 解决带条件查询的时候分页栏不能回到首页问题
发表于 2012-04-25 13:37    

var queryParams = {title:'', cat_id:cat_id, is_del:0, is_check:is_check};

$('#datalist').datagrid('options').queryParams = queryParams;

$('#datalist').datagrid('options').pageNumber = 1;

$('#datalist').datagrid('getPager').pagination({pageNumber: 1});

查看详情已有2118次阅读  |  0次点赞  |  0个评论
返回顶部 ^