原创 [git] HOWTO work with git flow

Git Flow印象 原文地址:http://www.jiangyouxin.net/2013/02/11/git_flow.html 在github的項目主頁上是這麼介紹的:(git flow is) Git extensions

原创 [mac] ssd trim

有些剛升級10.8.3的朋友也許會發現,trim已經關閉了。若你得trim被關閉了,那我們需要重新開啓。以前的方法似乎不太管用。現在附上新的方法。(沒關閉的那就繼續爽着吧)這裏我還得多說一句,有些同學可能不太明白,如果你得電腦出場時候就已

原创 decompile-java

反編譯apk: apktool : http://code.google.com/p/android-apktool/  linux,win,mac dex2jar : http://code.google.com/p/dex2jar/

原创 [cocos2dx] schedule

I just describe my case.  Environment: ios, javascript.  In my case, schedule work flow is listed beblow. CCDisplayL

原创 how to install windows7 on macpro md101 by BootCamp in osx 10.9

first of all, don`t waste your time trying to install windows7 on the secondary hard drive. how to install windows7 on

原创 how-to setup apache on mac

在10.8以後, 需要 1. nano /etc/apache2/users/pengcheng.conf 在其中加入, 其中pengcheng/Sites這個文件夾如果不存在, 可以自行建立. <Directory "/Users/pe

原创 [object-c] self and super

   在 Objective-C 中的類實現中經常看到這兩個關鍵字 ”self” 和 ”super”,以以前 oop 語言的經驗,拿 c++ 爲例,self 相當於 this,super 相當於調用父類的方法,這麼看起來是很容易理解的。

原创 [Node JS] Node JS 要點

1. no http server. PHP->User  :   PHP interpretor - > HTTP interpretor(Apache, IIS, Nginx) -> browser - > user Node JS

原创 [git] HOWTO-work with git

查看版本號 cat .git/refs/heads/cn/develop 添加一個遠程地址 git remote add 顯示所有的遠程地址  git remote -v 查看遠程服務端 git remote show origin

原创 [ios]howto - IPAD運行IPHONE程序全屏

1. 打開Info.plist 2. 修改(如果沒有則創建UIDeviceFamily - > (array), 保證UIDeviceFamily下面有item0 ->1 (number), item1 -> 2(number) 3. 打

原创 [objective-c] self

今天新同事問了一些關於什麼時候用全局變量,什麼時候用self.賦值的問題,所以筆者在此說明一下。 何時使用self.在網上搜索或者論壇裏的回覆大多都是簡簡單單的說這與objc的存取方法有關,如何與存取方式有關究竟他們之間的是什麼樣

原创 vim 記錄

1. 設置行數顯示     :set number 2. tab設置, 放到~/.vimrc中, 或者每次噁心的在vim中輸入.     :set tabstop=4     :set shiftwidth=4     :set expa

原创 HOWTO-GIT-create a patch and appl

轉自 http://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/ Git is quite common nowadays and a lot of

原创 [V8] 在C++中應用Google Chrome腳本引擎——V8

誰不想知道虛擬機是怎樣工作的?不過,比起自己寫一個虛擬機,更好的辦法是使用大公司的產品。在這篇文章中,我將向你介紹怎樣在你的程序中使用V8——谷歌瀏覽器(Chrome)所使用的開源JavaScript引擎。 原文地址:ht

原创 armv6 armv7 armv7s架構的區別

armv6 armv7 armv7s架構的區別   (2013-02-04 14:39:49)   分類: iOS arm結構處理器,幾乎所有的手機都基於arm,其在嵌入式系統中應用非常廣泛。 ARM 處理器因爲低功耗和小