Warning: Creating default object from empty value in /home/aska/public_html/blog/wp-content/themes/launch/framework/zilla-theme-functions.php on line 141
Aska's Blog | 遊記 × 科技 × 牙祭 × 設計

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/

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

旅遊日本語

【購物】

  • 消费税(しょうひぜい)の払(はら)い戻(もど)しはできますか?
  • 免税品(めんぜいひん)ですか?

How to retrieve exchange rate info from Yahoo! Finance API

Format:
http://quote.yahoo.com/d/quotes.csv?s={from-currency}{to-currency}=X&f=sl1&e=.csv

Example:
http://quote.yahoo.com/d/quotes.csv?s=USDAUD=X&f=sl1&e=.csv

Specify multiple currency pairs:
http://quote.yahoo.com/d/quotes.csv?s=AUDTWD=X+USDAUD=X+HKDTWD=X&f=sl1&e=.csv

For more info about the “f” field:
http://www.gummy-stuff.org/Yahoo-data.htm

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:

更新 2012-01-07:

https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL

Facebook 應用開發小抄:連結分享

發分享文到Facebook的URL格式:
http://www.facebook.com/sharer.php?u=<url>&t=<title>

Facebook 會自行偵測該頁面上的內容,開發人員若要指定這些文字/小圖檔的話,可參考官方說明

Fix for iPhone Tethering CiscoVPN Error 51

Simply do the following in Terminal after you’ve tethered with your iphone:
$ sudo SystemStarter restart CiscoVPN

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’);

iPhone Web App Development Resources

Some links that may be useful if you are thinking of building iPhone Web Apps.
Continue Reading

2010 新年新希望

1. Maintain a blog
2. Build an iPhone app
3. Create a mobile frontend for kashbook
4. Build a cloud-based service
5. PMP certification