<?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>0xcb0 Blog</title>
	<atom:link href="http://www.0xcb0.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.0xcb0.com</link>
	<description>thoughts, ideas and feelings around a coders everyday life</description>
	<lastBuildDate>Tue, 08 May 2012 09:25:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Port Forwarding to a VirtualBox Debian</title>
		<link>http://www.0xcb0.com/2012/05/08/port-forwarding-to-a-virtualbox-debian/</link>
		<comments>http://www.0xcb0.com/2012/05/08/port-forwarding-to-a-virtualbox-debian/#comments</comments>
		<pubDate>Tue, 08 May 2012 09:25:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[virtualBox]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[port forwarding]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=505</guid>
		<description><![CDATA[Set up port forwarding: VBoxManage modifyvm &#34;VM name&#34; --natpf1 &#34;to_ssh,tcp,,22,&#60;GUEST IP&#62;,22&#34; VBoxManage modifyvm &#34;VM name&#34; --natpf1 &#34;to_http,tcp,,80,&#60;GUEST IP&#62;,80&#34; VBoxManage modifyvm &#34;VM name&#34; --natpf1 &#34;to_https,tcp,,443,&#60;GUEST IP&#62;,443&#34; Replace &#8220;VM name&#8221; and &#60;GUEST IP&#62; with your desired configuration. If your guest OS use DHCP then can be omitted. natpf1 stands is the network interface to use. In my [...]]]></description>
			<content:encoded><![CDATA[<p>Set up port forwarding:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">VBoxManage modifyvm <span style="color: #ff0000;">&quot;VM name&quot;</span> <span style="color: #660033;">--natpf1</span> <span style="color: #ff0000;">&quot;to_ssh,tcp,,22,&lt;GUEST IP&gt;,22&quot;</span>
VBoxManage modifyvm <span style="color: #ff0000;">&quot;VM name&quot;</span> <span style="color: #660033;">--natpf1</span> <span style="color: #ff0000;">&quot;to_http,tcp,,80,&lt;GUEST IP&gt;,80&quot;</span>
VBoxManage modifyvm <span style="color: #ff0000;">&quot;VM name&quot;</span> <span style="color: #660033;">--natpf1</span> <span style="color: #ff0000;">&quot;to_https,tcp,,443,&lt;GUEST IP&gt;,443&quot;</span></pre></div></div>

<p>Replace &#8220;VM name&#8221; and &lt;GUEST IP&gt; with your desired configuration. If your guest OS use DHCP then <GUEST IP> can be omitted. natpf1 stands is the network interface to use. In my case NAT is Network Adapter 1.</p>
<p>To remove them again:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">VBoxManage modifyvm <span style="color: #ff0000;">&quot;VM name&quot;</span> <span style="color: #660033;">--natpf1</span> delete <span style="color: #ff0000;">&quot;to_ssh&quot;</span></pre></div></div>

<p>&#8216;VBoxManage&#8217; should be installed on your host os by the VirtualBox installer.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2012/05/08/port-forwarding-to-a-virtualbox-debian/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2012%2F05%2F08%2Fport-forwarding-to-a-virtualbox-debian%2F&amp;title=Port%20Forwarding%20to%20a%20VirtualBox%20Debian" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2012/05/08/port-forwarding-to-a-virtualbox-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony 1.4, forward to a filtered list view</title>
		<link>http://www.0xcb0.com/2012/04/16/symfony-1-4-forward-to-a-filtered-list-view/</link>
		<comments>http://www.0xcb0.com/2012/04/16/symfony-1-4-forward-to-a-filtered-list-view/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 10:56:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony 1.4]]></category>
		<category><![CDATA[preset filter]]></category>
		<category><![CDATA[setfilter]]></category>
		<category><![CDATA[sf 1.4]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=497</guid>
		<description><![CDATA[Today I wrote a new symfony module which needed to use the view of an old model as a detail view. So the only thing thats missing is a call to the old module&#8217;s &#8216;list&#8217; action with a preset filter value. However the described setFilter&#40;&#41; didn&#8217;t worked out, because it seems that you can&#8217;t set [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wrote a new symfony module which needed to use the view of an old model as a detail view.<br />
So the only thing thats missing is a call to the old module&#8217;s &#8216;list&#8217; action with a preset filter value.<br />
However the described</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">setFilter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p> didn&#8217;t worked out, because it seems that you can&#8217;t set a filter for a different module.<br />
So I analysed the user settings ( see &#8220;debug bar&#8221;) and came up with this solution:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getUser</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'myOldModule.filters'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'filter_att'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'text'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'admin_module'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">forward</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'myOldModule'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'index'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>&#8220;myOldModule&#8221; = Model Name of backend module.</p>
<p>&#8220;filter_att&#8221; = The name of the model column you want to filter.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2012/04/16/symfony-1-4-forward-to-a-filtered-list-view/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2012%2F04%2F16%2Fsymfony-1-4-forward-to-a-filtered-list-view%2F&amp;title=Symfony%201.4%2C%20forward%20to%20a%20filtered%20list%20view" id="wpa2a_4">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2012/04/16/symfony-1-4-forward-to-a-filtered-list-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimaker &#8211; a box full of fun</title>
		<link>http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/</link>
		<comments>http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 14:58:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[Open Hardware]]></category>
		<category><![CDATA[Ultimaker]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[3d printing]]></category>
		<category><![CDATA[assembly guide]]></category>
		<category><![CDATA[open hardware]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[ultimaker]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=402</guid>
		<description><![CDATA[Hello fellow friends, today I have some time and I&#8217;ll try to write about my UM experience. So you could ask, what&#8217;s an Ultimaker? In my opinion it&#8217;s one of the greatest things that has arised from the open source community. A 3D printer. If you want to read more about the history of the community [...]]]></description>
			<content:encoded><![CDATA[<p>Hello fellow friends,</p>
<p>today I have some time and I&#8217;ll try to write about my UM experience.<br />
So you could ask, what&#8217;s an Ultimaker?</p>
<p>In my opinion it&#8217;s one of the greatest things that has arised from the open source community. A 3D printer.<br />
If you want to read more about the history of the community I advice you to read <a href="http://en.wikipedia.org/wiki/RepRap">this</a>. Without the initial development of the RepRap community this would not have been possible. In this spirit: &#8220;Thanks you sooooo much, all of you are awesome&#8221;.</p>
<p>So here&#8217;s my short history with 3D printers.<br />
I got to know these things about 2 to 3 years ago when the first people wrote about the development.<br />
At this time I did plan to build one on my own. This thought was rejected by myself after I read about, what parts are needed and how this whole thing can be assembled.<br />
I didn&#8217;t believed that I can do it without spending months of research for the parts, assembling and tuning. So for the next 3 years I almost forgot about this great technology.</p>
<p>&nbsp;</p>
<p>When 2011 was running out I first read about the MakerBot community and got a first view a thingverse.<br />
I was blown away about the scope and wide range of great things that other people already created.<br />
2 weeks of surfing across hundreds of sites, comparing different models and checking my budget my decision was clear. I &#8216;ll buy an Ultimaker. So I placed the order on 12th of december and after the order was processed through a payment provider the great waiting started <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Estimated shipping time is 4-6 weeks. On the 31st of january the mail that made my day arrived.<br />
Subject: &#8216;Order Update&#8217;, Content: &#8216;Preparing shipment&#8217;<br />
On 3rd feburary the package was delivered. Unfortunately I wasn&#8217;t at home so I had to call the service and arrange a new delivery date. Tomorrow will be the day!</p>
<p>So the day came and I was so happy when the door bell rang.</p>
<p>&nbsp;</p>
<p style="text-align: center;">
<p><a href="http://www.0xcb0.com/uploads/2012/03/IMG_2274.jpg"><img class="size-medium wp-image-416 aligncenter" title="UM Box on my Desk" src="http://www.0xcb0.com/uploads/2012/03/IMG_2274-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Finally it was there, and I couldn&#8217;t wait to start assembling.<br />
The following pictures show the progress in building the UM.<br />
Step 1: Unpacking</p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2277/" rel="attachment wp-att-417"><img class="aligncenter size-medium wp-image-417" title="Unpacking 1" src="http://www.0xcb0.com/uploads/2012/03/IMG_2277-300x225.jpg" alt="" width="300" height="225" /></a><img class="aligncenter size-medium wp-image-418" title="Unpacking 2" src="http://www.0xcb0.com/uploads/2012/03/IMG_2278-300x225.jpg" alt="" width="300" height="225" /><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2279/" rel="attachment wp-att-419"><img class="aligncenter size-medium wp-image-419" title="Unpacking 3" src="http://www.0xcb0.com/uploads/2012/03/IMG_2279-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2280/" rel="attachment wp-att-420"><img class="aligncenter size-medium wp-image-420" title="Unpacking 4" src="http://www.0xcb0.com/uploads/2012/03/IMG_2280-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2281/" rel="attachment wp-att-421"><img class="aligncenter size-medium wp-image-421" title="Unpacking 5" src="http://www.0xcb0.com/uploads/2012/03/IMG_2281-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2282/" rel="attachment wp-att-422"><img class="aligncenter size-medium wp-image-422" title="Unpacking 6" src="http://www.0xcb0.com/uploads/2012/03/IMG_2282-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2284/" rel="attachment wp-att-423"><img class="aligncenter size-medium wp-image-423" title="Unpacking 7" src="http://www.0xcb0.com/uploads/2012/03/IMG_2284-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2285/" rel="attachment wp-att-424"><img class="aligncenter size-medium wp-image-424" title="Unpacking 8" src="http://www.0xcb0.com/uploads/2012/03/IMG_2285-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2286/" rel="attachment wp-att-425"><img class="aligncenter size-medium wp-image-425" title="Unpacking 9" src="http://www.0xcb0.com/uploads/2012/03/IMG_2286-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2287/" rel="attachment wp-att-426"><img class="aligncenter size-medium wp-image-426" title="Imagine It" src="http://www.0xcb0.com/uploads/2012/03/IMG_2287-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2289/" rel="attachment wp-att-428"><img class="aligncenter size-medium wp-image-428" title="A box full of fun!" src="http://www.0xcb0.com/uploads/2012/03/IMG_2289-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Step 2: Starting to build the frame</p>
<p style="text-align: center;"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2290/" rel="attachment wp-att-429"><img class="size-medium wp-image-429 aligncenter" title="IMG_2290" src="http://www.0xcb0.com/uploads/2012/03/IMG_2290-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p style="text-align: center;"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2291/" rel="attachment wp-att-430"><img class="size-medium wp-image-430 aligncenter" title="IMG_2291" src="http://www.0xcb0.com/uploads/2012/03/IMG_2291-300x225.jpg" alt="" width="300" height="225" /></a></p>
<div id="attachment_433" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2294/" rel="attachment wp-att-433"><img class="size-medium wp-image-433 " title="IMG_2294" src="http://www.0xcb0.com/uploads/2012/03/IMG_2294-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">first fun <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div>
<div id="attachment_435" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2296/" rel="attachment wp-att-435"><img class="size-medium wp-image-435" title="IMG_2296" src="http://www.0xcb0.com/uploads/2012/03/IMG_2296-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">mounting the endstops</p></div>
<p style="text-align: center;"> <a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2298/" rel="attachment wp-att-437"><img class="aligncenter" title="IMG_2298" src="http://www.0xcb0.com/uploads/2012/03/IMG_2298-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p style="text-align: center;"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2299/" rel="attachment wp-att-438"><img class="aligncenter" title="IMG_2299" src="http://www.0xcb0.com/uploads/2012/03/IMG_2299-300x225.jpg" alt="" width="300" height="225" /></a></p>
<div id="attachment_439" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2300/" rel="attachment wp-att-439"><img class="size-medium wp-image-439" title="IMG_2300" src="http://www.0xcb0.com/uploads/2012/03/IMG_2300-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">and there&#39;s the case</p></div>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2301/" rel="attachment wp-att-440"><img class="aligncenter size-medium wp-image-440" title="IMG_2301" src="http://www.0xcb0.com/uploads/2012/03/IMG_2301-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2302/" rel="attachment wp-att-441"><img class="aligncenter size-medium wp-image-441" title="IMG_2302" src="http://www.0xcb0.com/uploads/2012/03/IMG_2302-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2303/" rel="attachment wp-att-442"><img class="aligncenter size-medium wp-image-442" title="IMG_2303" src="http://www.0xcb0.com/uploads/2012/03/IMG_2303-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2305/" rel="attachment wp-att-443"><img class="aligncenter size-medium wp-image-443" title="IMG_2305" src="http://www.0xcb0.com/uploads/2012/03/IMG_2305-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Starting to mount the motors:</p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2306/" rel="attachment wp-att-444"><img class="aligncenter size-medium wp-image-444" title="IMG_2306" src="http://www.0xcb0.com/uploads/2012/03/IMG_2306-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2307/" rel="attachment wp-att-445"><img class="aligncenter size-medium wp-image-445" title="IMG_2307" src="http://www.0xcb0.com/uploads/2012/03/IMG_2307-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2308/" rel="attachment wp-att-446"><img class="aligncenter size-medium wp-image-446" title="IMG_2308" src="http://www.0xcb0.com/uploads/2012/03/IMG_2308-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2309/" rel="attachment wp-att-447"><img class="aligncenter size-medium wp-image-447" title="IMG_2309" src="http://www.0xcb0.com/uploads/2012/03/IMG_2309-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2311/" rel="attachment wp-att-449"><img class="aligncenter size-medium wp-image-449" title="IMG_2311" src="http://www.0xcb0.com/uploads/2012/03/IMG_2311-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2312/" rel="attachment wp-att-450"><img class="aligncenter size-medium wp-image-450" title="IMG_2312" src="http://www.0xcb0.com/uploads/2012/03/IMG_2312-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2313/" rel="attachment wp-att-451"><img class="aligncenter size-medium wp-image-451" title="IMG_2313" src="http://www.0xcb0.com/uploads/2012/03/IMG_2313-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2314/" rel="attachment wp-att-452"><img class="aligncenter size-medium wp-image-452" title="IMG_2314" src="http://www.0xcb0.com/uploads/2012/03/IMG_2314-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Day one was over and I slept well.<br />
The next day I didn&#8217;t made that much pictures.</p>
<p>&nbsp;</p>
<div id="attachment_453" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2315/" rel="attachment wp-att-453"><img class="size-medium wp-image-453" title="The extruder head, this really was the hardest part." src="http://www.0xcb0.com/uploads/2012/03/IMG_2315-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">The extruder head, this really was the hardest part.</p></div>
<div id="attachment_456" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2318/" rel="attachment wp-att-456"><img class="size-medium wp-image-456" title="IMG_2318" src="http://www.0xcb0.com/uploads/2012/03/IMG_2318-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">nearly finish</p></div>
<p style="text-align: center;"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2316/" rel="attachment wp-att-454"><img class="aligncenter size-medium wp-image-454" title="IMG_2316" src="http://www.0xcb0.com/uploads/2012/03/IMG_2316-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2317/" rel="attachment wp-att-455"><img class="aligncenter size-medium wp-image-455" title="IMG_2317" src="http://www.0xcb0.com/uploads/2012/03/IMG_2317-225x300.jpg" alt="" width="225" height="300" /></a></p>
<div class="wp-caption aligncenter" style="width: 235px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2319/" rel="attachment wp-att-457" target="_blank"><img class=" " title="IMG_2319" src="http://www.0xcb0.com/uploads/2012/03/IMG_2319-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">It&#39;s done!!!!! The only thing missing in this pic is the filament spool on the backside.</p></div>
<p>So it was 01:12 after midnight and I had a great feeling. I coudn&#8217;t wait to do my first print and here it is.</p>
<div id="attachment_458" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2320/" rel="attachment wp-att-458"><img class="size-medium wp-image-458" title="IMG_2320" src="http://www.0xcb0.com/uploads/2012/03/IMG_2320-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">My first print ever!</p></div>
<p>You see the first print was far from perfect but it showed me that I assembled it the right way.<br />
Happy to see this tiny cube, I went to bed. The next day was for calibrating and tuning it.</p>
<p style="text-align: center;"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2321/" rel="attachment wp-att-459"><img class="aligncenter size-medium wp-image-459" title="IMG_2321" src="http://www.0xcb0.com/uploads/2012/03/IMG_2321-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p style="text-align: left;">After a week of calibration and tuning I was happy to print my first yoda head,</p>
<div id="attachment_467" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2354/" rel="attachment wp-att-467"><img class="size-medium wp-image-467 " title="IMG_2354" src="http://www.0xcb0.com/uploads/2012/03/IMG_2354-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">My calibration test <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p></div>
<p>and a whistle,</p>
<p><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2356/" rel="attachment wp-att-469"><img class="aligncenter size-medium wp-image-469" title="IMG_2356" src="http://www.0xcb0.com/uploads/2012/03/IMG_2356-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>and a better case for the fan <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2366/" rel="attachment wp-att-474"><img class="aligncenter size-medium wp-image-474" title="IMG_2366" src="http://www.0xcb0.com/uploads/2012/03/IMG_2366-300x225.jpg" alt="" width="300" height="225" /></a>A month has gone by and I printed a lot of fun stuff but also lost a lot of prints due to problems.</p>
<p>The um wiki says you&#8217;ll need 6 to 20 hours to build it. I did it in about 16,5 hours. Here&#8217;s my timeline for the build:</p>
<ol>
<li>Unpacking and Checking all stuff = 0.5h</li>
<li>Frame = 3h</li>
<li>X-Y Motors = 1.5h</li>
<li>X-Y Axis = 3h</li>
<li>Extrusion head = 4.5h</li>
<li>Z-stage = 2h</li>
<li>Material feed mechanism = 1h</li>
<li>Mounting the electronics = 1h</li>
</ol>
<p>Total: 16,5 hours</p>
<p>All in all it was fun to build it given the assembly instructions in the wiki. The assembly descriptions are straight forward and easy to understand. The description about how to level you z-axis should be described more since it&#8217;s the most important part for getting great first layers.</p>
<p>In the next days I&#8217;ll plan write another post covering:</p>
<p>- Problems while building and calibrating the um.<br />
- What I found out to be the best software toolchain for me when preprocessing/printing objects.<br />
- My fav. software for creating 3D objects.</p>
<p style="text-align: center;"><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2298/" rel="attachment wp-att-437"><br />
</a><a href="http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/img_2299/" rel="attachment wp-att-438"><br />
</a></p>
<p>&nbsp;</p>
<div></div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2012%2F03%2F04%2Fultimaker-a-box-full-of-fun%2F&amp;title=Ultimaker%20%E2%80%93%20a%20box%20full%20of%20fun" id="wpa2a_6">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2012/03/04/ultimaker-a-box-full-of-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDF Sam command line on OS X</title>
		<link>http://www.0xcb0.com/2012/02/24/pdf-sam-command-line-on-os-x/</link>
		<comments>http://www.0xcb0.com/2012/02/24/pdf-sam-command-line-on-os-x/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 11:54:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[os x]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux equivalent]]></category>
		<category><![CDATA[pdfsam]]></category>
		<category><![CDATA[split and merge]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=397</guid>
		<description><![CDATA[Today I struggled with the usage of PDFSam on my Mac. I just needed the command line tool, not the gui. On Linux it was apt-get install pdfsam On my OS X I dowloaded the .dmg from www.pdfsam.org and created this tiny &#8216;alias&#8217; in my ~/.profile. alias pdfsam='java -Dlog4j.configuration=console-log4j.xml \ -classpath /Applications/pdfsam-2.2.1.app/Contents/Resources\ /Java/pdfsam-2.2.1.jar org.pdfsam.console.ConsoleClient &#34;$@&#34;' [...]]]></description>
			<content:encoded><![CDATA[<p>Today I struggled with the usage of PDFSam on my Mac.<br />
I just needed the command line tool, not the gui. On Linux it was</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> pdfsam</pre></div></div>

<p>On my OS X I dowloaded the .dmg from www.pdfsam.org and created this tiny &#8216;alias&#8217; in my ~/.profile.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">pdfsam</span>=<span style="color: #ff0000;">'java -Dlog4j.configuration=console-log4j.xml \ 
-classpath /Applications/pdfsam-2.2.1.app/Contents/Resources\ 
/Java/pdfsam-2.2.1.jar org.pdfsam.console.ConsoleClient &quot;$@&quot;'</span></pre></div></div>

<p>On command line I can now use it like I use it on Linux.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2012/02/24/pdf-sam-command-line-on-os-x/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2012%2F02%2F24%2Fpdf-sam-command-line-on-os-x%2F&amp;title=PDF%20Sam%20command%20line%20on%20OS%20X" id="wpa2a_8">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2012/02/24/pdf-sam-command-line-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>running parallel bash tasks on OS X</title>
		<link>http://www.0xcb0.com/2011/10/19/running-parallel-bash-tasks-on-os-x/</link>
		<comments>http://www.0xcb0.com/2011/10/19/running-parallel-bash-tasks-on-os-x/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 14:38:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[brew]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[parallel]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=388</guid>
		<description><![CDATA[How often did you needed to process huge amounts of small files, where a single task uses only a small amount of cpu and memory? However, today I need a script which does exactly this. I have a mysql table which contains the filenames located on my hard drive. Now I created a little script [...]]]></description>
			<content:encoded><![CDATA[<p>How often did you needed to process huge amounts of small files, where a single task uses only a small amount of cpu and memory?<br />
However, today I need a script which does exactly this.</p>
<p>I have a mysql table which contains the filenames located on my hard drive.<br />
Now I created a little script which processes a single file in under 3 seconds. Unfortunately for 10.000+ files this would take more than 8 hours. </p>
<p>So what if I could run them in parallel with a maximum of 10 parallel task&#8217;s being executed? This would really speed up the computation!</p>
<p>Luckily in 2005 Ole Tange from GNU merged the command line tools xxargs and parallel into the a single tool &#8216;<a href="http://www.gnu.org/software/parallel/" title="parallel" target="_blank">parallel</a>&#8216;.<br />
With this great tool there is no need to write any complicated script to accomplish such tasks.<br />
First you need to install it using <a href="https://github.com/mxcl/homebrew" title="homebrew" target="_blank">homebrew</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">brew <span style="color: #c20cb9; font-weight: bold;">install</span> parallel</pre></div></div>

<p>After that i had to add the path to my .profile</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<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>Cellar<span style="color: #000000; font-weight: bold;">/</span>parallel<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">20110822</span><span style="color: #000000; font-weight: bold;">/</span>bin</pre></div></div>

<p>Here&#8217;s the basic usage:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> $<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-ne</span> <span style="color: #ff0000;">&quot;1<span style="color: #000099; font-weight: bold;">\n</span>2<span style="color: #000099; font-weight: bold;">\n</span>3<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> parallel <span style="color: #660033;">-j2</span> <span style="color: #ff0000;">&quot;echo the number is {.}&quot;</span></pre></div></div>

<p>This would echo the numbers 1, 2, 3 to the stdout with a maximum of 2 parallel running echo&#8217;s.<br />
Here&#8217;s the output:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">the number is <span style="color: #000000;">1</span>
the number is <span style="color: #000000;">3</span>
the number is <span style="color: #000000;">2</span></pre></div></div>

<p>As you can see printing a 3 outspeeds printing a 2 <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So here is my 1 liner to process all my files:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> $<span style="color: #000000; font-weight: bold;">&gt;</span> mysql <span style="color: #660033;">-uroot</span> -p<span style="color: #7a0874; font-weight: bold;">&#91;</span>secretPW<span style="color: #7a0874; font-weight: bold;">&#93;</span> my_database <span style="color: #000000; font-weight: bold;">&lt;</span> \ 
    <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SELECT filename FROM files&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>\ 
    <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> <span style="color: #ff0000;">'filename'</span> <span style="color: #000000; font-weight: bold;">|</span> parallel <span style="color: #660033;">-j10</span> <span style="color: #ff0000;">&quot;./processFile.sh {.}&quot;</span></pre></div></div>

<p>After using this it took only 37min to process my 10000+ files <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2011/10/19/running-parallel-bash-tasks-on-os-x/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2011%2F10%2F19%2Frunning-parallel-bash-tasks-on-os-x%2F&amp;title=running%20parallel%20bash%20tasks%20on%20OS%20X" id="wpa2a_10">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2011/10/19/running-parallel-bash-tasks-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netbeans 7 and the missing JAX-RPC plugin</title>
		<link>http://www.0xcb0.com/2011/07/21/netbeans-7-and-the-missing-jax-rpc-plugin/</link>
		<comments>http://www.0xcb0.com/2011/07/21/netbeans-7-and-the-missing-jax-rpc-plugin/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 18:13:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[wsdl]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[jax]]></category>
		<category><![CDATA[jax-rpc]]></category>
		<category><![CDATA[jaxb binding]]></category>
		<category><![CDATA[missing plugin]]></category>
		<category><![CDATA[netbeans 7]]></category>
		<category><![CDATA[update center]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=384</guid>
		<description><![CDATA[I haven&#8217;t used Netbeans JAX binding for over a year. And the last time I used it, it was easy to find in the plugin menu of Netbeans 6. Now I&#8217;ve upgraded to Netbeans 7 and wasn&#8217;t able to find the plugin. Happily I found a page that advised me to add http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz to the [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t used Netbeans JAX binding for over a year.<br />
And the last time I used it, it was easy to find in the plugin menu of Netbeans 6.<br />
Now I&#8217;ve upgraded to Netbeans 7 and wasn&#8217;t able to find the plugin.<br />
Happily I found a page that advised me to add </p>
<pre>http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz</pre>
<p>to the Update Center.<br />
After that I got a huge list of updates, and my missing JAX-RPC.<br />
Now just: install, restart, update-again.<br />
Et voila, there is the missing &#8220;JAXB Binding&#8221; menu point that was searching for.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2011/07/21/netbeans-7-and-the-missing-jax-rpc-plugin/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2011%2F07%2F21%2Fnetbeans-7-and-the-missing-jax-rpc-plugin%2F&amp;title=Netbeans%207%20and%20the%20missing%20JAX-RPC%20plugin" id="wpa2a_12">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2011/07/21/netbeans-7-and-the-missing-jax-rpc-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat java.net.BindException: Cannot assign requested address &#8211; made me crazy</title>
		<link>http://www.0xcb0.com/2011/07/06/tomcat-java-net-bindexception-cannot-assign-requested-address-made-me-crazy/</link>
		<comments>http://www.0xcb0.com/2011/07/06/tomcat-java-net-bindexception-cannot-assign-requested-address-made-me-crazy/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 18:52:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[weird]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=380</guid>
		<description><![CDATA[Today I migrated a Tomcat Server to a new host. Everything was in place but it won&#8217;t start showing me the following error: Tomcat java.net.BindException: Cannot assign requested address I&#8217;m happy &#8216;Nir Levy&#8216; had nearly the same problem 4 years ago. Here he describes what went wrong with his /etc/hosts configuration. My problem was that [...]]]></description>
			<content:encoded><![CDATA[<p>Today I migrated a Tomcat Server to a new host. Everything was in place but it won&#8217;t start showing me the following error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Tomcat java.net.BindException: Cannot assign requested address</pre></div></div>

<p>I&#8217;m happy &#8216;<a href="http://nirlevy.blogspot.com/">Nir Levy</a>&#8216; had nearly the same problem 4 years ago. <a href="http://nirlevy.blogspot.com/2007/12/tomcat-javanetbindexception-cannot.html">Here</a> he describes what went wrong with his /etc/hosts configuration.<br />
My problem was that I did not update the host name in the configuration for my module<br />
&#8220;/webapps/WEB-INF/classes/Configuration.properties&#8221;<br />
After that everything was fine <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I *heart* blogs !</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2011/07/06/tomcat-java-net-bindexception-cannot-assign-requested-address-made-me-crazy/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2011%2F07%2F06%2Ftomcat-java-net-bindexception-cannot-assign-requested-address-made-me-crazy%2F&amp;title=Tomcat%20java.net.BindException%3A%20Cannot%20assign%20requested%20address%20%E2%80%93%20made%20me%20crazy" id="wpa2a_14">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2011/07/06/tomcat-java-net-bindexception-cannot-assign-requested-address-made-me-crazy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mcrypt and PHP, on Mac OS X Snow Leopard 10.6.4</title>
		<link>http://www.0xcb0.com/2011/05/26/mcrypt-and-php-on-mac-os-x-snow-leopard-10-6-4/</link>
		<comments>http://www.0xcb0.com/2011/05/26/mcrypt-and-php-on-mac-os-x-snow-leopard-10-6-4/#comments</comments>
		<pubDate>Thu, 26 May 2011 12:15:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[crypt]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[libmcrypt]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[Michael Gracie]]></category>
		<category><![CDATA[os x 10.6.4]]></category>
		<category><![CDATA[php 5.3.2]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=375</guid>
		<description><![CDATA[I found this great tutorial on how to install mcrypt into php under OS X 10.6.1 http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10-6-1/ Works like charming with OS X 10.6.4 and PHP Version 5.3.2. #!/bin/bash mkdir src cd src wget http://museum.php.net/php5/php-5.3.2.tar.bz2 wget http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmcrypt%2Ffiles%2FLibmcrypt%2F2.5.8%2F&#38;ts=1306411641&#38;use_mirror=ignum tar xzvf php-5.3.2.tar.bz2 tar xzvf libmcrypt-2.5.8.tar.gz cd libmcrypt-2.5.8 MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' LDFLAGS='-O3 -arch i386 [...]]]></description>
			<content:encoded><![CDATA[<p>I found <a href="http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10-6-1/">this</a> great tutorial on how to install mcrypt into php under OS X 10.6.1<br />
<a href="http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10-6-1/">http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10-6-1/</a><br />
Works like charming with OS X 10.6.4 and PHP Version 5.3.2.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> src
<span style="color: #7a0874; font-weight: bold;">cd</span> src
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>museum.php.net<span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span>php-5.3.2.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>mcrypt<span style="color: #000000; font-weight: bold;">/</span>Libmcrypt<span style="color: #000000; font-weight: bold;">/</span>2.5.8<span style="color: #000000; font-weight: bold;">/</span>libmcrypt-2.5.8.tar.gz?<span style="color: #007800;">r</span>=http<span style="color: #000000; font-weight: bold;">%</span>3A<span style="color: #000000; font-weight: bold;">%</span>2F<span style="color: #000000; font-weight: bold;">%</span>2Fsourceforge.net<span style="color: #000000; font-weight: bold;">%</span>2Fprojects<span style="color: #000000; font-weight: bold;">%</span>2Fmcrypt<span style="color: #000000; font-weight: bold;">%</span>2Ffiles<span style="color: #000000; font-weight: bold;">%</span>2FLibmcrypt<span style="color: #000000; font-weight: bold;">%</span>2F2.5.8<span style="color: #000000; font-weight: bold;">%</span>2F<span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #007800;">ts</span>=<span style="color: #000000;">1306411641</span><span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #007800;">use_mirror</span>=ignum
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf php-5.3.2.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf libmcrypt-2.5.8.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libmcrypt-2.5.8
<span style="color: #007800;">MACOSX_DEPLOYMENT_TARGET</span>=<span style="color: #000000;">10.6</span> <span style="color: #007800;">CFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> <span style="color: #007800;">LDFLAGS</span>=<span style="color: #ff0000;">'-O3 -arch i386 -arch x86_64'</span> <span style="color: #007800;">CXXFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--disable-dependency-tracking</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #660033;">-j6</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>php-5.3.2<span style="color: #000000; font-weight: bold;">/</span>ext<span style="color: #000000; font-weight: bold;">/</span>mcrypt
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>phpize
<span style="color: #007800;">MACOSX_DEPLOYMENT_TARGET</span>=<span style="color: #000000;">10.6</span> <span style="color: #007800;">CFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> <span style="color: #007800;">LDFLAGS</span>=<span style="color: #ff0000;">'-O3 -arch i386 -arch x86_64'</span> <span style="color: #007800;">CXXFLAGS</span>=<span style="color: #ff0000;">'-O3 -fno-common -arch i386 -arch x86_64'</span> .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-php-config</span>=<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>MacOSX10.6.sdk<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php-config <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #660033;">-j6</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Completed install, now make sure to edit your php.ini&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;and check for <span style="color: #000099; font-weight: bold;">\&quot;</span>enable_dl = On<span style="color: #000099; font-weight: bold;">\&quot;</span> and add <span style="color: #000099; font-weight: bold;">\&quot;</span>extension=mcrypt.so<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> to the dynamic extentions<span style="color: #ff0000;">&quot;</span></pre></div></div>

<p>This is the little bash script I wrote according to his tutorial. This comes without any warranty!!!<br />
Be aware that you have to enter your root password twice while installing this script. </p>
<p>Big Thanks to Michael Gracie </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2011/05/26/mcrypt-and-php-on-mac-os-x-snow-leopard-10-6-4/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2011%2F05%2F26%2Fmcrypt-and-php-on-mac-os-x-snow-leopard-10-6-4%2F&amp;title=mcrypt%20and%20PHP%2C%20on%20Mac%20OS%20X%20Snow%20Leopard%2010.6.4" id="wpa2a_16">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2011/05/26/mcrypt-and-php-on-mac-os-x-snow-leopard-10-6-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes Sharing over ssh</title>
		<link>http://www.0xcb0.com/2011/03/30/itunes-sharing-over-ssh/</link>
		<comments>http://www.0xcb0.com/2011/03/30/itunes-sharing-over-ssh/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 11:54:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=367</guid>
		<description><![CDATA[Today I realized that I had not a single song on my notebook hard disk. Thanks to Last.FM Unfortunately &#8220;Simplify Media&#8221; has been adopted by Google Inc. and they do not offer a similar service yet. So I needed a solution to stream my iTunes from home to the office. If found a great solution [...]]]></description>
			<content:encoded><![CDATA[<p>Today I realized that I had not a single song on my notebook hard disk. Thanks to Last.FM <img src='http://www.0xcb0.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Unfortunately &#8220;Simplify Media&#8221; has been adopted by Google Inc. and they do not offer a similar service yet. So I needed a solution to stream my iTunes from home to the office. If found a great solution by &#8220;Robert Harder&#8221; which works like charm. (<a href="http://blog.iharder.net/2009/09/28/itunes-stream-itunes-over-ssh/">source</a>).<br />
This is the bash script:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
dns-sd <span style="color: #660033;">-P</span> <span style="color: #ff0000;">&quot;Home iTunes&quot;</span> _daap._tcp <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #000000;">3689</span> localhost.local. \ 
127.0.0.1 <span style="color: #ff0000;">&quot;Arbitrary text record&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;
<span style="color: #007800;">PID</span>=<span style="color: #007800;">$!</span>
<span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-C</span> <span style="color: #660033;">-N</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">3689</span>:localhost:<span style="color: #000000;">3689</span> username<span style="color: #000000; font-weight: bold;">@</span>dyndns_name.dyndns.org
<span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #007800;">$PID</span></pre></div></div>

<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2011/03/30/itunes-sharing-over-ssh/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2011%2F03%2F30%2Fitunes-sharing-over-ssh%2F&amp;title=iTunes%20Sharing%20over%20ssh" id="wpa2a_18">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2011/03/30/itunes-sharing-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LE Mensa</title>
		<link>http://www.0xcb0.com/2011/03/11/le-mensa/</link>
		<comments>http://www.0xcb0.com/2011/03/11/le-mensa/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 17:08:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.0xcb0.com/?p=360</guid>
		<description><![CDATA[This week I released my first OS X Dashboard Widget. It&#8217;s called &#8216;LE Mensa&#8217; and it displays all menues for all cafeterias in Leipzig, which are part of the student union. If you want to give it a try then visit the project page: http://stinfwww.informatik.uni-leipzig.de/~mai03fln/leMensa/ Today I updated it to version 0.15 !! It works [...]]]></description>
			<content:encoded><![CDATA[<p>This week I released my first OS X Dashboard Widget.<br />
It&#8217;s called &#8216;LE Mensa&#8217; and it displays all menues for all cafeterias in Leipzig, which are part of the student union.<br />
If you want to give it a try then visit the project page: <a href="http://stinfwww.informatik.uni-leipzig.de/~mai03fln/leMensa/">http://stinfwww.informatik.uni-leipzig.de/~mai03fln/leMensa/</a><br />
Today I updated it to version 0.15 !!</p>
<p>It works this way:<br />
1. I wrote a python script which extracts information from the student union homepage and transform it into xml.<br />
2. A .php script can call this .py script and give back those infos.<br />
3. The widget was written in Dashcode with jQuery as an additional package. So it&#8217;s mainly javascript, some html and css. The widget now calls this php script, retrieves the xml and displays it in a (hopefully) pretty way.</p>
<p>This is how it looks:<br />
<img src="http://stinfwww.informatik.uni-leipzig.de/~mai03fln/leMensa/LE_Mensa_Project_Blog/LE_Mensa_Blog/LE_Mensa_Blog_files/shapeimage_1.png" alt="Front View" /></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.0xcb0.com/2011/03/11/le-mensa/" target="_blank" title="Share on Facebook">Share on Facebook</a></p><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.0xcb0.com%2F2011%2F03%2F11%2Fle-mensa%2F&amp;title=LE%20Mensa" id="wpa2a_20">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.0xcb0.com/2011/03/11/le-mensa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

