<?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>Thoughts, Codes and Games</title>
	<atom:link href="http://christiank.org/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://christiank.org/wp</link>
	<description>Blog of Christian Kirkegaard</description>
	<lastBuildDate>Sun, 08 Jan 2012 16:58:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19704</generator>
		<item>
		<title>Use 360 controller with Super Meat Boy on mac</title>
		<link>http://christiank.org/wp/2012/01/use-360-controller-with-super-meat-boy-on-mac/</link>
		<comments>http://christiank.org/wp/2012/01/use-360-controller-with-super-meat-boy-on-mac/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 16:44:09 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[360]]></category>
		<category><![CDATA[gamepad]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[super meat boy]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=691</guid>
		<description><![CDATA[Team Meat wrote that it wouldnt be possible to use your 360 controller with SMB. Even if you used an app like gamepad companion the mappings would be skrewed. Though, if you go to: /Users/{YOUR_USERNAME}/Library/Application\ Support/Steam/SteamApps/common/super\ meat\ boy/SuperMeatBoy.app/Contents/MacOS/buttonmap.cfg and delete the &#8230; <a href="http://christiank.org/wp/2012/01/use-360-controller-with-super-meat-boy-on-mac/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://supermeatboy.com/115/Things_every_Mac_user_should_know___/">Team Meat wrote</a> that it wouldnt be possible to use your 360 controller with SMB. Even if you used an app like <a href="http://www.carvware.com/gamepadcompanion.html">gamepad companion</a> the mappings would be skrewed.</p>
<p>Though, if you go to:</p>
<pre>/Users/{YOUR_USERNAME}/Library/Application\ Support/Steam/SteamApps/common/super\ meat\ boy/SuperMeatBoy.app/Contents/MacOS/buttonmap.cfg</pre>
<p>and delete the mappings for gamepad you&#8217;ll be able to use gamepad companion or any other program like it. At least it worked for me.</p>
<p>Also you&#8217;ll need the osx driver for 360 controllers to work. <a href="http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/OsxDriver">You can grap it here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2012/01/use-360-controller-with-super-meat-boy-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plasma effect using javascript and canvas</title>
		<link>http://christiank.org/wp/2011/06/plasma-effect-using-javascript-and-canvas/</link>
		<comments>http://christiank.org/wp/2011/06/plasma-effect-using-javascript-and-canvas/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 19:52:35 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plasma]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=673</guid>
		<description><![CDATA[Found some generic plasma effect and rewrote it using javascript and canvas. I didnt do the math my self!]]></description>
			<content:encoded><![CDATA[<p>Found some generic plasma effect and rewrote it using javascript and canvas. I didnt do the math my self!</p>
<script src="http://gist.github.com/1047913.js"></script>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2011/06/plasma-effect-using-javascript-and-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instagram PHP Wrapper</title>
		<link>http://christiank.org/wp/2011/06/instagram-php-wrapper/</link>
		<comments>http://christiank.org/wp/2011/06/instagram-php-wrapper/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 19:26:53 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[instagram]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wrapper]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=667</guid>
		<description><![CDATA[So today I finished up my Instagram wrapper. Instagram has become very popular over the last year or so but it still doesnt have a proper api wrapper for php. So I made one of my own that fits right &#8230; <a href="http://christiank.org/wp/2011/06/instagram-php-wrapper/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So today I finished up my Instagram wrapper. Instagram has become very popular over the last year or so but it still doesnt have a proper api wrapper for php. So I made one of my own that fits right in to Zend Framework since thats my framework of choice. You can ofcourse use this with other frameworks or standalone. It depends on a few components off Zend Framework though.</p>
<p>See it here <a href="https://github.com/ranza/instagram">https://github.com/ranza/instagram</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2011/06/instagram-php-wrapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Override oembed providers in WordPress</title>
		<link>http://christiank.org/wp/2011/05/override-oembed-providers-in-wordpress/</link>
		<comments>http://christiank.org/wp/2011/05/override-oembed-providers-in-wordpress/#comments</comments>
		<pubDate>Mon, 23 May 2011 20:52:34 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[oembed]]></category>
		<category><![CDATA[vimeo]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=660</guid>
		<description><![CDATA[I had a problem where i needed to enable the js api when embedding vimeo in wordpress using oembed. Turns out that you can override the existing providers by adding a line like this in your `functions.php` WordPress caches oembed &#8230; <a href="http://christiank.org/wp/2011/05/override-oembed-providers-in-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had a problem where i needed to enable the js api when embedding vimeo in wordpress using oembed. Turns out that you can override the existing providers by adding a line like this in your `functions.php`</p>
<script src="http://gist.github.com/987584.js"></script>
<p>WordPress caches oembed results so you might need to resave your content before you see any changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2011/05/override-oembed-providers-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trigger setInterval immediately</title>
		<link>http://christiank.org/wp/2011/03/trigger-setinterval-immediately/</link>
		<comments>http://christiank.org/wp/2011/03/trigger-setinterval-immediately/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 07:46:25 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[quicktip]]></category>
		<category><![CDATA[setinterval]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=658</guid>
		<description><![CDATA[Its probably common knowledge that you can do this, but I didn&#8217;t know that you could. This is a great way to trigger a function at the beginning of a `setInterval`. As you might know `setInterval` triggers after the given &#8230; <a href="http://christiank.org/wp/2011/03/trigger-setinterval-immediately/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Its probably common knowledge that you can do this, but I didn&#8217;t know that you could. This is a great way to trigger a function at the beginning of a `setInterval`. As you might know `setInterval` triggers after the given millisecond. So what this does it that it triggers it self at the beginning and returns it self as a function to `setInterval`.</p>
<script src="http://gist.github.com/891953.js"></script>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2011/03/trigger-setinterval-immediately/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new hope</title>
		<link>http://christiank.org/wp/2011/03/a-new-hope/</link>
		<comments>http://christiank.org/wp/2011/03/a-new-hope/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 10:17:45 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[duckling]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[m2film]]></category>
		<category><![CDATA[new job]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=656</guid>
		<description><![CDATA[Getting over a breakup is never easy. Specially when your life isnt exactly what you&#8217;ve hoped for. That&#8217;s pretty much the situation I was in. Burned out at work and nothing to look forward to. It&#8217;s hard to see the &#8230; <a href="http://christiank.org/wp/2011/03/a-new-hope/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Getting over a breakup is never easy. Specially when your life isnt<br />
exactly what you&#8217;ve hoped for. That&#8217;s pretty much the situation I was<br />
in. Burned out at work and nothing to look forward to. It&#8217;s hard to see<br />
the great things in life in such situations.</p>
<p>A month ago I started my new job at [Duckling](http://duckling.dk)&#038;[Sonne](http://sonne.dk), the sister company for [M2Film](http://m2film.dk). The start was hard since i wasnt really my self. But I found a pretty good rhythm and stuck with it. Got up two hours before work started. Took a long bath and tried to comedown and collect my thoughts. Then a good 30 minutes meditating and blanking out my mind. Then a bit of tvshows while eating breakfest. It takes a about 20 minutes for me to bike to work, and then our great coffee guy Sam makes an amazing strong coffee.</p>
<p>The new job has been amazing. All the guys at work have been so sweet<br />
helpful. We have played a bunch of Street Fighter 4 and been drinking a<br />
lot of beers after work. I never knew how important it was to have a<br />
culture at work that supported getting away from the screen. Not just<br />
that but having an overhead is a big stress release. Nobody looking over<br />
your neck and checking every little detail you do. This is a big<br />
motivator especially for me. And also just the fact that the company is<br />
stable. Not be involved or knowing things about the economics in the<br />
company makes you feel more safe.</p>
<p>People are happy here. No need to feel that you have to up your game all<br />
the time. It&#8217;s a very relaxed place.</p>
<p>Im getting there.</p>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2011/03/a-new-hope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim + Ack = WIN</title>
		<link>http://christiank.org/wp/2011/01/vim-ack-win/</link>
		<comments>http://christiank.org/wp/2011/01/vim-ack-win/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 11:16:32 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[ack]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=627</guid>
		<description><![CDATA[I might be a bit late to the ack game but holy shit its amazing. I had a huge app i needed to search for a class and make a quick edition every where. `grep -R` is great but then &#8230; <a href="http://christiank.org/wp/2011/01/vim-ack-win/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I might be a bit late to the ack game but holy shit its amazing. I had a huge app i needed to search for a class and make a quick edition every where. `grep -R` is great but then a friend told me to use ack and better yet `vim.ack`. I quickly grapped the plugin and installed it. Then ran `:Ack myclass` and boom a list of the files i needed to edit. Grep the plugin here</p>
<p><a href="http://christiank.org/wp/wp-content/uploads/2011/01/Screen-shot-2011-01-17-at-12.12.59-PM.jpg"><img class="alignright size-large wp-image-628" title="Screen shot 2011-01-17 at 12.12.59 PM" src="http://christiank.org/wp/wp-content/uploads/2011/01/Screen-shot-2011-01-17-at-12.12.59-PM-640x459.jpg" alt="" width="640" height="459" /></a></p>
<p>Ack also comes in a cli tool and can be installed with `brew install ack`<br />
<img class="alignright size-large wp-image-629" title="Screen shot 2011-01-17 at 12.15.23 PM" src="http://christiank.org/wp/wp-content/uploads/2011/01/Screen-shot-2011-01-17-at-12.15.23-PM-640x264.jpg" alt="" width="640" height="264" /></p>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2011/01/vim-ack-win/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pipe a gzipped mysql dump over ssh</title>
		<link>http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/</link>
		<comments>http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 11:29:15 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=616</guid>
		<description><![CDATA[I had a problem with a server without any space left on the drive, but still had to dump a database. So what i did was pipe the output of `mysqldump` to gzip and then send it over ssh to &#8230; <a href="http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had a problem with a server without any space left on the drive, but still had to dump a database. So what i did was pipe the output of `mysqldump` to gzip and then send it over ssh to another server.</p>
<p>`mysqldump` outputs clear text so lets send that to gzip. We need to tell gzip to output the result to stdout so we can pipe it to ssh. We can do this by adding the -c option. Last we need to send it over ssh. You can pipe it over ssh by simply doing `ssh user@host &#8216;cat &gt; ~/dump.sql.gz&#8217;</p>
<p>At the end you&#8217;ll end up with a string like this,</p>
<script src="http://gist.github.com/748277.js"></script>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Snowflakes in Actionscript</title>
		<link>http://christiank.org/wp/2010/11/snowflakes-in-actionscript/</link>
		<comments>http://christiank.org/wp/2010/11/snowflakes-in-actionscript/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 13:58:20 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[snow]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=602</guid>
		<description><![CDATA[Played around with some Actionscript the other day. Tried to make some snow falling from the sky. This is what i came up with. A preview after the break]]></description>
			<content:encoded><![CDATA[<p>Played around with some Actionscript the other day. Tried to make some snow falling from the sky. This is what i came up with.</p>
<script src="http://gist.github.com/706541.js"></script>
<p><em>A preview after the break</em></p>
<p><span id="more-602"></span><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="600" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="menu" value="false" /><param name="scale" value="noscale" /><param name="src" value="http://christiank.org/wp/wp-content/uploads/2010/11/kort.swf" /><embed type="application/x-shockwave-flash" width="400" height="600" src="http://christiank.org/wp/wp-content/uploads/2010/11/kort.swf" scale="noscale" menu="false"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2010/11/snowflakes-in-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql, Homebrew and launchctl</title>
		<link>http://christiank.org/wp/2010/11/mysql-homebrew-and-launchctl/</link>
		<comments>http://christiank.org/wp/2010/11/mysql-homebrew-and-launchctl/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 13:45:37 +0000</pubDate>
		<dc:creator>Christian Kirkegaard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[launchctl]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://christiank.org/wp/?p=594</guid>
		<description><![CDATA[If you install mysql through homebrew and add it to the LaunchAgents, you wont be able to use mysql.server start&#124;stop. Instead you want to use launchctl by doing following, To start: launchctl load ~/Library/LaunchAgents/com.mysql.mysqld.plist To stop: launchctl unload ~/Library/LaunchAgents/com.mysql.mysqld.plist]]></description>
			<content:encoded><![CDATA[<p>If you install <a href="http://dev.mysql.com">mysql</a> through <a href="https://github.com/mxcl/homebrew">homebrew</a> and add it to the LaunchAgents, you wont be able to use mysql.server start|stop. Instead you want to use <em>launchctl</em> by doing following,</p>
<pre>To start:
launchctl load ~/Library/LaunchAgents/com.mysql.mysqld.plist

To stop:
launchctl unload ~/Library/LaunchAgents/com.mysql.mysqld.plist</pre>
]]></content:encoded>
			<wfw:commentRss>http://christiank.org/wp/2010/11/mysql-homebrew-and-launchctl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

