<?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>It is me! &#187; Tutorials</title>
	<atom:link href="http://myrkur.de/thoughts/cat/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://myrkur.de/thoughts</link>
	<description>And Chaos is good for you.</description>
	<lastBuildDate>Thu, 23 Jul 2009 12:01:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Globally turn off spell checking on Mac OS X.</title>
		<link>http://myrkur.de/thoughts/2008/09/25/disable-spell-checking-os-x/</link>
		<comments>http://myrkur.de/thoughts/2008/09/25/disable-spell-checking-os-x/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 18:03:57 +0000</pubDate>
		<dc:creator>Xjs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Checking]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[global]]></category>
		<category><![CDATA[globally]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Spell]]></category>
		<category><![CDATA[Spell Checking]]></category>

		<guid isPermaLink="false">http://myrkur.de/thoughts/?p=67</guid>
		<description><![CDATA[I already posted (in my looong diary post) that I&#8217;d like to turn off spell checking globally on Mac OS X. Googling didn&#8217;t really help &#8211; I found links that explained how to disable the spell checker service. But when doing like they tell, several applications complained that they couldn&#8217;t contact the spell checker service [...]]]></description>
			<content:encoded><![CDATA[<p>I already posted (in my looong diary post) that I&#8217;d like to turn off spell checking globally on Mac OS X. Googling didn&#8217;t really help &#8211; I found links that explained how to <a href="http://www.mac-forums.com/forums/showpost.php?p=609895&amp;postcount=7">disable the spell checker service</a>. But when doing like they tell, several applications complained that they couldn&#8217;t contact the spell checker service (via a dialog box) which is even more annoying than the red lines under words. In fact, Camino prompted me like &#8220;could not contact spell checker [OK]&#8221; for EVERY WORD I wrote, which I found out when using a pastebin service <img src='http://myrkur.de/thoughts/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>So, here&#8217;s my sweet solution. How it works: It tells the spell checker that it should check spelling, but for NO language. It works like deleting all the NSLanguages parameters in its Info.plist. If you know what you&#8217;re doing, you can edit <em>/System/Library/Services/AppleSpell.service/Contents/Info.plist </em>yourself (NSLanguages is an array in <em>Services » Item 1 </em>– or use my edited Info.plist, see paragraph below) &#8211; if not, I&#8217;ll assist you a little bit.</p>
<hr /><span id="more-67"></span><br />
First, download my <a href="http://myrkur.de/thoughts/wp-content/uploads/2008/09/info.plist">edited Info.plist</a>. Then, open a Terminal window (<em>Applications » Utilities » Terminal</em>) and type the following:</p>
<pre>sudo mv /System/Library/Services/AppleSpell.service/Contents/Info.plist /System/Library/Services/AppleSpell.service/Contents/Info.plist.bak</pre>
<p>Hit return and you will be prompted for your password. Don&#8217;t be confused of no characters appearing after the prompt, just type your password and hit return again. Paste the following into the terminal window now:</p>
<pre>sudo cp</pre>
<p>Insert a space and then drag the Info.plist you just downloaded on your terminal window. Type another space, then insert the following:</p>
<pre>/System/Library/Services/AppleSpell.service/Contents/Info.plist</pre>
<p>Your line in the Terminal window should now look like this:</p>
<pre>sudo cp /Users/YourUserName/Downloads/Info.plist /System/Library/Services/AppleSpell.service/Contents/Info.plist</pre>
<p>(the string that appeared when you dragged the file onto the terminal window might look different) &#8211; Check if you didn&#8217;t forget a space, then hit return again. Eventually, you may be asked for your password again, but don&#8217;t worry if not, that&#8217;s all right, too.</p>
<p>Finally, type</p>
<pre>sudo killall AppleSpell</pre>
<p>and you&#8217;re done!</p>
<p>Hope somebody&#8217;s lucky with that,</p>
<p>Xjs.</p>
<p><strong>Update: </strong>It appears like you should not have applications running that use AppleSpell.service while &#8220;patching&#8221; it – as <a href="#mce_temp_url#">Owen</a> pointed out. So quit all apps that do spell checking before.</p>
]]></content:encoded>
			<wfw:commentRss>http://myrkur.de/thoughts/2008/09/25/disable-spell-checking-os-x/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Eloquentes Javaskript</title>
		<link>http://myrkur.de/thoughts/2008/07/04/eloquentes-javaskript/</link>
		<comments>http://myrkur.de/thoughts/2008/07/04/eloquentes-javaskript/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 18:23:43 +0000</pubDate>
		<dc:creator>Xjs</dc:creator>
				<category><![CDATA[German]]></category>
		<category><![CDATA[Picks]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Eloquent]]></category>
		<category><![CDATA[EloquentJavascript]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://myrkur.de/thoughts/?p=55</guid>
		<description><![CDATA[Hi!
Vor einiger Zeit bat mich ein Bekannter, fuer ihn eine Kleinigkeit (ein scrollendes Menue) in Javascript zu implementieren. Bis dahin waren meine Javascript-Kenntnisse nicht besonders ausgepraegt. Im Rahmen dessen hab ich einiges dazugelernt, teilweise durch Code-Lesen oder SELFHTML.
Was mir allerdings in #selfhtml im IRC empfohlen wurde, war ein sehr huebsches Tutorial nahmens &#8220;Eloquent JavaScript&#8221;. Das [...]]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p>Vor einiger Zeit bat mich ein Bekannter, fuer ihn eine Kleinigkeit (ein scrollendes Menue) in Javascript zu implementieren. Bis dahin waren meine Javascript-Kenntnisse nicht besonders ausgepraegt. Im Rahmen dessen hab ich einiges dazugelernt, teilweise durch Code-Lesen oder <a href="http://de.selfhtml.org">SELFHTML</a>.</p>
<p>Was mir allerdings in #selfhtml im IRC empfohlen wurde, war ein sehr huebsches Tutorial nahmens <a href="http://eloquentjavascript.net">&#8220;Eloquent JavaScript&#8221;</a>. Das ist ein Schritt-fuer-Schritt-Onlinekurs fuer Javascript. Das Beste daran ist allerdings die interaktive Javascript-Konsole, die man einblenden und in die man Code eingeben kann, der sofort ausgefuehrt wird (<em>eval()</em> macht&#8217;s moeglich). Das ist natuerlich super zum Ueben.</p>
<p>Man kann sich das Tutorial auch als Archivdatei runterladen und auf den eigenen Server schieben (ich hab&#8217;s auf localhost), der eloquentjavascript.net-Server ist bisweilen etwas langsam.</p>
<p>Hoffe, es gefaellt,</p>
<p>Jannis.</p>
]]></content:encoded>
			<wfw:commentRss>http://myrkur.de/thoughts/2008/07/04/eloquentes-javaskript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting of arrays with keeping the ID</title>
		<link>http://myrkur.de/thoughts/2007/12/13/array-sorting/</link>
		<comments>http://myrkur.de/thoughts/2007/12/13/array-sorting/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 17:46:11 +0000</pubDate>
		<dc:creator>Xjs</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[ID]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://myrkur.de/thoughts/2007/12/13/array-sorting/</guid>
		<description><![CDATA[Hi.
While working for the actual &#8220;Jugend-Forscht&#8221; project I had the problem of having an array of integers, at which always one ID matched one function value. Now I wanted to sort the whole by function value, but afterwards I wanted to have the ID again.
Simple Quicksort won&#8217;t work, because then the indices appear.
So I thought [...]]]></description>
			<content:encoded><![CDATA[<p>Hi.</p>
<p>While working for the actual &#8220;Jugend-Forscht&#8221; project I had the problem of having an array of integers, at which always one ID matched one function value. Now I wanted to sort the whole by function value, but afterwards I wanted to have the ID again.</p>
<p>Simple Quicksort won&#8217;t work, because then the indices appear.</p>
<p>So I thought the following: I multiply the function value with the maximum function value possible, and add the array index (which is smaller than the maximal function value) afterwards.</p>
<p>Works the following:</p>
<pre>int array[5] = {99, 71, 22, 40, 1}; // fictive data
for (int i = 0; i &lt; 5; i++)
{
    array[i] *= FUNC_MAX;
    array[i] += i;
}
sortarray (array, 5); // function to sort the array.</pre>
<p>Bye,</p>
<p>Jannis.</p>
]]></content:encoded>
			<wfw:commentRss>http://myrkur.de/thoughts/2007/12/13/array-sorting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Tutorial] What to do if windows suddenly disappear with Leopard and Spaces.</title>
		<link>http://myrkur.de/thoughts/2007/12/04/spaces-disappear/</link>
		<comments>http://myrkur.de/thoughts/2007/12/04/spaces-disappear/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 20:06:22 +0000</pubDate>
		<dc:creator>Xjs</dc:creator>
				<category><![CDATA[Picks]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Zeug halt.]]></category>
		<category><![CDATA[disappear]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Spaces]]></category>
		<category><![CDATA[vanish]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://myrkur.de/thoughts/2007/12/04/tutorial-lang_dewas-tun-wenn-fenster-unter-leopard-mit-spaces-plotzlich-verschwindenlang_delang_enwhat-to-do-if-windows-suddenly-disappear-with-leopard-and-spaceslang_en/</guid>
		<description><![CDATA[Hi.
I&#8217;ve noticed that some times now. When clicking the application icon in Dock, though, one still gets the menu, but not the program windows. Because the whole often happened when fast switching through Spaces, I thought it must have something to do with Spaces.
Till now I just restarted the vanished program (because it was always [...]]]></description>
			<content:encoded><![CDATA[<p>Hi.</p>
<p>I&#8217;ve noticed that some times now. When clicking the application icon in Dock, though, one still gets the menu, but not the program windows. Because the whole often happened when fast switching through Spaces, I thought it must have something to do with Spaces.</p>
<p>Till now I just restarted the vanished program (because it was always Mail or Vienna). But now it happened to me with <a href="http://myrkur.de/thoughts/2007/09/04/n/">N</a>, and because I was in the middle of an episode, I didn&#8217;t want to restart the app.</p>
<p>The solution is as easy as simple:</p>
<p>Just open System Preferences, go to the Spaces preferences and switch Spaces off and on again.</p>
<p>Hope that helps somebody,</p>
<p>greetings,</p>
<p>Jannis.</p>
]]></content:encoded>
			<wfw:commentRss>http://myrkur.de/thoughts/2007/12/04/spaces-disappear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
