<?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>Gepatto Blog &#187; LifeSavers</title>
	<atom:link href="http://blog.gepatto.nl/category/lifesavers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gepatto.nl</link>
	<description>Who needs a tagline anyway?</description>
	<lastBuildDate>Mon, 17 May 2010 13:34:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Xcode Duplicate line</title>
		<link>http://blog.gepatto.nl/2010/05/17/xcode-duplicate-line/</link>
		<comments>http://blog.gepatto.nl/2010/05/17/xcode-duplicate-line/#comments</comments>
		<pubDate>Mon, 17 May 2010 13:28:01 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[LifeSavers]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=240</guid>
		<description><![CDATA[So I have started working in xcode, and the first thing I was missing was some key bindings for duplicating a line up or down like eclipse does. I took a while to figure out how to do it. So here&#8217;s an explanation. (I&#8217;m using xcode 3.2) Make a duplicate of the xcode keybindings set [...]]]></description>
			<content:encoded><![CDATA[<p>So I have started working in xcode, and the first thing I was missing was some key bindings for duplicating a line up or down like eclipse does.<br />
I took a while to figure out how to do it. So here&#8217;s an explanation. (I&#8217;m using xcode 3.2)<br />
<strong>Make a duplicate of the xcode keybinding</strong>s set in the xcode preferences: (i named mine patrick <img src='http://blog.gepatto.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://blog.gepatto.nl/wp-content/uploads/2010/05/xcodepref.png" rel="shadowbox[post-240];player=img;"><img class="alignnone size-full wp-image-241" title="xcode preferences" src="http://blog.gepatto.nl/wp-content/uploads/2010/05/xcodepref.png" alt="" width="790" height="398" /></a></p>
<p><strong><br />
Close xcode</strong></p>
<p>You should be able to find the file xode created in<br />
<code>/Users/YOURUSERNAME/Library/Application Support/Xcode/Key Bindings</code><br />
for me it is called Patrick.pbxkeys</p>
<p><strong>Edit this file with the property editor.</strong><br />
From the view menu select :<br />
<code>Show Strings as Non-lossy ASCII</code></p>
<p><a href="http://blog.gepatto.nl/wp-content/uploads/2010/05/showasnonlossyascii.png" rel="shadowbox[post-240];player=img;"><img class="alignnone size-full wp-image-242" title="show strings as non-lossy ascii" src="http://blog.gepatto.nl/wp-content/uploads/2010/05/showasnonlossyascii.png" alt="" width="269" height="100" /></a></p>
<p>Add 2 children as follows<br />
<a href="http://blog.gepatto.nl/wp-content/uploads/2010/05/proplistedit.png" rel="shadowbox[post-240];player=img;"><img class="alignnone size-full wp-image-243" title="property list editor" src="http://blog.gepatto.nl/wp-content/uploads/2010/05/proplistedit.png" alt="" width="631" height="277" /></a></p>
<p><strong>Save, and open up xcode</strong></p>
<p><strong>ctrl+shift+uparrow</strong> should now duplicate the current line upwards<br />
<strong>ctrl+shift+downarrow</strong> should now duplicate the current line downwards</p>
<h2><span style="color: #339966;"><strong>happy coding</strong></span></h2>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2010/05/17/xcode-duplicate-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to Snow Leopard a.k.a 10.6</title>
		<link>http://blog.gepatto.nl/2009/09/01/upgrading-to-snow-leopard-a-k-a-10-6/</link>
		<comments>http://blog.gepatto.nl/2009/09/01/upgrading-to-snow-leopard-a-k-a-10-6/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 12:43:43 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[LifeSavers]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=180</guid>
		<description><![CDATA[So I&#8217;m upgrading my MBP to 10.6. Since this is my production machine I&#8217;m taking no chances. I bought an external 7200rpm 2,5&#8221; HD and installed 10.6 onto this drive. Once this installation is as stable as I would like it to be, I&#8217;ll be swapping the internal HD for this one (leaving me with [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m upgrading my MBP to 10.6.<br />
Since this is my production machine  I&#8217;m taking no chances.<br />
I bought an external 7200rpm 2,5&#8221; HD  and installed 10.6 onto this drive.<br />
Once this installation is as stable as I would like it to be, I&#8217;ll be swapping the internal HD for this one (leaving me with a backup OS in case of emergencies).</p>
<p>So far all my apps seem to be running just fine.</p>
<p>I&#8217;ll be keeping a list here for all minor/major tweaks that were necessary to get everything running.</p>
<p><strong>Enabling PHP and MYSQL</strong></p>
<p>First of all edit /etc/apache2/httpd.conf and uncomment the following line<br />
<code>loadModule php5_module      libexec/apache2/libphp5.so</code></p>
<p>Next install Mysql, get the latest version (now still says osx 10.5, but it will run!)<br />
<a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg">http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg</a></p>
<p>copy php.ini.default to php.ini  (don&#8217;t forget to make it writable first)</p>
<p>edit default_socket properties: I&#8217;m using pdo so I had to change the following line<br />
<code>pdo_mysql.default_socket=/var/mysql/mysql.sock</code><br />
to<br />
<code>pdo_mysql.default_socket=/tmp/mysql.sock</code></p>
<p>edit the default timezone, i.e:<br />
<code>date.timezone = Europe/Amsterdam</code></p>
<p>edit some properties like  upload size memory limit</p>
<p><strong>start mysql</strong> , add at least one user since by default there&#8217;s only root without a password<br />
(use sequel pro, It&#8217;s a nice opensource and free DB-tool)</p>
<p><strong>now restart apache</strong><br />
<code>sudo apachectl graceful</code></p>
<p>&#8230; you can now develop local php-sites</p>
<p>&#8230;..<br />
more to come&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/09/01/upgrading-to-snow-leopard-a-k-a-10-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
