PHP on Google App Engine

You can follow the official install page to install Google App Engine for PHP, or follow my steps here. I am using osx 10.8.3 and I use brew instead of macport. First you will need to get php 5.4. What you have is probably 5.3. You can verify by php -v, and something like this comes out. PHP 5.3.15 with Suhosin-Patch (cli) (built: Aug 24 2012 17:45:44) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies That’s the default/latest php version for osx 10.8.3. To install php 5.4 using brew, according to https://github.com/josegonzalez/homebrew-php, do the following. ...

May 16, 2013 · 3 min · birdchan

Excel to JSON

Here is my little side project to convert excel files to json objects. I mainly used the Google App Engine and the Python xlrd module. Feel free to try it out at http://excel2json.appspot.com/. curl -F f=@my_file.xls http://excel2json.appspot.com/2json All you need is just one line of code!

February 7, 2013 · 1 min · birdchan