<?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>My two ¢&#039;s &#187; MacOSX</title>
	<atom:link href="http://www.linuxaddicted.de/blog/category/macosx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxaddicted.de/blog</link>
	<description>A Gentoo addict, linux admin and developer</description>
	<lastBuildDate>Wed, 31 Mar 2010 12:12:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using Django with Komodo IDE</title>
		<link>http://www.linuxaddicted.de/blog/2009/02/10/using-django-with-komodo-ide/</link>
		<comments>http://www.linuxaddicted.de/blog/2009/02/10/using-django-with-komodo-ide/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 20:44:58 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[Komodo]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.linuxaddicted.de/blog/?p=194</guid>
		<description><![CDATA[<p style="text-align: left;">I recently started to work on a new Django project and tried use my default IDE: Komodo IDE. Unfortunately it didn&#8217;t work out the way i wanted. Code cpmpletion didn&#8217;t work just as the import of my app. Here&#8217;s how i solved it:</p> <p></p> Add a new Python import directory: Preferences -&#62; <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.linuxaddicted.de/blog/2009/02/10/using-django-with-komodo-ide/">Using Django with Komodo IDE</a></span>]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I recently started to work on a new <a title="Django" href="http://www.djangoproject.org/" target="_blank">Django</a> project and tried use my default IDE: Komodo IDE. Unfortunately it didn&#8217;t work out the way i wanted. Code cpmpletion didn&#8217;t work just as the import of my app. Here&#8217;s how i solved it:</p>
<p><span id="more-194"></span></p>
<ol style="text-align: left;">
<li>Add a new Python import directory: <strong>Preferences -&gt; Languages -&gt; Python<br />
</strong><br />
My Django resides in /Library/Python/2.5/site-packages. Your installation may be in a different location.</p>
<p style="text-align: left;">
<p style="text-align: center;"><img class="size-full wp-image-196 aligncenter" title="komodo_prefs" src="http://www.linuxaddicted.de/blog/wp-content/uploads/2009/02/komodo_prefs.png" alt="komodo_prefs" width="447" height="307" /></p>
</li>
<li>Create a Komodo project for your new Django project and edit it&#8217;s properties: <strong>Properties -&gt; Languages -&gt; Python </strong>My project resides in /Users/dkerwin/development/django/stag_party with several application inside.</li>
<p style="text-align: center;"><img class="size-full wp-image-198 aligncenter" title="project_import" src="http://www.linuxaddicted.de/blog/wp-content/uploads/2009/02/project_import.png" alt="project_import" width="414" height="207" /></p>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxaddicted.de/blog/2009/02/10/using-django-with-komodo-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing iPython under MacOS X</title>
		<link>http://www.linuxaddicted.de/blog/2009/02/02/installing-ipython-under-macos-x/</link>
		<comments>http://www.linuxaddicted.de/blog/2009/02/02/installing-ipython-under-macos-x/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 12:54:14 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.linuxaddicted.de/blog/?p=188</guid>
		<description><![CDATA[<p>If you don&#8217;t know iPython by now:  check it out</p> <p>It&#8217;s a pretty nice tool if you work with python from the terminal. Especially the easy way to get information about modules and functions. The easiest way to install (especially in a Mac environment) is to use the &#8220;alldeps&#8221; tarball.</p> <p></p> deathstar-mac ~ $ <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.linuxaddicted.de/blog/2009/02/02/installing-ipython-under-macos-x/">Installing iPython under MacOS X</a></span>]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t know iPython by now:  <a href="http://ipython.scipy.org/moin/">check it out</a></p>
<p>It&#8217;s a pretty nice tool if you work with python from the terminal. Especially the easy way to get information about modules and functions. The easiest way to install (especially in a Mac environment) is to use the &#8220;alldeps&#8221; tarball.</p>
<p><span id="more-188"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">deathstar-mac ~ $ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>ipython.scipy.org<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span>alldeps<span style="color: #000000; font-weight: bold;">/</span>ipython-alldeps-0.9.1.tar
deathstar-mac ~ $ <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf ipython-alldeps-0.9.1.tar
deathstar-mac ~ $ <span style="color: #7a0874; font-weight: bold;">cd</span> ipython-alldeps-0.9.1.tar
deathstar-mac ~ $ <span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p>The default install location is ~/usr/local. You may change this by modifying the install scripts but for now use the default. Now it&#8217;s time to make some modifications to your profile. Add the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">deathstar-mac ~ $ <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$PATH</span>:/Users/YOUR_USERNAME/usr/local/bin&quot;</span>
deathstar-mac ~ $ <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PYTHONPATH</span>=<span style="color: #007800;">$PYTHONPATH</span>:<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>YOUR_USERNAME<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>python2.5<span style="color: #000000; font-weight: bold;">/</span>site-packages</pre></div></div>

<p>Let&#8217;s complete the installation process:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">deathstar-mac ~ $ iptest
deathstar-mac ~ $ <span style="color: #7a0874; font-weight: bold;">cd</span> ipython-alldeps-0.9.1<span style="color: #000000; font-weight: bold;">/</span>ipython-0.9.1
deathstar-mac ~ $ python setup.py <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
&nbsp;
deathstar-mac ~ $ ipython
Leopard libedit detected.
Python 2.5.1 <span style="color: #7a0874; font-weight: bold;">&#40;</span>r251:<span style="color: #000000;">54863</span>, Apr <span style="color: #000000;">15</span> <span style="color: #000000;">2008</span>, <span style="color: #000000;">22</span>:<span style="color: #000000;">57</span>:<span style="color: #000000;">26</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> 
Type <span style="color: #ff0000;">&quot;copyright&quot;</span>, <span style="color: #ff0000;">&quot;credits&quot;</span> or <span style="color: #ff0000;">&quot;license&quot;</span> <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">more</span> information.
&nbsp;
IPython 0.9.1 <span style="color: #660033;">--</span> An enhanced Interactive Python.
?         -<span style="color: #000000; font-weight: bold;">&gt;</span> Introduction and overview of IPython<span style="color: #ff0000;">'s features.
%quickref -&gt; Quick reference.
help      -&gt; Python'</span>s own <span style="color: #7a0874; font-weight: bold;">help</span> system.
object?   -<span style="color: #000000; font-weight: bold;">&gt;</span> Details about <span style="color: #ff0000;">'object'</span>. ?object also works, ?? prints more.
&nbsp;
In <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>:</pre></div></div>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxaddicted.de/blog/2009/02/02/installing-ipython-under-macos-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful BASH setting: Ignore duplicate commands</title>
		<link>http://www.linuxaddicted.de/blog/2008/12/03/useful-bash-setting-ignore-duplicate-commands/</link>
		<comments>http://www.linuxaddicted.de/blog/2008/12/03/useful-bash-setting-ignore-duplicate-commands/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 13:31:16 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.linuxaddicted.de/blog/?p=154</guid>
		<description><![CDATA[<p>There are many settings that make BASH even more usable. As many people doesn&#8217;t seem to know this particular parameter i post it here:</p> HISTCONTROL=&#34;ignoredups&#34; <p>This setting in bashrc or profile makes BASH ignore duplicate commands when searching the history. It&#8217;s pretty useful if you had entered the same command several times.</p> ]]></description>
			<content:encoded><![CDATA[<p>There are many settings that make BASH even more usable. As many people doesn&#8217;t seem to know this particular parameter i post it here:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">HISTCONTROL</span>=<span style="color: #ff0000;">&quot;ignoredups&quot;</span></pre></div></div>

<p>This setting in bashrc or profile makes BASH ignore duplicate commands when searching the history. It&#8217;s pretty useful if you had entered the same command several times.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxaddicted.de/blog/2008/12/03/useful-bash-setting-ignore-duplicate-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

