<?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>ZENTRALMASCHINE</title>
	<atom:link href="http://www.zentralmaschine.net/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.zentralmaschine.net/blog</link>
	<description>must not forget things</description>
	<lastBuildDate>Thu, 29 Apr 2010 09:49:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stupid iPhone 3GS entered a reboot loop after network reset</title>
		<link>http://www.zentralmaschine.net/blog/?p=41</link>
		<comments>http://www.zentralmaschine.net/blog/?p=41#comments</comments>
		<pubDate>Thu, 29 Apr 2010 02:47:41 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Jailbroken]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=41</guid>
		<description><![CDATA[I ran into the quite common, yet very annyoing problem that after reseting the network settings, the iphone reboots and keeps on doing this forever. Iphone equals brick?
We&#8217;ll see!
The first answers when hitting google will be to restore your phone. Unfortunately, you are not allowed to downgrade to an official version but would have to [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into the quite common, yet very annyoing problem that after reseting the network settings, the iphone reboots and keeps on doing this forever. Iphone equals brick?</p>
<p>We&#8217;ll see!</p>
<p>The first answers when hitting google will be to restore your phone. Unfortunately, you are not allowed to downgrade to an official version but would have to install iphone os 3.1.3 which is not jailbreakable (simply said). Unfrtnately jailbreaking and unlocking the phone is essential, because I do not have a Mr. T molie contract.</p>
<p>A little more googling showed up a <a href="http://www.hackint0sh.org/f220/124913.htm">possible solution</a>, but reading through all of the posts it looked like the method does not reliably solve the problem.</p>
<p>After even little more googling I learned the differences between old and new bootrom. All you have to know is, that the old bootrom allows you to install custom firmware (CFW) images, which is exactly what you want if you do not have a factory unlocked iphone. The reason for this is the baseband version which gets updated on a restore with the official release by the time of writing and that this new baseband can not be unlocked and probably never will be. The crucial information was, that 359.<strong>3</strong> is the <em>old</em> bootrom and 359.<strong>3.2</strong> is the <em>new</em>. </p>
<p>I checked the bootrom version of my phone and was very lucky to find out that my phone runs the old bootrom version.</p>
<p><a href="http://www.iphoneheat.com/2009/10/download-iphone-os-3-1-2-custom-firmware-ipsw-files-for-iphone-3gs-3g-2g/">Restored the phone with CFW</a>, <a href="http://www.redmondpie.com/download-blacksn0w-from-cydia-for-iphone-3.1.2-firmware-9140083/">ran blacksn0w</a>, followed <a href="http://support.apple.com/kb/TS1275">some instructions</a> and the phone is running again. Upon connecting the phone, iTunes will offer you to restore the backup it has made the last time you synced and restore all your settings and sync all of your data (except the music).</p>
<p>Very relieved now, knowing that I can do this whenever I want and restore the phone to the factory settings (sort of <img src='http://www.zentralmaschine.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  and maybe, we can just enter the next step by <a href="http://www.redmondpie.com/enable-tethering-on-iphone-3.1.2-firmware-with-blacksn0w-9140087/">checking out the tethering</a>.</p>
<p>I guess the lesson learned here is you <strong>don&#8217;t reset the network settings unless you really have to</strong>, as that was where all the hassle started.</p>
<p>I hope this will be useful!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=41</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Quick Learner</title>
		<link>http://www.zentralmaschine.net/blog/?p=37</link>
		<comments>http://www.zentralmaschine.net/blog/?p=37#comments</comments>
		<pubDate>Sun, 18 Apr 2010 09:19:24 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Objective C]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=37</guid>
		<description><![CDATA[If you do not have lots of experience when it comes to coding Objective-C or even C in general, but have a very good understanding of the concept of computer languages and object oriented programming, all you really need to get you started is a tutorial that provides you with a set of tools and [...]]]></description>
			<content:encoded><![CDATA[<p>If you do not have lots of experience when it comes to coding Objective-C or even C in general, but have a very good understanding of the concept of computer languages and object oriented programming, all you really need to get you started is a tutorial that provides you with a set of tools and explains the basics. </p>
<p>The place where you can get this: <a href="http://cocoadevcentral.com/">CocoaDevCentral</a></p>
<p>The article <a href="http://cocoadevcentral.com/d/learn_objectivec/">Learn Objective-C</a> contains everything you need to get that basic understanding and it will take you approximately 5 minutes to read.</p>
<p>I know this is old news, but I just rejoiced over my finding that I had to share it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>App deployment in a jailbroken world</title>
		<link>http://www.zentralmaschine.net/blog/?p=33</link>
		<comments>http://www.zentralmaschine.net/blog/?p=33#comments</comments>
		<pubDate>Mon, 05 Apr 2010 18:40:47 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[Jailbroken]]></category>
		<category><![CDATA[Objective C]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=33</guid>
		<description><![CDATA[This turned out to be easier than I thought. Once you circumvented the code signing, all you have to do is build the project Menu-&#62;Build-&#62;Build or Command+B.
This will place an .app folder in the following directory: /PATH_TO_YOUR_PROJECT/build/Debug-iphoneos/. This .app folder contains everything to run the application, but most importantly the binary.
Self sign your binary using [...]]]></description>
			<content:encoded><![CDATA[<p>This turned out to be easier than I thought. Once you <a title="Avoid code signing errors" href="http://www.zentralmaschine.net/blog/?p=27" target="_self">circumvented the code signing</a>, all you have to do is build the project Menu-&gt;Build-&gt;Build or Command+B.</p>
<p>This will place an .app folder in the following directory: <code>/PATH_TO_YOUR_PROJECT/build/Debug-iphoneos/</code>. This .app folder contains everything to run the application, but most importantly the binary.</p>
<p>Self sign your binary using ldid. You can also do this on your phone but I prefer to do it on the development machine. Ldid for osx is <a title="Download ldid" href="http://thebigboss.org/hostedfiles/ldid">here</a>. For convenience, add it as a build step in xcode:<br />
* Under targets, your project, right click and select  Add, New Build Phase, New Run Script Build Phase.<br />
* Type in /usr/bin/ldid -S FULLPATH_TO_YOUR_BINARY</p>
<p>Now use &lt;code&gt;ssh&lt;/code&gt; to copy the .app folder to the /Application directory of your phone<br />
<code><br />
$ scp -r YOUR_APP.app root@YOUR_PHONES_IP:/Applications<br />
</code></p>
<p><strong>First time only:</strong><br />
If this is the first deploy of your application you need to respring in order to make the icon show in your springboard. I found <code>respring</code> to be handy because it may be operated via command line. Install it via apt-get:<br />
<code><br />
$ apt-get install com.bigboss.respring<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I don&#8217;t want to pay ADC fees</title>
		<link>http://www.zentralmaschine.net/blog/?p=27</link>
		<comments>http://www.zentralmaschine.net/blog/?p=27#comments</comments>
		<pubDate>Mon, 05 Apr 2010 17:00:40 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[Objective C]]></category>
		<category><![CDATA[Xcode]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=27</guid>
		<description><![CDATA[When it comes to building an application for your iPhone and Xcode will annoy you with error about missing signatures.

Basically it wants you to pay the 99$ for an ADC membership. I did not want to pay that while still toying around and not sure about when my application will be ready. Did some research [...]]]></description>
			<content:encoded><![CDATA[<p>When it comes to building an application for your iPhone and Xcode will annoy you with error about missing signatures.</p>
<p><a href="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.42.22-PM.png"><img class="alignnone size-full wp-image-28" title="Screen shot 2010-04-05 at 6.42.22 PM" src="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.42.22-PM.png" alt="" width="735" height="76" /></a></p>
<p>Basically it wants you to pay the 99$ for an ADC membership. I did not want to pay that while still toying around and not sure about when my application will be ready. Did some research and, of course, this &#8220;feature&#8221; can be turned of.</p>
<p>In order to finally deploy an application to your iPhone you will need it to be jailbroken, but that goes into another post</p>
<p><strong>1. Switch off code signing in xcode plist</strong><br />
<code><br />
$ cd /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk<br />
$ sudo vi SDKSettings.plist<br />
</code></p>
<p>Change the value of <code>CODE_SIGNING_REQUIRED</code> to NO.</p>
<p><strong>2. Switch off code signing in Xcode</strong></p>
<p>Open info for your project:</p>
<p><a href="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.43.16-PM.png"><img class="alignnone size-full wp-image-29" title="Screen shot 2010-04-05 at 6.43.16 PM" src="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.43.16-PM.png" alt="" width="234" height="237" /></a></p>
<p>Navigate to the &#8220;Build&#8221; tab and the Code Signing options accordingly</p>
<p><a href="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.44.02-PM.png"><img class="alignnone size-full wp-image-30" title="Screen shot 2010-04-05 at 6.44.02 PM" src="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.44.02-PM.png" alt="" width="566" height="215" /></a></p>
<p>Et voilà, no more error messages!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=27</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tiny computers for big effect</title>
		<link>http://www.zentralmaschine.net/blog/?p=21</link>
		<comments>http://www.zentralmaschine.net/blog/?p=21#comments</comments>
		<pubDate>Sat, 27 Mar 2010 17:19:25 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=21</guid>
		<description><![CDATA[So, I just purchased one of these:

and after installing some of this:
http://linux.voyage.hk/
and a little tweaking, there is lots of nice things to come. Stay tuned!
]]></description>
			<content:encoded><![CDATA[<p>So, I just purchased one of these:</p>
<p><a href="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/03/IMG_0090_2.jpg"><img class="alignnone size-medium wp-image-22" title="IMG_0090_2" src="http://www.zentralmaschine.net/blog/wp-content/uploads/2010/03/IMG_0090_2-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>and after installing some of this:</p>
<p><a href="http://linux.voyage.hk/">http://linux.voyage.hk/</a></p>
<p>and a little tweaking, there is lots of nice things to come. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Piping tar datastream over SSH</title>
		<link>http://www.zentralmaschine.net/blog/?p=15</link>
		<comments>http://www.zentralmaschine.net/blog/?p=15#comments</comments>
		<pubDate>Tue, 04 Aug 2009 09:10:31 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=15</guid>
		<description><![CDATA[How to use tar to copy everything in /usr/local/stuff to remote&#8217;s /backup (because I always forget how this is done),
cd /usr/local/stuff
tar cf - . &#124; ssh remote "cd /backup; tar xf -"
Basically, you&#8217;re telling tar to tar up everything in your current directory (.) and send it to -, which is standard out; this is [...]]]></description>
			<content:encoded><![CDATA[<p>How to use tar to copy everything in /usr/local/stuff to remote&#8217;s /backup (because I always forget how this is done),</p>
<pre>cd /usr/local/stuff</pre>
<pre>tar cf - . | ssh remote "cd /backup; tar xf -"</pre>
<p>Basically, you&#8217;re telling tar to tar up everything in your current directory (.) and send it to -, which is standard out; this is piped to ssh, which (once logged in) will send it to standard input of the process it runs, in this case tar.</p>
<p>Other way round:</p>
<pre>ssh remote "cd /usr/local/stuff; tar cf - ." | tar xf -</pre>
<p>will copy everything from /usr/local/stuff to your current directory.</p>
<p>(Original source: http://macosx.com/forums/unix-x11/16999-piping-tar-datastream-over-ssh.html)
</p>
<p><!--09ef4b77a36196de35f03c6023131a61--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting an h2 database console via command line</title>
		<link>http://www.zentralmaschine.net/blog/?p=14</link>
		<comments>http://www.zentralmaschine.net/blog/?p=14#comments</comments>
		<pubDate>Tue, 10 Mar 2009 16:32:50 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=14</guid>
		<description><![CDATA[I have to post this because I am so sure I will have forgotten it once I don&#8217;t use it for two days:
$ java -cp h2*.jar org.h2.tools.Server
If you are using maven, as I do, the h2 packages reside in PATHTO/.m2/repository/com/h2database/h2/LATESTVERSION/.
The same information may be found at http://www.h2database.com/html/tutorial.html
]]></description>
			<content:encoded><![CDATA[<p>I have to post this because I am so sure I will have forgotten it once I don&#8217;t use it for two days:</p>
<pre>$ java -cp h2*.jar org.h2.tools.Server</pre>
<p>If you are using maven, as I do, the h2 packages reside in <code>PATHTO/.m2/repository/com/h2database/h2/LATESTVERSION/</code>.</p>
<p>The same information may be found at <a title="http://www.h2database.com/html/tutorial.html " href="http://www.h2database.com/html/tutorial.html">http://www.h2database.com/html/tutorial.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat Debian Permission Problems</title>
		<link>http://www.zentralmaschine.net/blog/?p=13</link>
		<comments>http://www.zentralmaschine.net/blog/?p=13#comments</comments>
		<pubDate>Thu, 11 Sep 2008 16:41:26 +0000</pubDate>
		<dc:creator>niels</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.zentralmaschine.net/blog/?p=13</guid>
		<description><![CDATA[I just recently installed a tomcat 5.5 on debian etch and ran into a slight problem. Tomcat was unable to read and/or write files with the default configuration. Tomcat was unable to access logfiles and so, unable to start the webapplications.
A little bit of research brought up an answer to the problem. Source was the [...]]]></description>
			<content:encoded><![CDATA[<p>I just recently installed a tomcat 5.5 on debian etch and ran into a slight problem. Tomcat was unable to read and/or write files with the default configuration. Tomcat was unable to access logfiles and so, unable to start the webapplications.</p>
<p>A little bit of research brought up an answer to the problem. Source was the <a target="_blank" href="http://www.google.de/search?q=java+security+manager">Java Security Manager</a>. It is configurable through files in <code>/etc/tomcat5.5/policy.d/</code> but it can be very tedious, because it you have to di it explicitly for every file. If you are the only one deploying to the server you can also disable the security manager tomcatwide by editing <code>/etc/default/tomcat5.5</code> and setting TOMCAT5_SECURITY to &#8216;no&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zentralmaschine.net/blog/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
