
It’s now on AppStore, and also reviewed by Beautiful Pixels.
Pages
Categories
Archives

It’s now on AppStore, and also reviewed by Beautiful Pixels.
The trick is to double-quote the sub-directory to be excluded:
zip -r blog_20111108 blog -x "blog/public/assets/*"
After upgraded to Lion, Web Sharing cannot be started. In my case, it’s caused by the missing fastcgi_module. To fix, open httpd.conf in /etc/apache2/ and comment it out:
LoadModule php5_module libexec/apache2/libphp5.so # LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
To uninstall php-osx, in /etc/apache2/httpd.conf, change:
LoadModule php5_module /usr/local/php5/libphp5.so
to
LoadModule php5_module libexec/apache2/libphp5.so
optionally, remove:
/usr/local/php5-*
Source: https://github.com/liip/php-osx/issues/7#issuecomment-1653742
For whatever reason, here is how to downgrade gem from 1.5.0 to 1.4.2:
sudo if needed.
There are two challenges when building Fuego on iPhone:
I created an iPhone project. To build:
Fuego 1.0, iOS 4.2.
Enjoy~

If there is an error when staring a Rails application via a MySQL connection:
Status: 500 Internal Server Error
uninitialized constant MysqlCompat::MysqlRes
Assume MySQL is already installed, for example, via homebrew:
or other means.
1. Un-install the existing mysql gem (if any):
2. Locate the ‘mysql_config’ file:
3. Re-install mysql gem:
Note: replace ‘/usr/local/bin/’ with the corresponding mysql_config path found in step 2.
cheers~
這是一個經常遇到的問題,我推薦三個方法:
1 書本
Beginning iPhone 3 Development: Exploring the iPhone SDK
iPhone Programming: The Big Nerd Ranch Guide
2 課程
Stanford University iPhone Application Development (Winter 2010)
CS 193P iPhone Application Development
3 文檔
Apple Creating an iPhone Application
iOS Application Programming Guide
當然,沒有什麼比實戰更重要,打開 Xcode,開始吧!