原创 日常編碼記錄

cell裏面點擊不同的button顏色變化: - (IBAction)SelectColor:(UIButton *)sender {     for (UIView *view in [self.contentView subviews

原创 重啓Mac上的Apache服務命令

停止服務:sudo /usr/sbin/apachectl stop 開啓服務:sudo /usr/sbin/apachectl start 重啓服務:sudo /usr/sbin/apachectl restart

原创 ios10下的通知更新

還需要在註冊成功的block添加: [[UIApplication sharedApplication] registerForRemoteNotifications];

原创 官網跟這裏不能下載了,請大家到這個網站下載 FinalSpeed.org

原文:https://github.com/d1sm/finalspeed/issues/74 官網跟這裏不能下載了,請大家到這個網站下載 http://finalspeed.org/http://finalspeed.org/fs/f

原创 如何使用mysql命令行

原文:http://jingyan.baidu.com/article/5bbb5a1b2b110213eba179d2.html 現在向大家介紹mysql命令行下,從數據庫的建立到表數據的刪除全過程 登陸mysql 打cmd命令

原创 Mac OS X中配置Apache

原文:http://www.cnblogs.com/snandy/archive/2012/11/13/2765381.html 我使用的Mac OS X版本是10.8.2,Mac自帶了Apache環境。 啓動Apache設置虛擬主機

原创 ReactiveCocoa的舉例

原帖:http://www.cocoachina.com/ios/20150123/10994.html -(void)initUI { [self.txtUsername.rac_textSignal subscribeNex

原创 在Linux/Mac下面刪除所有的.svn文件

原文:http://blog.csdn.net/enuola/article/details/12494861 在使用svn管理代碼的時候,如果提交原有的svn管理下的project到新的svn目錄下時,需要先刪除原有的文件夾裏面的

原创 最新Windows 10正式版密鑰,Win10激活序列號KEY大全

原文:http://www.iixiang.com/ITzixun/2015-07-30/415.html 2015年10月6號更新永久激活方法:http://www.iixiang.com/aigaoji/xitonganzhuan

原创 socket服務器的搭建-Mac

原文:http://m.blog.csdn.net/article/details?id=51126881 socket服務器可通過python來搭建 在終端輸入命名: python chatserver.py 看到提示:Ip

原创 CocoaPods安裝和使用教程

原文鏈接:http://code4app.com/article/cocoapods-install-usage 目錄 CocoaPods是什麼?如何下載和安裝CocoaPods?如何使用CocoaPods? 場景1:利用CocoaPod

原创 html基本模塊

<!DOCTYPE html> <html lang="en"> <head>    <title>網頁名稱</title>     <meta http-equiv="Content-Type" con

原创 Auto property synthesis will not synthesize property 'description' because it is 'readwrite' but it

解析後臺返回的json數據時,推薦使用MJExtension ,使用起來很方便 github:https://github.com/CoderMJLee/MJExtension 在AModel.h中 @property(nonato

原创 CocoaPods pod install/pod update更新慢的問題

最近使用CocoaPods來添加第三方類庫,無論是執行pod install還是pod update都卡在了Analyzing dependencies不動 原因在於當執行以上兩個命令的時候會升級CocoaPods的spec倉庫,加

原创 Git 忽略一些文件不加入版本控制

   git update-index --no-assume-unchanged Podfile.lock   git update-index --no-assume-unchanged ksbk.x