`
逍遥一狂
  • 浏览: 188340 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
grep -i -r --include=*.xib "TextToFindHere"/PathToSearchHere
Push Notification系统设计   一. 数据库表设计   1. 设备令牌表device_token   device_id: 设备标识,主键 device_type: 设备类型iOS或Android,必须字段 device_token: 设备令牌,设备类型为iOS时必须字段 user_id: 用户标识,可以为空     2 ...
Jira的破解和汉化折腾了好几天,最后很不经意的就OK了 本人亲自测试 Jira版本5.2.4 系统版本CentOS6.2 64位还有Win7旗舰32位,数据库都是MySQL5.1 5.5   本文参考了:http://www.72be.com/threads/1371/  这个帖子1楼是旧办法,只用2楼   总结 ...
原文地址见下面链接:   http://be-evil.org/create-an-x86-emulator-based-height-performance-android-develop-environment.html   不让转载,只能加链接了   使用鼠标: VitualBox右下角Disable Mouse Integration (Host + I)这个图标变成黄色就可以了   启动参数: 启动菜单里,按Tab可以自定义参数 e编辑 vga=ask 可以选择分辨率     使用桥接网络可以获取到IP地址     快捷键: command ...
原因是多个Target,或者有Target是库,不是可执行包,例如Three20   将其他Target和Static Library的编译选项里面的Skip Install设置为YES就好了
貌似这是Eclispe或者ADT的一个Bug 工程目录下有个隐藏文件.classpath,修改这个文件,确保有红色部分             <classpathentry exported="true" kind="lib" path="lib/charts4j-1.3.jar"/> <classpathentry exported="true" kind="lib" path="lib/commons-codec.jar"/> &l ...
  你的Xcode4是否变慢了,下面是我试验过的一些设置,Xcode4提升速度小提示   1. 重新安装。前提是保证彻底卸载,完全卸载使用下面命令:       sudo /Developer/Library/uninstall-devtools --mode=all       逼急了才用的方法   2. 使用32位模式运行Xcode       在Finder里,找到/Developer/Application/XCode.app,右击,菜单里选择Get Info,然后选中Open in 32-bit mode   3. 删除project.xcworkspace文件 ...
1. 在服务器上创建Git管理员帐号git $sudo adduser git   2. 在客户端创建管理员公匙(Unix/Linux) $ssh-keygen 然后一路回车,提示成功后生成2个文件 ~/.ssh/id_rsa ~/.ssh/id_rsa.pub (公匙)   3. 在客户端将公匙上传到服务器上管理员的主目录(没装SSH就发邮件吧:),并重命名为git.pub $scp ~/.ssh/id_rsa.pub git@YOUR_SERVER:/home/git/git.pub   4. 在服务器上安装git-core $sudo apt-get instal ...
目标是删除/system/etc/security/otacerts.zip   1,必须取得root权限 2,必须将/system加载成可写的 3,删除或者改名   可以用下面脚本   mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system cd /system/etc/security mv otacerts.zip otacerts.zip.bak   也可以用 root explorer and go to system>etc>security and rename the ota ...
因为有些Web Service参数要求有顺序,所以参数使用了NSArray   + (NSData *) SoapCall:(NSString *)method  PostData:(NSString *)post {     NSData *postData = [post dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:NO];     NSString *postLength = [NSString stringWithFormat:@"%d", [postData length]] ...
使用下面命令   sudo /Developer/Library/uninstall-devtools --mode=all  
  转载自  http://www.cocoachina.com/bbs/read.php?tid-7316.html   把ipa改成zip,解压开,修改里面Info.plist文件 增加下面2行     <key>SignerIdentity</key> <string>Apple iPhone OS Application Signing</string>
for(UIView *subview in alert.subviews) { if([[subview class] isSubclassOfClass:[UILabel class]]) { UILabel *label = (UILabel*)subview; label.textAlignment = UITextAlignmentLeft; } }
设置方法   http://www.eclipsezone.com/eclipse/forums/t77655.html   Mac上的参数改为 Location:   /usr/bin/osascript Argument:    -e "tell application \"Finder\"" -e "reveal POSIX file \"${resource_loc}\"" -e "activate" -e "end tell"
  使用Three20时要把-all_load和-ObjC两个编译选项加进去,为什么呢?不加又如何?不加编译有可能通过,但运行时可能找不到需要的类,官方解释是加入-all_load是为了避免GCC的linker的一个bug,该bug可能导致你在使用静态库的时候找不到相应的类,但有一个问题,用了这个选项以后linker会去遍历所有的静态库,这个行为可能造成不同静态库之间的不兼容,比如有些库就不能用-all_load,解决方法是用-force_load-force_load是XCode3.2加入的一个选项,使用方法也很简单只要在-force_load后面跟上要load的库的
Global site tag (gtag.js) - Google Analytics