<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mFabrik - mobile sites, apps, HTML5 and CMS software development &#187; osx</title>
	<atom:link href="http://blog.mfabrik.com/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com</link>
	<description>Freedom delivered.</description>
	<lastBuildDate>Wed, 03 Aug 2011 09:47:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>One-liner to copy remote MySQL database to local computer</title>
		<link>http://blog.mfabrik.com/2011/07/23/one-liner-to-copy-remote-mysql-database-to-local-computer/</link>
		<comments>http://blog.mfabrik.com/2011/07/23/one-liner-to-copy-remote-mysql-database-to-local-computer/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 16:20:58 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[grant]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1325</guid>
		<description><![CDATA[The following commands dump a MySQL database from a remote server and create a corresponding database on the local computer. The instructions have been tested on OSX and Linux (Ubuntu/Debian). On-line SSH compression is applied, so transferring SQL files, which are text content and compress well, should be around 6x faster than normal. (Well… actually [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>The following commands dump a MySQL database from a remote server and create a corresponding database on the local computer.</p>
<p>The instructions have been tested on OSX and Linux (Ubuntu/Debian). On-line SSH compression is applied, so transferring SQL files, which are text content and compress well, should be around 6x faster than normal.</p>
<p>(Well… actually the script is six lines, but because this is my blog I&#8217;ll decide it doesn&#8217;t count)</p>
<p>The script</p>
<ul class="simple">
<li>Remotely runs mysqldump and puts the result to a local file</li>
<li>Creates a MySQL database and corresponding user with full access to this database</li>
<li>Reads the content of mysqldump to the newly created database</li>
</ul>
<pre class="literal-block"> ssh user@dserver.com -C -o CompressionLevel=9 mysqldump -u YOURDATABASEUSER --password=YOURDATABASEPASSWORD --skip-lock-tables --add-drop-table YOURDATABASENAME &gt; YOURDATABASENAME.sql
mysql -uroot -p
create database YOURDATABASENAME;
connect YOURDATABASENAME;
source YOURDATABASENAME.sql
GRANT ALL ON YOURDATABASENAME.* TO 'YOURDATABASEUSER'@'localhost' identified by 'YOURDATABASEPASSWORD';</pre>
<p>Leave out <tt class="docutils literal">create database</tt> and <tt class="docutils literal">GRANT</tt> for the subsequent runs &#8211; all data on the local computer will be replaced.</p>
</div>
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/07/23/one-liner-to-copy-remote-mysql-database-to-local-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing mobile websites with Firefox Mobile for PC (Fennec desktop)</title>
		<link>http://blog.mfabrik.com/2011/07/08/testing-mobile-websites-with-firefox-mobile-for-pc-fennec-desktop/</link>
		<comments>http://blog.mfabrik.com/2011/07/08/testing-mobile-websites-with-firefox-mobile-for-pc-fennec-desktop/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 19:42:01 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[plone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1317</guid>
		<description><![CDATA[Firefox Mobile (Fennec) has also desktop builds. They are very useful for mobile web site testing as the browser is fast, has real keyboard and is only one mouse click away. Here are instructions how to run Firefox Mobile on Ubuntu Linux (tested on 32-bit Ubuntu 10.10) wget http://releases.mozilla.org/pub/mozilla.org/mobile/releases/latest/linux-i686/fennec-5.0.en-US.linux-i686.tar.bz2 tar -xjf fennec-5.0.en-US.linux-i686.tar.bz2 cd fennec ./fennec [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox Mobile (Fennec) has also desktop builds. They are very useful for mobile web site testing as the browser is fast, has real keyboard and is only one mouse click away.</p>
<p>Here are instructions how to run Firefox Mobile on Ubuntu Linux (tested on 32-bit Ubuntu 10.10)</p>
<pre>wget http://releases.mozilla.org/pub/mozilla.org/mobile/releases/latest/linux-i686/fennec-5.0.en-US.linux-i686.tar.bz2
tar -xjf fennec-5.0.en-US.linux-i686.tar.bz2
cd fennec
./fennec</pre>
<p>.. and thats all you need. It works out of the box! 400x times faster than using Android emulator browser.</p>
<p>There are also <a href=" http://releases.mozilla.org/pub/mozilla.org/mobile/releases/latest/">OSX and Windows builds available</a>.</p>
<p><a href="http://blog.mfabrik.com/wp-content/uploads/2011/07/fennec.png"><img class="alignnone size-full wp-image-1318" title="fennec" src="http://blog.mfabrik.com/wp-content/uploads/2011/07/fennec.png" alt="" width="482" height="830" /></a>
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/07/08/testing-mobile-websites-with-firefox-mobile-for-pc-fennec-desktop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Run your Python application using PyPy &#8211; it&#8217;s fast!</title>
		<link>http://blog.mfabrik.com/2011/03/26/run-your-python-application-using-pypy-its-fast/</link>
		<comments>http://blog.mfabrik.com/2011/03/26/run-your-python-application-using-pypy-its-fast/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 18:14:18 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[distribute]]></category>
		<category><![CDATA[easy_install]]></category>
		<category><![CDATA[jit]]></category>
		<category><![CDATA[multiprocessing]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[plac]]></category>
		<category><![CDATA[pypy]]></category>
		<category><![CDATA[setuptools]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1153</guid>
		<description><![CDATA[Try your Python application with PyPy, the new hot Python JIT compiler Your program will run faster&#8230; &#8230; faster&#8230; and ..faster! Here are quick instructions for using PyPy on OSX. You should be able to apply these instructions to other UNIX systems as well. Install PyPy by getting binary tarball. wget http://pypy.org/download/pypy-1.4.1-osx64.tar.bz2 tar -xjf pypy-1.4.1-osx64.tar.bz [...]]]></description>
			<content:encoded><![CDATA[<p>Try your Python application with <a href="http://pypy.org/">PyPy</a>, the new hot Python JIT compiler</p>
<ul>
<li>Your program will run faster&#8230;</li>
<li>&#8230; faster&#8230;</li>
<li>and ..faster!</li>
</ul>
<p>Here are quick instructions for using PyPy on OSX. You should be able to apply these instructions to other UNIX systems as well.</p>
<p><a href="http://pypy.org/download.html">Install PyPy by getting binary tarball</a>.</p>
<pre>wget http://pypy.org/download/pypy-1.4.1-osx64.tar.bz2
tar -xjf pypy-1.4.1-osx64.tar.bz</pre>
<p>Install Distribute / easy_install command (setuptools fork) in order to install third party libraries.</p>
<pre>cd pypy-1.4.1-osx64
wget http://python-distribute.org/distribute_setup.py
bin/pypy distribute_setup.py</pre>
<p>Install libraries &#8211; <em>easy_install</em> seems to run just fine on PyPy as long as you don&#8217;t try to install Python native extensions</p>
<pre>bin/easy_install plac # command line parser
bin/easy_install iso8601 # date format parser</pre>
<p>Then run your application</p>
<pre>~/code/pypy-1.4.1-osx64/bin/pypy exceptionanalysis.py     -s=2010-01-01T00:00:00 /Users/moo/xxx/log/client1.log</pre>
<p>In my case the application was a simple log analyzer based on Python generators (code will be posted later). It reads a text file and tries to interpret it. The script utilizes only one CPU core and thus is very CPU bound. The speed comparison results are</p>
<ul>
<li>With Python 2.4: Completed in 111.08 seconds</li>
<li>With PyPy: Completed in 30.39 seconds</li>
</ul>
<p><strong>That&#8217;s almost 4x speed-up!</strong></p>
<p>Things did not work with PyPy</p>
<ul>
<li>import multiprocessing &#8211; was not hard dependency, needed to comment out in plac_ext</li>
</ul>
<p>Here is the traceback if anyone can help:</p>
<pre>Traceback (most recent call last):
 File "app_main.py", line 53, in run_toplevel
 File "exceptionanalysis.py", line 20, in &lt;module&gt;
 import plac
 File "/Users/moo/code/pypy-1.4.1-osx64/site-packages/plac-0.8.0-py2.5.egg/plac.py", line 35, in &lt;module&gt;
 from plac_ext import Interpreter, import_main, ReadlineInput, stdout, runp, Monitor
 File "/Users/moo/code/pypy-1.4.1-osx64/site-packages/plac-0.8.0-py2.5.egg/plac_ext.py", line 7, in &lt;module&gt;
 import itertools, traceback, multiprocessing, signal, threading
 File "/Users/moo/code/pypy-1.4.1-osx64/site-packages/multiprocessing-2.6.2.1-py2.5-macosx-10.6-i386.egg/multiprocessing/__init__.py", line 87, in &lt;module&gt;
 import _multiprocessing
 File "/Users/moo/code/pypy-1.4.1-osx64/site-packages/multiprocessing-2.6.2.1-py2.5-macosx-10.6-i386.egg/multiprocessing/_multiprocessing.py", line 7, in &lt;module&gt;
 __bootstrap__()
 File "/Users/moo/code/pypy-1.4.1-osx64/site-packages/multiprocessing-2.6.2.1-py2.5-macosx-10.6-i386.egg/multiprocessing/_multiprocessing.py", line 6, in __bootstrap__
 imp.load_dynamic(__name__,__file__)
AttributeError: 'module' object has no attribute 'load_dynamic'</pre>
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/03/26/run-your-python-application-using-pypy-its-fast/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fixing a misbehaving terminal after after software interruption (pdb) or messed up output</title>
		<link>http://blog.mfabrik.com/2011/03/23/fixing-a-misbehaving-terminal-after-after-software-interruption-pdb-or-messed-up-output/</link>
		<comments>http://blog.mfabrik.com/2011/03/23/fixing-a-misbehaving-terminal-after-after-software-interruption-pdb-or-messed-up-output/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 13:07:25 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[plone]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[enter key]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[new line]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[sane]]></category>
		<category><![CDATA[ssty]]></category>
		<category><![CDATA[stops working]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tty]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1147</guid>
		<description><![CDATA[Preface Your terminal on Linux or OSX may end up to a bad state. You cat a binary file to terminal You interrupt pdb or some other application reading lines in a bad way Symptoms New lines don&#8217;t work You cannot see your own typing to terminal Backspace stops working Fix Type command stty sane [...]]]></description>
			<content:encoded><![CDATA[<h2>Preface</h2>
<p>Your terminal on Linux or OSX may end up to a bad state.</p>
<ul>
<li>You cat a binary file to terminal</li>
<li>You interrupt pdb or some other application reading lines in a bad way</li>
</ul>
<h2>Symptoms</h2>
<ul>
<li>New lines don&#8217;t work</li>
<li>You cannot see your own typing to terminal</li>
<li>Backspace stops working</li>
</ul>
<h2>Fix</h2>
<p>Type command</p>
<pre>stty sane</pre>
<p>This may fix some problems without needing to restart the terminal. <a href="http://www.peachpit.com/articles/article.aspx?p=659655&amp;seqNum=13">More info</a>.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/03/23/fixing-a-misbehaving-terminal-after-after-software-interruption-pdb-or-messed-up-output/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Making an offline file system copy of a Plone site using WebDAV</title>
		<link>http://blog.mfabrik.com/2011/03/18/making-an-offline-file-system-copy-of-a-plone-site-using-webdav/</link>
		<comments>http://blog.mfabrik.com/2011/03/18/making-an-offline-file-system-copy-of-a-plone-site-using-webdav/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 09:06:51 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[plone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[all files]]></category>
		<category><![CDATA[cyberduck]]></category>
		<category><![CDATA[doc]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[mass upload]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1133</guid>
		<description><![CDATA[You might want to create an offline copy of a Plone site because You are traveling and you want to have all files on the site (PDFs for reading) You are taking a site down and making the final back-up You just want to feel how cool Plone is Plone supports WebDAV. Creating a file [...]]]></description>
			<content:encoded><![CDATA[<p>You might want to create an offline copy of a Plone site because</p>
<ul>
<li>You are traveling and you want to have all files on the site (PDFs for reading)</li>
<li>You are taking a site down and making the final back-up</li>
<li>You just want to feel how cool Plone is</li>
</ul>
<p><a href="http://plone.org/documentation/kb/webdav">Plone supports WebDAV</a>.</p>
<p>Creating a file system viewable offline copy of a Plone site is a task of</p>
<ul>
<li><a href="http://plone.org/documentation/kb/webdav">Enabling WebDAV</a></li>
<li>Login to site via WebDAV. On OSX use <a href="http://cyberduck.ch/">Cyberduck</a>, Finder (the file browser of OSX itself) may have issues, though works. You might need Zope admin priviledges for certain operations.</li>
<li>Drag and drop Plone site to your hard disk</li>
</ul>
<p>WebDAV copy process works smoothly</p>
<ul>
<li>Folder and page structure is intact</li>
<li>Files are copied as is (think PDFs, Docs)</li>
<li>Images are copied as is</li>
<li>Pages (HTML) are converted to special files, which are still readable in plain-text editor</li>
</ul>
<p>Note that some special folders (acl_users, reference_catalog, etc.) might be exposed through WebDAV, but they are not really copyable. Just ignore these during the copy process.</p>
<p>You can also use WebDAV to mass upload files and images for your image bank instead of manually uploading them through web interface.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/03/18/making-an-offline-file-system-copy-of-a-plone-site-using-webdav/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enable PHP log output (error_log) on XAMPP on OSX</title>
		<link>http://blog.mfabrik.com/2011/03/16/enable-php-log-output-error_log-on-xampp-on-osx/</link>
		<comments>http://blog.mfabrik.com/2011/03/16/enable-php-log-output-error_log-on-xampp-on-osx/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 21:29:18 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[error_log]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[tail]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1124</guid>
		<description><![CDATA[If you are using XAMPP to develop PHP software (WordPress, Joomla!) on OSX you might want to get some advanced logging output from your code. PHP provides nice error_log() function, but it is silent by default. Here are short instructions how to enable it and follow the log. Use your favorite editor to edit php.ini [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> to develop PHP software (WordPress, Joomla!) on OSX you might want to get some advanced logging output from your code. PHP provides nice <a href="http://php.net/manual/en/function.error-log.php">error_log</a>() function, but it is silent by default. Here are short instructions how to enable it and follow the log.</p>
<p>Use your favorite editor to edit php.ini file in <em>/Applications/XAMPP/etc/php.ini</em> &#8211; sudo priviledges needed, <a href="http://www.peterborgapps.com/smultron/">Smultron</a> does it out of the box.</p>
<p>Change lines:</p>
<pre>log_errors = Off</pre>
<pre>;error_log = filename</pre>
<p>To:</p>
<pre>log_errors = on</pre>
<pre>error_log = /tmp/php.log</pre>
<p>Restart Apache using <em>XAMPP controller</em> in <em>Finder -&gt; Applications</em>.</p>
<p>Now use the following UNIX command to see continuous log flow in your terminal:</p>
<pre>tail -f /tmp/php.log
</pre>
<p>See also the earlier article about <a href="http://blog.mfabrik.com/2010/12/22/local-xampp-development-and-unix-file-permissions/">XAMPP and file permissions</a>.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/03/16/enable-php-log-output-error_log-on-xampp-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>scp file copy with on-line compression</title>
		<link>http://blog.mfabrik.com/2011/03/02/scp-file-copy-with-on-line-compression/</link>
		<comments>http://blog.mfabrik.com/2011/03/02/scp-file-copy-with-on-line-compression/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 20:12:22 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[data.fs]]></category>
		<category><![CDATA[level]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[zodb]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1048</guid>
		<description><![CDATA[This might come handy if you need to copy a database file (Data.fs) from the remote server to your local computer: scp -C -o CompressionLevel=9 user@yoursite.com:~/plonefolder/zinstance/var/filestorage/Data.fs . This command line enables real-time compression with the highest compression level. This speeds up copying somewhat, as ZODB database compresses pretty well. Get developers  Subscribe mFabrik blog in [...]]]></description>
			<content:encoded><![CDATA[<p>This might come handy if you need to copy a database file (Data.fs) from the remote server to your local computer:</p>
<pre>scp -C -o CompressionLevel=9 user@yoursite.com:~/plonefolder/zinstance/var/filestorage/Data.fs .</pre>
<p>This command line enables real-time compression with the highest compression level. This speeds up copying somewhat, as ZODB database compresses pretty well.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/03/02/scp-file-copy-with-on-line-compression/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing MySQL-python connector on OSX</title>
		<link>http://blog.mfabrik.com/2011/03/02/installing-mysql-python-connector-on-osx/</link>
		<comments>http://blog.mfabrik.com/2011/03/02/installing-mysql-python-connector-on-osx/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 19:22:29 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[buildout]]></category>
		<category><![CDATA[distribute]]></category>
		<category><![CDATA[easy_install]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[setuptools]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1042</guid>
		<description><![CDATA[Preconditions You are using MySQL installation from mysql.com (and not e.g. from Macports) You want to install MySQL-python egg using easy_install or buildout You&#8217;ll get an error Getting distribution for 'MySQL-python'. install_dir /Users/moo/project/eggs/tmp8-j13e sh: mysql_config: command not found Traceback (most recent call last): File "&#60;string&#62;", line 1, in ? File "/Users/moo/code/collective.buildout.python/python-2.4/lib/python2.4/site-packages/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py", line 1855, in main [...]]]></description>
			<content:encoded><![CDATA[<p>Preconditions</p>
<ul>
<li>You are using MySQL installation from mysql.com (and not e.g. from Macports)</li>
<li>You want to install <a href="http://pypi.python.org/pypi/MySQL-python/">MySQL-python egg</a> using easy_install or buildout</li>
</ul>
<p>You&#8217;ll get an error</p>
<pre>Getting distribution for 'MySQL-python'.
install_dir /Users/moo/project/eggs/tmp8-j13e
sh: mysql_config: command not found
Traceback (most recent call last):
 File "&lt;string&gt;", line 1, in ?
 File "/Users/moo/code/collective.buildout.python/python-2.4/lib/python2.4/site-packages/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py", line 1855, in main
 with_ei_usage(lambda:
 File "/Users/moo/code/collective.buildout.python/python-2.4/lib/python2.4/site-packages/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py", line 1836, in with_ei_usage
 return f()  
...

 31, in &lt;lambda&gt;
 {'__file__':setup_script, '__name__':'__main__'}
 File "setup.py", line 15, in ?
 File "/var/folders/O8/O8pt7q52F7Oi+P3O0pNqq++++TI/-Tmp-/easy_install-g5cvxl/MySQL-python-1.2.3/setup_posix.py", line 43, in get_config
 File "/var/folders/O8/O8pt7q52F7Oi+P3O0pNqq++++TI/-Tmp-/easy_install-g5cvxl/MySQL-python-1.2.3/setup_posix.py", line 24, in mysql_config
EnvironmentError: mysql_config not found
An error occured when trying to install MySQL-python 1.2.3.Look above this message for any errors thatwere output by easy_install.
While:
 Installing instance.
 Getting distribution for 'MySQL-python'.
Error: Couldn't install: MySQL-python 1.2.3</pre>
<p>The reason is that MySQL installer puts MySQL under /usr/local and does not expose MySQL utilites directly to path. MySQL-python expects to find utility <em>mysql_config</em> to configure compile time paths when building native bindings using GCC.</p>
<p>Workaround:</p>
<pre>sudo -i
cd /usr/bin
ln -s /usr/local/mysql-5.1.46-osx10.5-x86_64/bin/mysql_config .</pre>
<p>Then rerun installer.</p>
<p>Though it is a bit harsh solution to modify system folder, it gets the thing done in simple manner.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/03/02/installing-mysql-python-connector-on-osx/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Firefox 4 is awesome &#8211; switching back to it</title>
		<link>http://blog.mfabrik.com/2011/02/13/firefox-4-is-awesome-switching-back-to-it/</link>
		<comments>http://blog.mfabrik.com/2011/02/13/firefox-4-is-awesome-switching-back-to-it/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 16:46:10 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[firefox 4]]></category>
		<category><![CDATA[firegestures]]></category>
		<category><![CDATA[gecko]]></category>
		<category><![CDATA[google apps]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mouse gestures]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[panorama]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[speed dial]]></category>
		<category><![CDATA[tab groups]]></category>
		<category><![CDATA[uaswitcher]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=970</guid>
		<description><![CDATA[Firefox 4 is awesome.  After being a Google Chrome user for one year, I tried Firefox 4 beta 11. I am switching back to Firefox as my primary browser. As a web power user, I found Firefox 4 gives me more efficient tools to get my work done. It is faster, especially it launches and [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 4 is awesome.  After being a Google Chrome user for one year, I tried Firefox 4 beta 11. I am switching back to Firefox as my primary browser. As a web power user, I found Firefox 4 gives me more efficient tools to get my work done.</p>
<ul>
<li>It is faster, especially it launches and opens new tabs faster than Chrome</li>
<li>User interface has some nice new innovations, like non-intrusive Download pop-ups and password update dialogs</li>
<li>Tab groups (Panorama) allows me to create different &#8220;workspaces&#8221; for leisure time, like Facebook surfing, and work time containing tabs for corporate email and calendar</li>
<li>Sync works across my different computers, though Chrome can also do this nowadays</li>
</ul>
<h2>Tab groups</h2>
<p><a href="http://blog.mfabrik.com/wp-content/uploads/2011/02/Screen-shot-2011-02-13-at-6.34.14-PM.png"><img class="alignnone size-full wp-image-973" title="Screen shot 2011-02-13 at 6.34.14 PM" src="http://blog.mfabrik.com/wp-content/uploads/2011/02/Screen-shot-2011-02-13-at-6.34.14-PM.png" alt="" width="712" height="504" /></a></p>
<p>I have been experiementing with following tab groups which mostly correspond my different &#8220;behavior modes&#8221; I have on when working on a computer</p>
<ul>
<li>Work tabs: email, calendar, docs</li>
<li>Social tabs: Facebook, Twitter and such</li>
<li>Plone, Python and other programming related: All documents and links open, for example copy-pasting them to IRC discussion to give support for someone</li>
</ul>
<p>Note that I had to add &#8220;Tab group&#8221; button manually to toolbar, as it was not added there automatically after update. Just right click on empty space next to tabs and choose &#8220;Customize&#8221;</p>
<h2>Add-ons</h2>
<p>Some add-ons I am using and I haven&#8217;t found equally good alternatives on Google Chrome</p>
<ul>
<li><a href="http://www.new-tab-jumpstart.com/">New Tab JumpStart &#8211; </a>speed dial for your recently visited pages and bookmarks when opening a new tab</li>
<li><a href="http://www.xuldev.org/firegestures/">FireGestures</a> &#8211; Mouse gestures which also work on user interface and not just web pages and which do not mess with right button click</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/web-developer/">Web Developer toolbar </a>- test print CSS styles, clear cookies easily, somethign that Firebug doesn&#8217;t do well</li>
<li><a href="http://chrispederick.com/work/user-agent-switcher/">User Agent Switcher</a> (<a href="http://webandmobile.mfabrik.com/docs/web-and-mobile/user-manual/sniffing">needed for mobile site development, some instructions here</a>)</li>
<li>&#8230;. and of course Firebug!</li>
</ul>
<p>I still wish to have add-on sync, so I wouldn&#8217;t need to install add-ons separately on each computer.</p>
<p>Firefox for Mobile (Fennec) does not yet provide as solid experience as its desktop counterpart. Mobile Firefox team definitely need to add some speed to its engine before I can consider it alternative for WebKit on my Android phone. But when it gets there and the sync feature is in the place, I&#8217;ll start using it instantly.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/02/13/firefox-4-is-awesome-switching-back-to-it/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My ZSH prompt and configuration for OSX and Ubuntu Linux</title>
		<link>http://blog.mfabrik.com/2010/12/21/my-zsh-prompt-and-configuration-for-osx-and-ubuntu-linux/</link>
		<comments>http://blog.mfabrik.com/2010/12/21/my-zsh-prompt-and-configuration-for-osx-and-ubuntu-linux/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 15:31:33 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[colours]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[zsh]]></category>
		<category><![CDATA[zshrc]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=882</guid>
		<description><![CDATA[ZSH is a shell replacement for advanced command line users, featuring command autocompletion and such. ZSH works across OSX, BSD and Linux operating systems. Below is my .zshrc configuration file I use on OSX. It is based on Phil!&#8217;s ZSH prompt. It sets up nice colored prompt, colours for ls and some aliases. For OSX, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zsh.org/">ZSH</a> is a shell replacement for advanced command line users, featuring command autocompletion and such. ZSH works across OSX, BSD and Linux operating systems.</p>
<p>Below is my .zshrc configuration file I use on OSX. <a href="http://aperiodic.net/phil/prompt/">It is based on Phil!&#8217;s ZSH prompt</a>. It sets up nice colored prompt, colours for ls and some aliases. For OSX, get ZSH from <a href="www.macports.org">Macports</a>. Any suggestions welcome &#8211; please comment.</p>
<p><a href="http://blog.mfabrik.com/wp-content/uploads/2010/12/Screen-shot-2010-12-21-at-5.26.42-PM.png"><img class="alignnone size-full wp-image-883" title="Screen shot 2010-12-21 at 5.26.42 PM" src="http://blog.mfabrik.com/wp-content/uploads/2010/12/Screen-shot-2010-12-21-at-5.26.42-PM.png" alt="" width="749" height="486" /></a></p>
<pre># This is a modified version of Phil's prompt
# I removed the battery monitor, color and simplified
# the title bar to just the host
#
# Changes by calvinhp
#
# Changes by moo
#
# http://aperiodic.net/phil/prompt/

function precmd {
    local TERMWIDTH
    (( TERMWIDTH = ${COLUMNS} - 1 ))

    # Truncate the path if it's too long.
    PR_FILLBAR=""
    PR_PWDLEN=""

    local promptsize=${#${(%):---%D{%a\,%b %d}-----}}
    local pwdsize=${#${(%):-%d}}

    if [[ "$promptsize + $pwdsize" -gt $TERMWIDTH ]]; then
            ((PR_PWDLEN=$TERMWIDTH - $promptsize))
    else
        PR_FILLBAR="\${(l.(($TERMWIDTH - ($promptsize + $pwdsize)))..${PR_HBAR}.)}"
    fi

    # Only show user in the prompt if it isn't yourself
    # Make sure and set the $ME var in .zshrc
    PR_IMPOSTER=""
    [ "$ME" != "" ] &amp;&amp; [ $(whoami) != "$ME" ] &amp;&amp; PR_IMPOSTER="(%n%)"

    PR_PROJECT=""
    local THIRD_DIR=$(pwd | cut -f 4,5 -d /)
    if [ "$THIRD_DIR" = "sixfeetup/projects" ]; then
        PR_PROJECT="$(pwd | cut -f 6 -d /)"
        [ ! "$PR_PROJECT" = "" ] &amp;&amp; PR_PROJECT="($PR_PROJECT)"
    fi
}

setopt extended_glob
preexec () {
    if [[ "$TERM" == "screen" ]]; then
        local CMD=${1[(wr)^(*=*|sudo|-*)]}
        echo -n "\ek$CMD\e\\"
    fi
}

setprompt () {
    # Need this so the prompt will work.
    setopt prompt_subst

 	autoload colors zsh/terminfo
    if [[ "$terminfo[colors]" -ge 8 ]]; then
		colors
    fi
    for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
        eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
        eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'
        (( count = $count + 1 ))
    done
    PR_NO_COLOUR="%{$terminfo[sgr0]%}"

    # See if we can use extended characters to look nicer.
    typeset -A altchar
    set -A altchar ${(s..)terminfo[acsc]}
    PR_SET_CHARSET="%{$terminfo[enacs]%}"
    PR_SHIFT_IN="%{$terminfo[smacs]%}"
    PR_SHIFT_OUT="%{$terminfo[rmacs]%}"
    PR_HBAR=${altchar[q]:--}
    PR_ULCORNER=${altchar[l]:--}
    PR_LLCORNER=${altchar[m]:--}
    PR_LRCORNER=${altchar[j]:--}
    PR_URCORNER=${altchar[k]:--}

    # Decide if we need to set titlebar text.
    case $TERM in
       xterm*)
           PR_TITLEBAR=$'%{\e]0;%m $PR_IMPOSTER $PR_PROJECT\a%}'
           ;;
       screen)
           PR_TITLEBAR=$'%{\e_screen \005 (\005t) | %m $PR_IMPOSTER\e\\%}'
           ;;
       *)
           PR_TITLEBAR=''
           ;;
    esac

    # Decide whether to set a screen title
    if [[ "$TERM" == "screen" ]]; then
        PR_STITLE=$'%{\ekzsh\e\\%}'
    else
        PR_STITLE=''
    fi

    # Finally, the prompt (removed the color - claytron)
    PROMPT='$PR_SET_CHARSET$PR_STITLE${(e)PR_TITLEBAR}\
$PR_CYAN$PR_SHIFT_IN$PR_ULCORNER$PR_BLUE$PR_HBAR$PR_SHIFT_OUT(\
$PR_MAGENTA%$PR_PWDLEN&lt;...&lt;%~%&lt;&lt;$PR_BLUE)($PR_MAGENTA%(!.%SROOT%s.%n)$PR_GREEN\
$PR_BLUE)$PR_SHIFT_IN$PR_HBAR$PR_CYAN$PR_HBAR${(e)PR_FILLBAR}$PR_BLUE$PR_HBAR$PR_SHIFT_OUT(\
$PR_MAGENTA@%m:%l\
$PR_BLUE)$PR_SHIFT_IN$PR_HBAR$PR_CYAN$PR_URCORNER$PR_SHIFT_OUT\

$PR_CYAN$PR_SHIFT_IN$PR_LLCORNER$PR_BLUE$PR_HBAR$PR_SHIFT_OUT(\
%(?..$PR_LIGHT_RED%?$PR_BLUE:)\
${(e)PR_APM}$PR_YELLOW%D{%H:%M}\
$PR_LIGHT_BLUE:%(!.$PR_RED.$PR_WHITE)%#$PR_BLUE)$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT\
$PR_CYAN$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT\
$PR_NO_COLOUR '
}

setprompt

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

# For OSX users, alias nano to real editor
alias nano="open -a Smultron"

export CLICOLOR=1

# enable ls colors by default - use yellow for directories
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"</pre>
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/12/21/my-zsh-prompt-and-configuration-for-osx-and-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

