05 2015 档案

linux下mysql常用命令
摘要:转自:http://www.jb51.net/LINUXjishu/36171.html一、总结一下:1.linux下启动mysql的命令:mysqladmin start/ect/init.d/mysql start (前面为mysql的安装路径)2.linux下重启mysql的命令:mysqla... 阅读全文

posted @ 2015-05-10 11:49 码农之上~ 阅读(197) 评论(0) 推荐(0)

LINUX下Apache PHP MySQL的配置与使用
摘要:安装环境:Deepin:2014.3桌面版使用LAMP集成包安装,安装命令:sudo apt-get install lamp^ 安装包安装的是apache2+PHP5+MySQL5如需安装phpMyAdmin,使用命令 sudo apt-get install phpmyadmin1、关于apac... 阅读全文

posted @ 2015-05-10 11:48 码农之上~ 阅读(442) 评论(0) 推荐(0)

NSDate相关
摘要:获取当前时区的时间[NSDate date]获取的是GMT时间,要想获得某个时区的时间,以下代码可以解决这个问题NSDate*date = [NSDatedate];NSTimeZone*zone = [NSTimeZonesystemTimeZone];NSIntegerinterval = [z... 阅读全文

posted @ 2015-05-07 10:49 码农之上~ 阅读(104) 评论(0) 推荐(0)

Xcode6沙盒目录
摘要:刚刚发现Xcode6的iPhone Simulator的位置变了,怒查手册Xcode 5的iOS模拟器的应用的目录是在~/Library/Application Support/iPhone Simulator//Applications/{Application_ID}Xcode 6的目录改为~/... 阅读全文

posted @ 2015-05-03 21:27 码农之上~ 阅读(121) 评论(0) 推荐(0)

UILabel和TextView手动换行
摘要:UILabel 的换行符是 '\n';例如:1 _explainsNotificationLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, 40)];2 _explains... 阅读全文

posted @ 2015-05-03 12:23 码农之上~ 阅读(648) 评论(0) 推荐(0)

IOS开发info.plist中键值的含义
摘要:1.Application does not run in background(鍵名:UIApplicationExistsOnSuspend)自從iOS4.0之後,當你在應用程式執行的時候按下Home鍵,應用程式並不會中斷目前的執行,而是躲到背景去了。因此希望使用者在按下Home鍵之後就要中斷目... 阅读全文

posted @ 2015-05-02 22:26 码农之上~ 阅读(692) 评论(0) 推荐(0)

IOS开发中couldn’t be opened because you don’t have permission to view it的解决
摘要:我出现这个问题是因为:独立修改了info.plist中的Executable file.致使Executable file 与 真实的工程名称(可执行文件)的名称不一致所以只要把 Executable file 的 名称改到和真实的工程名称(可执行文件)一致即可。 阅读全文

posted @ 2015-05-01 16:26 码农之上~ 阅读(2085) 评论(0) 推荐(0)

IOS中launchImage大小
摘要:LaunchImagehttps://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html#//apple_ref/doc/uid/TP40006556-... 阅读全文

posted @ 2015-05-01 14:06 码农之上~ 阅读(2101) 评论(0) 推荐(0)

导航