上一页 1 2 3 4 5 6 ··· 43 下一页
摘要: 我们常常会通过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 阅读(404) 评论(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 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1.查看远程分支,和上面的第一步相同2. 从远程获取最新版本到本地git fetch origin master:tempgit fetch origin master:temp 这句命令的意思是:从远程的origin仓库的master分支下载到本地并新建一个分支temp现在,你的小伙伴要在dev分... 阅读全文
posted @ 2015-10-12 14:23 feiling 阅读(421) 评论(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 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1.CUICatalog: Invalid asset name supplied:今天写了加载图片,默认图片写的是[UIImageimageNamed:@""],之后就报下面的错误,这个提示的意思是说你用了这个方法[UIImage imageNamed:name];但是这个name却是空的,所以就... 阅读全文
posted @ 2015-10-04 20:35 feiling 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 定义和用法toString() 方法可把数组转换为字符串,并返回结果。语法arrayObject.toString()返回值arrayObject 的字符串表示。返回值与没有参数的 join() 方法返回的字符串相同。实例输出:George,John,Thomas定义和用法join() 方法用于把数... 阅读全文
posted @ 2015-09-23 22:19 feiling 阅读(2878) 评论(0) 推荐(0) 编辑
摘要: 占坑http://www.raywenderlich.com/14172/how-to-parse-html-on-ios 阅读全文
posted @ 2015-09-14 23:42 feiling 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 占坑http://m.oschina.net/blog/377800http://www.cnblogs.com/sunshine-anycall/p/4155649.htmlhttp://objccn.io/issue-15-2/http://www.jackyshen.com/2014/06/2... 阅读全文
posted @ 2015-09-14 23:41 feiling 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 今天用TFHpple解析html,发现老报错encoding error : input conversion failed due to input error, bytes I/O error : encoder error一看就知道是编码的问题啊,但是我明明已经NSData (GB-2312)... 阅读全文
posted @ 2015-09-14 23:40 feiling 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 苹果的开发者账号限制开发者证书只能有5个,我们开发过程中遇到超过5个人需要真机调试的情况,如何解决这个问题呢?有两种方式可以解决问题:1. Revoke原来的证书----不推荐 将以前的证书“revoke”掉,然后重新生成一个新的证书。 这种方法是可以的,但是会造成相应的Provisioning... 阅读全文
posted @ 2015-09-13 23:06 feiling 阅读(3960) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 43 下一页