<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Erik Bauffman</title>
	
	<link>http://blog.bauffman.be</link>
	<description>Erik Bauffman, bits and pieces</description>
	<lastBuildDate>Fri, 30 Mar 2012 09:23:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/bauffman" /><feedburner:info uri="bauffman" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Delete all tables in a MySQL database</title>
		<link>http://blog.bauffman.be/2012/03/30/delete-all-tables-in-a-mysql-database/</link>
		<comments>http://blog.bauffman.be/2012/03/30/delete-all-tables-in-a-mysql-database/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 09:23:10 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[drop tables]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=230</guid>
		<description><![CDATA[I was looking for a script to delete all tables in a MySQL database without having to drop the database. mysqldump -u [username] -p --add-drop-table [database] &#124; grep ^DROP &#124; mysql -u [username] -p /cc @davelens]]></description>
			<content:encoded><![CDATA[<p>I was looking for a script to delete all tables in a MySQL database without having to drop the database.</p>
<p><code>mysqldump -u [username] -p --add-drop-table [database] | grep ^DROP | mysql -u [username] -p</code></p>
<p>/cc <a href="http://code.davelens.be">@davelens</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2012/03/30/delete-all-tables-in-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacOSX maximize any window</title>
		<link>http://blog.bauffman.be/2012/03/05/macosx-maximize-any-window/</link>
		<comments>http://blog.bauffman.be/2012/03/05/macosx-maximize-any-window/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 18:25:57 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[maximize]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=226</guid>
		<description><![CDATA[I&#8217;m a keyboard man and I want to know as many useful shortcuts as humanly possible. I got a great tip from Dave Lens on how to configure MacOSX to bind cmd+m to maximize almost any window.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a keyboard man and I want to know as many useful shortcuts as humanly possible. I got a great tip from <a href="http://code.davelens.be/">Dave Lens</a> on how to configure MacOSX to bind cmd+m to maximize almost any window.</p>
<p><img class="alignnone size-full wp-image-227" title="Keyboard shortcuts" src="http://blog.bauffman.be/wp-content/uploads/2012/03/keyboard-settings.png" alt="" width="666" height="600" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2012/03/05/macosx-maximize-any-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blimp</title>
		<link>http://blog.bauffman.be/2012/02/03/blimp/</link>
		<comments>http://blog.bauffman.be/2012/02/03/blimp/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 11:52:06 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[blimp]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=214</guid>
		<description><![CDATA[Omdat ik altijd op zoek ben naar uitdagingen en je niet om 18u ineens stopt met &#8216;developer&#8217; te zijn, ben ik in te huren als freelance developer. Je kan bij mij terecht voor onder andere: - websites - webapplicaties - maatwerk voor Fork CMS Heb je andere vragen? Wil je even samenzitten om je project [...]]]></description>
			<content:encoded><![CDATA[<p>Omdat ik altijd op zoek ben naar uitdagingen en je niet om 18u ineens stopt met &#8216;developer&#8217; te zijn, ben ik in te huren als freelance developer.</p>
<p>Je kan bij mij terecht voor onder andere:<br />
- websites<br />
- webapplicaties<br />
- maatwerk voor Fork CMS</p>
<p>Heb je andere vragen? Wil je even samenzitten om je project te bespreken of ben je op zoek naar advies? <a href="mailto:davy@blimp.be" title="Mail naar davy@blimp.be">Contacteer mij</a> geheel vrijblijvend.</p>
<p>- <a href="http://www.blimp.be" title="Blimp webdevelopment">www.blimp.be</a><br />
- <a href="http://twitter.com/bauffman" title="@bauffman on Twitter">twitter (@bauffman)</a><br />
- <a href="http://be.linkedin.com/in/davyhellemans">linkedIn</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2012/02/03/blimp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing filename case in Git</title>
		<link>http://blog.bauffman.be/2011/09/07/changing-filename-case-in-git/</link>
		<comments>http://blog.bauffman.be/2011/09/07/changing-filename-case-in-git/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 20:22:02 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[move]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=207</guid>
		<description><![CDATA[I have a file named &#8216;filter.php&#8217; and I renamed it to &#8216;Filter.php&#8217;, but Git doesn&#8217;t notice this. Instead I needed to do something like this: git mv filter.php filter.php2 git mv filter.php2 Filter.php It looks stupid, but it works like a charm!]]></description>
			<content:encoded><![CDATA[<p>I have a file named &#8216;filter.php&#8217; and I renamed it to &#8216;Filter.php&#8217;, but Git doesn&#8217;t notice this. Instead I needed to do something like this:</p>
<pre><code>git mv filter.php filter.php2
git mv filter.php2 Filter.php</code></pre>
<p>It looks stupid, but it works like a charm!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/09/07/changing-filename-case-in-git/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Filtering files and directories in zend studio projects</title>
		<link>http://blog.bauffman.be/2011/08/12/filtering-files-and-directories-in-zend-studio-projects/</link>
		<comments>http://blog.bauffman.be/2011/08/12/filtering-files-and-directories-in-zend-studio-projects/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 20:20:58 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[studio]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=200</guid>
		<description><![CDATA[Zend Studio adds some files and directories to every project. I have no problem with that, but I don&#8217;t wish to see these files. You can add an exclude filter in the project properties (richtclick an open project). Right click the project and then click &#8216;properties&#8217;. Click the add button. If you do all this [...]]]></description>
			<content:encoded><![CDATA[<p>Zend Studio adds some files and directories to every project. I have no problem with that, but I don&#8217;t wish to see these files. You can add an exclude filter in the project properties (richtclick an open project).</p>
<div id="attachment_201" class="wp-caption alignnone" style="width: 278px"><img class="size-full wp-image-201" title="The default view (showing all files)" src="http://blog.bauffman.be/wp-content/uploads/2011/08/Screen-Shot-2011-08-12-at-22.08.57.png" alt="" width="268" height="239" /><p class="wp-caption-text">The default view (showing all files)</p></div>
<p>Right click the project and then click &#8216;properties&#8217;.</p>
<div id="attachment_202" class="wp-caption alignnone" style="width: 944px"><img class="size-full wp-image-202" title="The settings under resource &gt;resource filters" src="http://blog.bauffman.be/wp-content/uploads/2011/08/Screen-Shot-2011-08-12-at-22.09.08.png" alt="" width="934" height="568" /><p class="wp-caption-text">The settings under resource &gt;resource filters</p></div>
<p>Click the add button.</p>
<div id="attachment_203" class="wp-caption alignnone" style="width: 775px"><img class="size-full wp-image-203" title="Add the regex rule to exclude every folder/file that starts with a dot" src="http://blog.bauffman.be/wp-content/uploads/2011/08/Screen-Shot-2011-08-12-at-22.09.21.png" alt="" width="765" height="493" /><p class="wp-caption-text">Add the regex rule to exclude every folder/file that starts with a dot</p></div>
<p>If you do all this you should get the following result.</p>
<div id="attachment_204" class="wp-caption alignnone" style="width: 274px"><img class="size-full wp-image-204" title="Filtered results" src="http://blog.bauffman.be/wp-content/uploads/2011/08/Screen-Shot-2011-08-12-at-22.15.33.png" alt="" width="264" height="169" /><p class="wp-caption-text">Filtered results</p></div>
<p>Do note that for some strange reason the &#8216;.project&#8217; file will always be shown. Probably some internal reason, but I couldn&#8217;t find why that is.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/08/12/filtering-files-and-directories-in-zend-studio-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Waarom ik een probleem heb met Mobistar</title>
		<link>http://blog.bauffman.be/2011/07/14/waarom-ik-een-probleem-heb-met-mobistar/</link>
		<comments>http://blog.bauffman.be/2011/07/14/waarom-ik-een-probleem-heb-met-mobistar/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 17:36:37 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[afzetters]]></category>
		<category><![CDATA[mobistar]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=197</guid>
		<description><![CDATA[Vandaag 14 juli 2011 krijg ik een brief in de bus van Mobistar, waarin het volgende staat: Geachte Klant, Mobistar wil je graag belonen voor je trouw! Dankzij je contractverlenging van 24 maanden, geniet je voortaan: - elke maand 40 uur om naar Mobistar-nummers te bellen. Deze gratis minuten zijn geldig in het weekend en [...]]]></description>
			<content:encoded><![CDATA[<p>Vandaag 14 juli 2011 krijg ik een brief in de bus van Mobistar, waarin het volgende staat:</p>
<blockquote><p>Geachte Klant,</p>
<p>Mobistar wil je graag belonen voor je trouw! Dankzij je contractverlenging van 24 maanden, geniet je voortaan:</p>
<p>- elke maand 40 uur om naar Mobistar-nummers te bellen. Deze gratis minuten zijn geldig in het weekend en op feestdagen. Je ontvangt dit voordeel gedurende 24 maanden.</p>
<p>&#8230;</p>
<p><strong>PS: Indien de Overeenkomst op afstand wordt afgesloten: de consument heeft het recht aan de verkoper mee te delen dat hij afziet van de aankoop, zonder betaling van een boete en zonder opgave van motief binnen de veertien kalender dagen vanaf de dag die volgt op de levering van het product of op het sluiten van de dienstenovereenkomst.</strong></p></blockquote>
<p>Ik kwam compleet uit de lucht gevallen. Contractverlenging van 24 maanden? Lees ik dat wel goed? Blijkbaar wel. Dan maar bellen met de klantendienst. Eerst 15 minuten on-hold gehangen bij de rubriek &#8216;denkt u erover om uw abonnement stop te zeggen&#8217;. Krijg ik daar een oudere dame aan de telefoon die me het volgende weet te vertellen. Ik heb 1 juli 2011 telefonisch contact gehad met iemand van Mobistar en die heeft mij een abonnement aangeboden en ik heb gezegd dat het goed is en ingetekend voor 24 maanden. Ik weet helemaal van niets, dus zei dat ook zo tegen die mevrouw. Die zei dat het niet aan Mobistar kan liggen, maar dat ik wel degelijk ja heb ik gezegd voor een verlenging van mijn abonnement. Daarmee was voor haar de kous af en ze wenste me nog een prettige avond toe.</p>
<p>Morgen zeg ik mijn abonnement op met aangetekend schrijven. Ik heb genoeg van die prutsers in Brussel:</p>
<ul>
<li>ze zijn <strong>niet</strong> vriendelijk</li>
<li>als ik technische storing heb, krijg ik <strong>geen</strong> gehoor bij de technische dienst</li>
<li>ze <strong>smeren</strong> mij een verlenging aan waar ik niet om gevraagd heb</li>
<li>José van de helpdesk beweert <strong>dat ik lieg</strong> over de verlenging</li>
</ul>
<p><em><strong>disclaimer: Dit is mijn eigen mening en in geen geval die van mijn werkgever.</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/07/14/waarom-ik-een-probleem-heb-met-mobistar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automatically upload screenshots</title>
		<link>http://blog.bauffman.be/2011/07/13/automatically-upload-screenshots/</link>
		<comments>http://blog.bauffman.be/2011/07/13/automatically-upload-screenshots/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 14:49:56 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=190</guid>
		<description><![CDATA[I take a lot of screenshots and was looking for a way to to the following: take a screenshot copy that screenshot with a unique name to my webserver put the full url to the screenshot in my clipboard See the method below. take_screenshot() { # create a directory 'screenshot' on the desktop mkdir ~/Desktop/screenshot; [...]]]></description>
			<content:encoded><![CDATA[<p>I take a lot of screenshots and was looking for a way to to the following:</p>
<ol>
<li>take a screenshot</li>
<li>copy that screenshot with a unique name to my webserver</li>
<li>put the full url to the screenshot in my clipboard</li>
</ol>
<p>See the method below.</p>
<p><code> </code></p>
<pre><code>take_screenshot()
{
	# create a directory 'screenshot' on the desktop
        mkdir ~/Desktop/screenshot;

	# go to that directory
        cd ~/Desktop/screenshot &amp;&amp;

	# capture a selected part of the screen
        screencapture -ix ~/Desktop/screenshot/$(date +%Y-%m-%d-%H-%M-%S).png &amp;&amp;

	# copy this screenshot to my hosting through ssh with scp
        scp ~/Desktop/screenshot/$(ls | xargs | awk '{print $1}') spoon@crsolutions.be:www.spoon-library.be/screenshots/$(ls | xargs | awk '{print $1}') &amp;&amp;

	# add the url to my clipboard
        echo "http://www.spoon-library.be/screenshots/$(ls | xargs | awk '{print $1}')" | pbcopy &amp;&amp;

	# get rid of this directory
        rm -rf ~/Desktop/screenshot;
}</code></pre>
<p>Thanks to <a href="http://twitter.com/davelens">@davelens</a> for his help. You can also follow his <a href="http://code.davelens.be">blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/07/13/automatically-upload-screenshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing a git alias</title>
		<link>http://blog.bauffman.be/2011/06/30/removing-a-git-alias/</link>
		<comments>http://blog.bauffman.be/2011/06/30/removing-a-git-alias/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 14:46:51 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=185</guid>
		<description><![CDATA[I had an issue trying to remove a git alias I made. You can remove it by deleting that line from the configuration file, but I wanted to know how to do it using the git config command. git config --global --unset alias.myAlias]]></description>
			<content:encoded><![CDATA[<p>I had an issue trying to remove a git alias I made. You can remove it by deleting that line from the configuration file, but I wanted to know how to do it using the git config command.</p>
<blockquote><p><em><code>git config --global --unset alias.myAlias</code></em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/06/30/removing-a-git-alias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When did I introduce a certain string?</title>
		<link>http://blog.bauffman.be/2011/06/29/when-did-i-introduce-a-certain-string/</link>
		<comments>http://blog.bauffman.be/2011/06/29/when-did-i-introduce-a-certain-string/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 18:25:02 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=183</guid>
		<description><![CDATA[Today I needed to know when the string &#8216;2.1.0&#8216; was introduced in my git repository. There&#8217;s a nifty way in git log you can use for this. git log -S &#8217;2.1.0&#8242;]]></description>
			<content:encoded><![CDATA[<p>Today I needed to know when the string &#8216;<strong>2.1.0</strong>&#8216; was introduced in my git repository. There&#8217;s a nifty way in git log you can use for this.</p>
<blockquote><p>git log -S &#8217;2.1.0&#8242;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/06/29/when-did-i-introduce-a-certain-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tar changed files between 2 commits</title>
		<link>http://blog.bauffman.be/2011/06/29/tar-changed-files-between-2-commits/</link>
		<comments>http://blog.bauffman.be/2011/06/29/tar-changed-files-between-2-commits/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 12:27:33 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=180</guid>
		<description><![CDATA[Replace [hash] with the hash of the commit. This defaults to all the changed files between the hash and HEAD. tar zcvf &#8220;$(date +&#8217;%Y-%m-%d-%H-%M-%S&#8217;)-xmple.tgz&#8221; $(git diff &#8211;name-only [hash]) You can also update the commit range by using two hashes separated with 2 dots. tar zcvf &#8220;$(date +&#8217;%Y-%m-%d-%H-%M&#8217;)-xmple.tgz&#8221; $(git diff &#8211;name-only [hash]..[hash2])]]></description>
			<content:encoded><![CDATA[<p>Replace <strong>[hash]</strong> with the hash of the commit. This defaults to all the changed files between the hash and HEAD.</p>
<blockquote><p>
tar zcvf &#8220;$(date +&#8217;%Y-%m-%d-%H-%M-%S&#8217;)-xmple.tgz&#8221; $(git diff &#8211;name-only <strong>[hash]</strong>)
</p></blockquote>
<p>You can also update the commit range by using two hashes separated with 2 dots.</p>
<blockquote><p>
tar zcvf &#8220;$(date +&#8217;%Y-%m-%d-%H-%M&#8217;)-xmple.tgz&#8221; $(git diff &#8211;name-only <strong>[hash]</strong>..<strong>[hash2]</strong>)
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/06/29/tar-changed-files-between-2-commits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH completion</title>
		<link>http://blog.bauffman.be/2011/06/28/ssh-completion/</link>
		<comments>http://blog.bauffman.be/2011/06/28/ssh-completion/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 10:49:11 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[completion]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=176</guid>
		<description><![CDATA[I hate it when I need to type the entire host I want to connect to. So I&#8217;ve added this to my ~/.bash_profile which autocompletes the ssh command based on my ~/.ssh/config complete -W &#8220;$(awk &#8216;/^\s*Host\s*/ { sub(/^\s*Host /, &#8220;&#8221;); print; }&#8217; ~/.ssh/config)&#8221; ssh Thanks to @janmoesen for fixing the error.]]></description>
			<content:encoded><![CDATA[<p>I hate it when I need to type the entire host I want to connect to. So I&#8217;ve added this to my ~/.bash_profile which autocompletes the ssh command based on my ~/.ssh/config</p>
<blockquote><p>complete -W &#8220;$(awk &#8216;/^\s*Host\s*/ { sub(/^\s*Host /, &#8220;&#8221;); print; }&#8217; ~/.ssh/config)&#8221; ssh</p></blockquote>
<p>Thanks to <a href="http://twitter.com/janmoesen">@janmoesen</a> for fixing the error.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/06/28/ssh-completion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL configuration file</title>
		<link>http://blog.bauffman.be/2011/06/27/mysql-configuration-file/</link>
		<comments>http://blog.bauffman.be/2011/06/27/mysql-configuration-file/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 17:44:56 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=173</guid>
		<description><![CDATA[Place the configuration file &#8216;my.cnf&#8217; in your home directory. I no longer need to type &#8216;mysql -uroot -proot &#8230;&#8217; to connect to my local databases. You can also set some other options such as the default character set which defaulted to latin1 in my case. I don&#8217;t like latin1, but I also don&#8217;t like typing [...]]]></description>
			<content:encoded><![CDATA[<p>Place the configuration file &#8216;my.cnf&#8217; in your home directory.</p>
<p><img class="alignnone size-full wp-image-174" title="Screen shot 2011-06-27 at 15.42.10" src="http://blog.bauffman.be/wp-content/uploads/2011/06/Screen-shot-2011-06-27-at-15.42.10.png" alt="" width="225" height="102" /></p>
<p>I no longer need to type &#8216;mysql -uroot -proot &#8230;&#8217; to connect to my local databases. You can also set some other options such as the default character set which defaulted to latin1 in my case. I don&#8217;t like latin1, but I also don&#8217;t like typing this over and over when connection to a database.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/06/27/mysql-configuration-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let mysqldump help you!</title>
		<link>http://blog.bauffman.be/2011/06/17/let-mysqldump-help-you/</link>
		<comments>http://blog.bauffman.be/2011/06/17/let-mysqldump-help-you/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 12:11:05 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=171</guid>
		<description><![CDATA[I used to dump mysql data using PHPMyAdmin. People should get kicked in the nuts for doing that. Dumping a (remote) database: mysqldump -uroot -proot &#8211;host=mysql.openminds.be my_database &#62; Desktop/dump.sql Restoring a database: mysql -uroot -proot my_database &#60; Desktop/dump.sql Disclaimer: I know that it&#8217;s stupid to set the password in the command, but this is just [...]]]></description>
			<content:encoded><![CDATA[<p>I used to dump mysql data using PHPMyAdmin. People should get kicked in the nuts for doing that.</p>
<p><strong>Dumping a (remote) database:</strong></p>
<blockquote><p>mysqldump -uroot -proot &#8211;host=mysql.openminds.be my_database &gt; Desktop/dump.sql</p></blockquote>
<p><strong>Restoring a database:</strong></p>
<blockquote><p>mysql -uroot -proot my_database &lt; Desktop/dump.sql</p></blockquote>
<p><em>Disclaimer: I know that it&#8217;s stupid to set the password in the command, but this is just for the example. /cc @adeepersilence</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/06/17/let-mysqldump-help-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git checking out a remote branch</title>
		<link>http://blog.bauffman.be/2011/06/01/git-checking-out-a-remote-branch/</link>
		<comments>http://blog.bauffman.be/2011/06/01/git-checking-out-a-remote-branch/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 14:02:08 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=168</guid>
		<description><![CDATA[I need to checkout remote branches from other repo&#8217;s quite a lot. Mostly these repo&#8217;s are forks from the repo that I&#8217;m on. An example of what I do to make this go smooth without having to create a local branch (which is based on the master). git remote add janmoesen https://github.com/janmoesen/forkcms.git git fetch janmoesen [...]]]></description>
			<content:encoded><![CDATA[<p>I need to checkout remote branches from other repo&#8217;s quite a lot. Mostly these repo&#8217;s are forks from the repo that I&#8217;m on. An example of what I do to make this go smooth without having to create a local branch (which is based on the master).</p>
<blockquote><p>git remote add janmoesen https://github.com/janmoesen/forkcms.git<br />
git fetch janmoesen<br />
git checkout -b janneman janmoesen/rewrite-navigation-cache-file</p></blockquote>
<p>I now have a new branch &#8216;<strong>janneman</strong>&#8216; that does not contain any nasty merge commits because I checked it out in one step.</p>
<p>ps: I used to follow the steps on github.com to get a branch from another repo, but they make you create a branch locally before pulling from that remote branch. If you do so, you will get a merge commit and I don&#8217;t like that.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/06/01/git-checking-out-a-remote-branch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git diff not very clear</title>
		<link>http://blog.bauffman.be/2011/05/26/git-diff-not-very-clear/</link>
		<comments>http://blog.bauffman.be/2011/05/26/git-diff-not-very-clear/#comments</comments>
		<pubDate>Thu, 26 May 2011 12:17:32 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[spaces]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=164</guid>
		<description><![CDATA[From time to time I have to mess in code that I haven&#8217;t written. Some of those other developers don&#8217;t trim whitespaces or blank lines which makes my git diff look kinda messy. There&#8217;s a solution for this. &#8216;git diff&#8217; &#8216;git diff &#8211;ignore-space-change&#8217;]]></description>
			<content:encoded><![CDATA[<p>From time to time I have to mess in code that I haven&#8217;t written. Some of those other developers don&#8217;t trim whitespaces or blank lines which makes my git diff look kinda messy. There&#8217;s a solution for this.</p>
<p>&#8216;git diff&#8217;</p>
<p><img class="alignnone size-full wp-image-166" title="git-diff-without-spaces" src="http://blog.bauffman.be/wp-content/uploads/2011/05/git-diff-without-spaces.png" alt="" width="620" height="463" /></p>
<p>&#8216;git diff &#8211;ignore-space-change&#8217;</p>
<p><img class="alignnone size-full wp-image-165" title="git-diff-with-spaces" src="http://blog.bauffman.be/wp-content/uploads/2011/05/git-diff-with-spaces.png" alt="" width="400" height="322" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/05/26/git-diff-not-very-clear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL command line import</title>
		<link>http://blog.bauffman.be/2011/05/24/mysql-command-line-import/</link>
		<comments>http://blog.bauffman.be/2011/05/24/mysql-command-line-import/#comments</comments>
		<pubDate>Tue, 24 May 2011 08:07:55 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=161</guid>
		<description><![CDATA[I always seem to forget the right command. mysql -uroot -proot databaseName &#60; /location/to/my/file.sql]]></description>
			<content:encoded><![CDATA[<p>I always seem to forget the right command.</p>
<blockquote><p>mysql -uroot -proot databaseName &lt; /location/to/my/file.sql</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/05/24/mysql-command-line-import/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Verslag team skills management</title>
		<link>http://blog.bauffman.be/2011/03/15/verslag-team-skills-management/</link>
		<comments>http://blog.bauffman.be/2011/03/15/verslag-team-skills-management/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 20:40:38 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[mbti]]></category>
		<category><![CDATA[melbin]]></category>
		<category><![CDATA[rollen]]></category>
		<category><![CDATA[team skills]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=159</guid>
		<description><![CDATA[Voorbije zaterdag heb ik een opleiding &#8216;team skills management&#8216; gevolgd van JCI Gent. Van &#8216;smorgens tot &#8216;savonds kon ik, in het bijzijn van 11 andere geïnteresseerden, een uiteenzetting krijgen over de verschillende teamrollen die er bestaan. Het deed me denken aan de MBTI sessie die we een tijd terug met Netlash hebben gedaan, maar dan [...]]]></description>
			<content:encoded><![CDATA[<p>Voorbije zaterdag heb ik een opleiding &#8216;<a title="JCI Opleiding - Team skills management" href="http://gent.jcivlaanderen.be/content/jci-gent-training-team-skills-management">team skills management</a>&#8216; gevolgd van <a title="JCI Gent" href="http://gent.jcivlaanderen.be/">JCI Gent</a>. Van &#8216;smorgens tot &#8216;savonds kon ik, in het bijzijn van 11 andere geïnteresseerden, een uiteenzetting krijgen over de verschillende teamrollen die er bestaan. Het deed me denken aan de <a title="Myers-Briggs Type Indicator" href="http://en.wikipedia.org/wiki/Mbti">MBTI</a> sessie die we een tijd terug met <a href="http://www.netlash.com">Netlash</a> hebben gedaan, maar dan met andere types, gebaseerd op de <a href="http://en.wikipedia.org/wiki/Belbin_Team_Inventory">studies van Dr. Meredith Belbin</a>. Op zich een interessante kijk op de verschillende rollen binnen een team, maar niets nieuw onder de zon. De praktijkoefeningen waren leuk, maar zouden een stuk interessanter zijn bij mensen die effectief in een professionele omgeving moeten samenwerken.</p>
<p>Mijn conclusie is twee-ledig. Enerzijds leert het dat iedereen een verschillend type of meedere types is en dat je, indien je hiermee rekening houdt, beter kan samenwerken. Je kan hierdoor ook een betere team setup maken als je personen enigszins probeert in te schatten op die manier. Anderzijds, leert de realiteit in het bedrijfsleven echter dat als er een nieuwe werknemer nodig is; dat we iemand laten starten als hij/zij aan de vereisten voor de functie voldoet. Of die persoon dan geschikt is om samen te werken met de anderen in dat team waarin hij/zij terechtkomt en een gebalanceerd geheel te vormen, dat wordt in het midden gelaten. De grootte en visie van de organisatie zal natuurlijk een rol spelen.</p>
<p>Voor de rest niets dan lovende woorden voor de organisatoren en in het bijzonder de sprekers waaronder Guy De Veth.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/03/15/verslag-team-skills-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digicorder scart</title>
		<link>http://blog.bauffman.be/2011/03/09/digicorder-scart/</link>
		<comments>http://blog.bauffman.be/2011/03/09/digicorder-scart/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 20:11:44 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[digicorder]]></category>
		<category><![CDATA[hd]]></category>
		<category><![CDATA[telenet]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=156</guid>
		<description><![CDATA[Note to self: Als je een digicorder hebt die aangesloten is met een scart kabel, dan moet je opletten dat je de dpi niet te hoog instelt. Doe je dit wel dan kan je niet langer aan je menu&#8217;s. Resetten helpt niet, je moet back + &#62; drukken op je digicorder zelf om dit te [...]]]></description>
			<content:encoded><![CDATA[<p>Note to self: Als je een digicorder hebt die aangesloten is met een scart kabel, dan moet je opletten dat je de dpi niet te hoog instelt. Doe je dit wel dan kan je niet langer aan je menu&#8217;s. Resetten helpt niet, je moet back + &gt; drukken op je digicorder zelf om dit te resetten.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2011/03/09/digicorder-scart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL connections in Zend Studio 8.0</title>
		<link>http://blog.bauffman.be/2010/11/23/mysql-connections-in-zend-studio-8-0/</link>
		<comments>http://blog.bauffman.be/2010/11/23/mysql-connections-in-zend-studio-8-0/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 20:04:47 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpun]]></category>
		<category><![CDATA[unit testing]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=154</guid>
		<description><![CDATA[Recently I was having problems to get my unit tests to connect to my local MySQL server when ran within Zend Studio 8. After some reading on the internet it seems, that this issue is caused by the MySQL server running on the default port (3306). I&#8217;ve changed this to 8889 as MAMP (on mac) [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was having problems to get my unit tests to connect to my local MySQL server when ran within Zend Studio 8. After some <a title="Connection problems in mysql" href="http://forums.zend.com/viewtopic.php?f=59&amp;t=2392">reading on the internet</a> it seems, that this issue is caused by the MySQL server running on the default port (3306). I&#8217;ve changed this to 8889 as MAMP (on mac) suggests and now it works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2010/11/23/mysql-connections-in-zend-studio-8-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>call_user_func(_array) behaviour in PHP 5.3</title>
		<link>http://blog.bauffman.be/2010/11/08/call_user_func_array-behaviour-in-php-5-3/</link>
		<comments>http://blog.bauffman.be/2010/11/08/call_user_func_array-behaviour-in-php-5-3/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 14:46:13 +0000</pubDate>
		<dc:creator>Erik Bauffman</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[call_user_func]]></category>
		<category><![CDATA[call_user_func_array]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.bauffman.be/?p=149</guid>
		<description><![CDATA[Before PHP 5.3 you could use call_user_func and call_user_func_array even if you didnt provide an array with parameters. Since 5.3, this results in a &#8216;NULL&#8217; without actually executing this method/function. // works in &#60; 5.3, but fails in &#62; 5.3 $moduleItems = call_user_func_array(array($className, &#8216;getByTag&#8217;), $this-&#62;id); // works everywhere $moduleItems = call_user_func(array($className, &#8216;getByTag&#8217;), $this-&#62;id); In all [...]]]></description>
			<content:encoded><![CDATA[<p>Before PHP 5.3 you could use call_user_func and call_user_func_array even if you didnt provide an array with parameters. Since 5.3, this results in a &#8216;NULL&#8217; without actually executing this method/function.</p>
<blockquote><p>// works in &lt; 5.3, but fails in &gt; 5.3<br />
$moduleItems = call_user_func_array(array($className, &#8216;getByTag&#8217;), $this-&gt;id);</p>
<p>// works everywhere<br />
$moduleItems = call_user_func(array($className, &#8216;getByTag&#8217;), $this-&gt;id);</p></blockquote>
<p>In all honesty, it&#8217;s normal that it shouldn&#8217;t work when you don&#8217;t provide the right parameters. However a decent notice would let me know that something is wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bauffman.be/2010/11/08/call_user_func_array-behaviour-in-php-5-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

