10 2015 档案

摘要:打开terminal,输入如下命令:find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTP... 阅读全文
posted @ 2015-10-27 21:07 feiling 阅读(182) 评论(0) 推荐(0) 编辑
摘要:时间戳是自 1970 年 1 月 1 日(00:00:00 GMT)至当前时间的总秒数。它也被称为 Unix 时间戳(Unix Timestamp)。下面是iOS中时间戳 与 时间之间的转换方法:1.NSDate转换为时间戳NSDate *localDate = [NSDate date];NSS... 阅读全文
posted @ 2015-10-27 21:03 feiling 阅读(230) 评论(0) 推荐(0) 编辑
摘要:Remove all elements from a linked list of integers that have valueval.样例Given1->2->3->3->4->5->3, val = 3, you should return the list as1->2->4->5/** ... 阅读全文
posted @ 2015-10-21 21:41 feiling 阅读(218) 评论(0) 推荐(0) 编辑
摘要:https://blog.coding.net/blog/ios-testFlight 阅读全文
posted @ 2015-10-16 10:10 feiling 阅读(137) 评论(0) 推荐(0) 编辑
摘要:http://www.paintcodeapp.com/news/iphone-6-screens-demystified 阅读全文
posted @ 2015-10-16 10:08 feiling 阅读(192) 评论(0) 推荐(0) 编辑
摘要:The CSS padding properties define the space between the element border and the element content.PaddingThe padding clears an area around the content (i... 阅读全文
posted @ 2015-10-16 10:05 feiling 阅读(238) 评论(0) 推荐(0) 编辑
摘要:我们常常会通过datetime得到时间,但是网页前台往往会显示不同的时间如:2013-12-15 2013年12月23日 2013 12 15等多种显示效果,这就需要我们把时间格式化一下。下面是通过Jquery格式化时间:$(function () { var time = '2013/9/29 1... 阅读全文
posted @ 2015-10-16 09:58 feiling 阅读(409) 评论(0) 推荐(0) 编辑
摘要:You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston... 阅读全文
posted @ 2015-10-15 08:53 feiling 阅读(170) 评论(0) 推荐(0) 编辑
摘要:1.查看远程分支,和上面的第一步相同2. 从远程获取最新版本到本地git fetch origin master:tempgit fetch origin master:temp 这句命令的意思是:从远程的origin仓库的master分支下载到本地并新建一个分支temp现在,你的小伙伴要在dev分... 阅读全文
posted @ 2015-10-12 14:23 feiling 阅读(423) 评论(0) 推荐(0) 编辑
摘要:如果不小心把错误的commit给commit了,可以对其进行撤销1.使用git log查看commit日志,找到错误提交前一版本commit的哈希值;2.使用git reset --hard commit_id;3.git push origin HEAD --force(git push --fo... 阅读全文
posted @ 2015-10-12 11:00 feiling 阅读(215) 评论(0) 推荐(0) 编辑
摘要:1.CUICatalog: Invalid asset name supplied:今天写了加载图片,默认图片写的是[UIImageimageNamed:@""],之后就报下面的错误,这个提示的意思是说你用了这个方法[UIImage imageNamed:name];但是这个name却是空的,所以就... 阅读全文
posted @ 2015-10-04 20:35 feiling 阅读(419) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示