SVN – ignore files or directories

Navigate to the svn directory in command line, then enter the below command: # svn propedit svn:ignore . A text editor should be launched with no content. Enter file(s) you wish to ignore, for example: config.* readme.txt Note that this is a per directory setting. Reference: http://blog.bogojoker.com/2008/07/command-line-svnignore-a-file/ […] continue reading »

AppMobi + TestFlight

Download the zip file after a successful iOS ad hoc build Extract the .app folder out of the zip file Create a new folder, “Payload” (case sensitive) Copy the .app folder into the Payload folder Zip the Payload folder Rename the Payload.zip file to Payload.ipa Upload Payload.ipa to testflight Reference: http://forums.appmobi.com/viewtopic.php?f=10&t=963 […] continue reading »

Facebook 應用開發小抄: Add App to Pages

如果只是要讓user加 app 到他的個人 profile tab, 只需要 <fb:add-profile-tab> 就可以了。但若要讓人加到粉絲頁的話呢? 一個URL搞定: http://www.facebook.com/add.php?api_key=[Your App Key]&pages 若要指定預選某粉絲頁: http://www.facebook.com/add.php?api_key=[Your App Key]&pages=1&page=[Page ID] Reference: Facebook JavaScript SDK https://developers.facebook.com/docs/reference/dialogs/add_to_page/ 更新 2012-01-07: https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL […] continue reading »

Plurk 應用開發小抄

發分享文到Plurk的URL格式: http://www.plurk.com/?qualifier=shares&status=<內容> 用 JavaScript 的範例: var s=encodeURIComponent(“http://www.facebook.com/markzuckerberg (MZ) is cool!”); window.open(‘http://www.plurk.com/?qualifier=shares&status=’+s,’_blank’); […] continue reading »