12 2012 档案

摘要:http://www.reddit.com/r/programminghttp://www.techotopia.com/index.php/Objective-C_2.0_Essentials oc classical 阅读全文
posted @ 2012-12-25 14:02 xuvw 阅读(176) 评论(0) 推荐(0)
摘要:status (stat, st): Print the status of working copy files and directories.usage: status [PATH...] With no args, print only locally modified items (no network access). With -q, print only summary information about locally modified items. With -u, add working revision and server out-of-date informa... 阅读全文
posted @ 2012-12-20 11:30 xuvw 阅读(669) 评论(0) 推荐(0)
摘要:#include<sys/socket.h>// Per msqr#include<sys/sysctl.h>#include<net/if.h>#include<net/if_dl.h>#pragma mark MAC// Return the local MAC addy// Courtesy of FreeBSD hackers email list// Accidentally munged during previous update. Fixed thanks to mlamb.- (NSString*) macaddress{int 阅读全文
posted @ 2012-12-18 15:38 xuvw 阅读(1522) 评论(0) 推荐(0)
摘要:来自:http://www.sqlite.org/omitted.htmlSQL Features That SQLite Does Not ImplementRather than try to list all the features of SQL92 that SQLite does support, it is much easier to list those that it does not. Unsupported features of SQL92 are shown below.The order of this list gives some hint as to whe 阅读全文
posted @ 2012-12-15 12:57 xuvw 阅读(247) 评论(0) 推荐(0)
摘要:链接:http://www.taobaotest.com/blogs/qa?bid=15413于是验证通过ssh连接发送shell命令执行instruments,确实会提示要输入用户名密码,所以导致卡在应用启动界面。而kelude输出的日志估计做过处理把这些异常吃掉了看不到要输入用户名密码情况所以会以为是卡住了,原因终于找到了。OS升级后,估计是加强了这方面的安全策略,10.7.2则无此问题。搜索了很多资料,许多iphone程序员也对此弹出极其苦恼。尝试了N种方法,终于解决。解决办法:修改 /etc/authorization文件。找到key为system.privilege.taskport 阅读全文
posted @ 2012-12-07 22:20 xuvw 阅读(163) 评论(0) 推荐(0)
摘要:1 保存部分: addAssetsGroupAlbumWithName:resultBlock:failureBlock:Adds a new assets group to the library.- (void)addAssetsGroupAlbumWithName:(NSString*)nameresultBlock:(ALAssetsLibraryGroupResultBlock)resultBlockfailureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlockParametersnameThe name for the ne 阅读全文
posted @ 2012-12-07 18:50 xuvw 阅读(402) 评论(0) 推荐(0)
摘要:1AVQueuePlayer 从ios4.1开始支持多视频无缝连续播放,类似优酷、爱奇艺等客户端应该用到这样的技术--待深入研究2 设置专辑封面 1.MPMediaItem里有一个property叫MPMediaItemPropertyArtwork,具体用法如下: MPMediaItemArtwork *artwork = [[MPMusicPlayerController iPodMusicPlayer].nowPlayingItem valueForProperty: MPMediaItemPropertyArtwork]; UIImage *artworkImage = [art... 阅读全文
posted @ 2012-12-07 16:40 xuvw 阅读(208) 评论(0) 推荐(0)
摘要:1 xcode4.5.2 中.h或.m文件无法引用其他文件解决办法: 今天在项目中已有文件无法引用其他文件,同时自动提示无效,搜索无果。 *删除掉出问题的文件将内容复制过来即可,原因不知。 阅读全文
posted @ 2012-12-06 13:58 xuvw 阅读(256) 评论(0) 推荐(0)
摘要:几种视力保护色 银河白 #FFFFFF rgb(255, 255, 255) 杏仁黄 #FAF9DE rgb(250, 249, 222) 秋叶褐 #FFF2E2 rgb(255, 242, 226) 胭脂红 #FDE6E0 rgb(253, 230, 224) 青草绿 #E3EDCD rgb(227, 237, 205) 海天蓝 #DCE2F1 rgb(220, 226, 241) 葛巾紫 #E9EBFE rgb(233, 235, 254) 极光灰 #EAEAEF rgb(234, 234, 2... 阅读全文
posted @ 2012-12-03 14:47 xuvw 阅读(295) 评论(0) 推荐(0)
摘要:1http://www.sourcemac.com/?page=fstream源码网 阅读全文
posted @ 2012-12-02 23:48 xuvw 阅读(140) 评论(0) 推荐(0)