Tag Archives: os x

Google Blog Converters: blogger2wordpress

Yesterday, while using the Google Blog Converters to migrate a blog from Blogger to WordPress (see the “Plan B” section of Migrating an old Blogger blog to WordPress), I encountered the following error: $ google-blog-converters-r89/bin/blogger2wordpress.sh blog-12-27-2011.xml > wordpress-blog-12-27-2011.xml Traceback (most recent call last): File “google-blog-converters-r89/bin/../src/blogger2wordpress/b2wp.py”, line 28, in <module> import wordpress File “/Users/username/Downloads/google-blog-converters-r89/src/blogger2wordpress/wordpress.py”, line 55, [...]

Posted in essays | Also tagged , , , | 2 Comments

Rebuilding the Android NDK for Objective-C Support

How to make the Android NDK compile Objective-C! Many thanks to Jackie Gleason (@LifeIsTooShort) for his M3 Conference (@M3Conf) presentation, Adding Objective-C Support to the Android NDK, upon which most of this tutorial is based. DOWNLOAD AND PATCH THE ANDROID NDK TOOLCHAIN SOURCES Using the terminal, create a directory for your toolchain sources: mkdir -p [...]

Posted in essays | Also tagged , , , | 2 Comments

Command-Line File Encryption and Decryption using OpenSSL

To encrypt file.txt (you will be prompted for a password): openssl aes-256-cbc -salt -in file.txt -out file.txt.enc To decrypt file.txt.enc (you will be prompted for the password used to encrypt): openssl aes-256-cbc -d -in file.txt.enc -out file.txt — Simple File Encryption with OpenSSL. Dryer, Tom. Tombuntu. 12 Dec. 2007.

Posted in links | Also tagged , , , , | Leave a comment

iTunes Song as iChat Away Status

Choose “Custom Away…”, then enter the following EXACTLY: %Track – %Artist Now I can work and share my playlist, while discouraging social distractions. My friends and colleagues know when it comes to my chat status: Red light STOP. Green light GO. The technique works for me using iChat 5.0.1 on Snow Leopard 10.6.2. YMMV. via [...]

Posted in essays | Also tagged | Leave a comment

PHP 5.3 for Mac OS X 10.5 (Leopard)

Link: PHP 5.3 for Mac OS X 10.5 (Leopard) Thank you Marc Liyanage!

Posted in links | Also tagged | Leave a comment

CakePHP Migrations on Mac OS X 10.6 Snow Leopard

Enable PHP, install PEAR, update system PATH, and update PHP include_path Open Terminal and install MDB2: cd /usr/local sudo pear install MDB2-2.5.0b2 sudo pear install MDB2_Driver_mysql-1.5.0b2 And then… Install CakePHP DB Migrations If MDB2 throws a “Native Code: 2002″ error when you “cake migrate” or “cake populate”, PHP is probably looking for mysql.sock in a [...]

Posted in essays | Also tagged , | Leave a comment

CakePHP Command-Line Console in Mac OS X Snow Leopard

The instructions below should work for all versions of Mac OS X. YMMV. You may substitute .profile for .bash_profile. Older versions of Mac OS X may need to substitute “nano” for “pico”. nano ~/.bash_profile Add or edit the PATH line to get “cake bake …” working within your app/ directory: PATH=”$PATH:../cake/console/” If you want “cake [...]

Posted in essays | Also tagged , , | Leave a comment

CakePHP + mod_rewrite on Snow Leopard

Creating a CakePHP 1.2.5 app on a Snow Leopard machine, which comes with PHP 5.3, I encountered the following error when I tried to run the app: “The requested URL /Users/username/Sites/cakeapp/app/webroot/ was not found on this server.” The solution is to use the RewriteBase directive in ~/Sites/cakeapp/.htaccess: <IfModule mod_rewrite.c> RewriteEngine On # NOTE THE TILDE: [...]

Posted in essays | Also tagged , , , | Leave a comment

Internet Explorer on OS X Leopard

Verify X11 is working on Leopard by opening X11 (Applications > Utilities > X11) and verifying you see an xterm. If not, download XQuartz community-sponsored X11 update (until Apple produces its own). Download and run Darwine. Download and run ies4osx. ies4osx menu: Choose Internet Explorer 6. ies4osx will download and install IE6 to Desktop. Run [...]

Posted in essays | Tagged | Leave a comment

[ies4osx](http://www.kronenberg.org/ies4osx/) + [Darwine](http://www.kronenberg.org/darwine/) + [XQuartz](http://xquartz.macosforge.org/trac/wiki/X112.1.4) = IE6 on Leopard, albeit with temporary PNG transparency bug.

Posted in photos | Tagged | Leave a comment