<?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>With sufficient thrust, pigs fly just fine. &#187; Creations</title>
	<atom:link href="http://slinky.imukuppi.org/category/creations/feed/" rel="self" type="application/rss+xml" />
	<link>http://slinky.imukuppi.org</link>
	<description>Personal weblog of Jani Nurminen. Contains ideas, links, my creations, about me, and so on.</description>
	<lastBuildDate>Mon, 24 May 2010 20:44:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Swedish e-Legitimation, Part II &#8211; &#8220;The Signing&#8221;</title>
		<link>http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/</link>
		<comments>http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 09:19:19 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Creations]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[e-deklaration]]></category>
		<category><![CDATA[e-legitimation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nexus]]></category>
		<category><![CDATA[nexus personal]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sign]]></category>
		<category><![CDATA[signing]]></category>
		<category><![CDATA[skatteverket]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=786</guid>
		<description><![CDATA[You&#8217;ve perhaps read part I and tried it. Everything works until the moment when you need to electronically sign a document. The web browser barfs an error message, you cannot sign anything.
The good news is that this is super simple to fix.

As for bad news&#8230; well, there is none, this time. With these instructions, and [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve perhaps read <a href="http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/">part I</a> and tried it. Everything works until the moment when you need to electronically sign a document. The web browser barfs an error message, you cannot sign anything.</p>
<p>The good news is that this is super simple to fix.<br />
<span id="more-786"></span></p>
<p>As for bad news&#8230; well, there is none, this time. With these instructions, and the ones from part I, I was able to do a complete tax e-deklaration in Skatteverket&#8217;s page, including signing the final submission.</p>
<p><strong>The Problem</strong></p>
<p>You can&#8217;t sign things (with the non-repudiation certificate), at least not with the version 4.10.2.16 of Nexus Personal.</p>
<p><strong>The Reason</strong></p>
<p>This is because Firefox lacks the plugin. The Nexus Personal installer copies it into a weird place.</p>
<p><strong>The Solution</strong></p>
<p>Fix the situation by copying the browser plugin to a proper place:</p>
<p><code>cp /usr/local/lib/personal/libplugins.so ~/.mozilla/plugins/</code></p>
<p>Then restart Firefox.</p>
<p>Write &#8220;about:plugins&#8221; to the address bar and ensure Nexus Personal is there. The plugin should claim to accept MIME types such as &#8220;application/x-personal-signer&#8221;, and all of those should be enabled (all rows have &#8220;Yes&#8221;).</p>
<p>Now you can fill your skattedeklaration online, AND sign it too. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swedish e-Legitimation, the Easy Way</title>
		<link>http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/</link>
		<comments>http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 21:46:09 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Creations]]></category>
		<category><![CDATA[deklarera]]></category>
		<category><![CDATA[e-legitimation]]></category>
		<category><![CDATA[e-trade]]></category>
		<category><![CDATA[EMV]]></category>
		<category><![CDATA[K4]]></category>
		<category><![CDATA[skatteverket]]></category>
		<category><![CDATA[swedish]]></category>
		<category><![CDATA[todos]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=779</guid>
		<description><![CDATA[Here are step-by-step instructions about how to get the Swedish e-Legitimation to work in Linux. The instructions are specifically for Nordea bank customers.
You need the &#8220;pocket calculator&#8221; cardreader (I used Todos NCR1), a suitable USB cable and a card with an EMV chip. If you have Nordea-issued bankkort or VISA you&#8217;re OK. 
Note: These instructions [...]]]></description>
			<content:encoded><![CDATA[<p>Here are step-by-step instructions about how to get the Swedish e-Legitimation to work in Linux. The instructions are specifically for Nordea bank customers.</p>
<p>You need the &#8220;pocket calculator&#8221; cardreader (I used Todos NCR1), a suitable USB cable and a card with an EMV chip. If you have Nordea-issued bankkort or VISA you&#8217;re OK. </p>
<p>Note: These instructions are Debian-specific but they should work with other distros too with appropriate, slight changes.</p>
<p><strong>Update:</strong> Signing will most likely be broken for you, but you can <a href="http://slinky.imukuppi.org/2010/04/03/swedish-e-legitimation-part-ii-the-signing/">fix the signing</a> too.</p>
<p><span id="more-779"></span><br />
<center></center></p>
<p><strong>Step 1. Get the driver + Nexus personal</strong></p>
<p>Go to <a href="http://www.nordea.se/Privat/Internet+och+telefon/e-legitimation/Linux+och+e-legitimation+%C3%A5+kort/1133602.html">this Nordea page</a> to download.</p>
<p>Interestingly, I could not find the page from within Nordea&#8217;s web page. Also, the information on that page was not in the same place as for the other OSs (Windows, MacOSX). No pain, no gain!</p>
<p><strong>Step 2. Activate e-Legitimation on your card</strong></p>
<p>Log in to Nordea&#8217;s web site. Then go to Vardagsärenden, e-legitimation, kort and choose activate. Sign with the Todos box as usual.</p>
<p>Click the link to go back to cards page. You should see your cards in <strong>Inaktiv</strong> status.</p>
<p>Click Aktivera. Tick the box for Uttag activation, and proceed.</p>
<p>Now you need to go to an ATM and make a money withdrawal. This will finally activate e-legitimation in your card by downloading some data from the bank.</p>
<p><strong>Step 3. Install the software</strong></p>
<p>Yeah, I wish it were all open source, in case of problems&#8230; but it&#8217;s not. Take a deep breath and prepare to install some Chinese driver binaries, plus a binary-only browser plugin, etc.</p>
<p>But first verify that you get printout like the following when you:</p>
<ul>
<li>attach the USB cable to your Todos box</li>
<li>issue &#8220;dmesg&#8221; command</li>
</ul>
<p><code><br />
[4332544.912080] usb 2-3: new full speed USB device using ohci_hcd and address 4<br />
[4332545.162128] usb 2-3: New USB device found, idVendor=0b0c, idProduct=002e<br />
[4332545.162142] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />
[4332545.162151] usb 2-3: Product: Nordea E-code<br />
[4332545.162158] usb 2-3: Manufacturer: Todos Data System AB<br />
[4332545.162369] usb 2-3: configuration #1 chosen from 1 choice<br />
</code></p>
<p>If that was OK, proceed. Otherwise make your USB work :)</p>
<p>Next, you need pcscd and libccid. </p>
<p><code>apt-get install pcscd and libccid</code></p>
<p>Unzip the Nexus and do as root:</p>
<p><code>./install.4.10.2.16.sh i</code></p>
<p>Unzip + install the driver:</p>
<p><code>unzip NCR1_Linux.zip</code></p>
<p>The zip contains a .deb so you&#8217;ll need to install it too:</p>
<p><code>dpkg --install NordeaDeb_1.0.0_i386.deb</code></p>
<p>Now the software part is done.</p>
<p><strong>Step 4. Test drive</strong></p>
<p>Restart Firefox.</p>
<p>Start Nexus application. Attach Todos reader NCR1 with USB cable. Insert your card. You should see something other than &#8220;Unknown&#8221; in it.</p>
<p>Nordea&#8217;s own test page is broken &#8211; they expect Microsoft Internet Explorer (maybe some ActiveX control too) for some totally screwball reason, I did not investigate this further. So it&#8217;s best to try e.g. Skatteverket&#8217;s page where you can check your Skattekonto. </p>
<p>Note: <strong>When prompted for a certificate, choose the certificate with &#8220;Basic PIN&#8221; in it.</strong> The other option did not work for me.</p>
<p>Enter your card PIN in the Todos box when prompted.</p>
<p>The web page should open properly, now you&#8217;ve got e-Legitimation!</p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/02/17/swedish-e-legitimation-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Warm Prawn Soup for Subzero Temperature Days</title>
		<link>http://slinky.imukuppi.org/2010/01/04/warm-prawn-soup-for-subzero-temperature-days/</link>
		<comments>http://slinky.imukuppi.org/2010/01/04/warm-prawn-soup-for-subzero-temperature-days/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 21:50:58 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Creations]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[cold weather]]></category>
		<category><![CDATA[iron chef]]></category>
		<category><![CDATA[soup is good food]]></category>
		<category><![CDATA[warmness]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=765</guid>
		<description><![CDATA[When the weather gets cold, the tough whip up a warm soup.
This one is slightly thai-influenced in its taste, and extremely quick and simple to do.


You need:

2 cans asparagus
1 paprika
1 yellow onion
200-300 g frozen prawns
vegetable broth (1 bouillon cube)
5 dl water
2 dl cream
salt, pepper, chili powder, sumac
fresh coriander

Rinse the canned asparagus in a strainer until [...]]]></description>
			<content:encoded><![CDATA[<p>When the weather gets cold, the tough whip up a warm soup.</p>
<p>This one is slightly thai-influenced in its taste, and extremely quick and simple to do.<br />
<span id="more-765"></span><br />
<center></center></p>
<p>You need:</p>
<ul>
<li>2 cans asparagus</li>
<li>1 paprika</li>
<li>1 yellow onion</li>
<li>200-300 g frozen prawns</li>
<li>vegetable broth (1 <a href="http://en.wikipedia.org/wiki/Bouillon_cube">bouillon cube</a>)</li>
<li>5 dl water</li>
<li>2 dl cream</li>
<li>salt, pepper, chili powder, sumac</li>
<li>fresh coriander</li>
</ul>
<p>Rinse the canned asparagus in a strainer until no foam appears. Wait until the water drizzles out, then dump into a pot.</p>
<p>De-seed the paprika. Slice it into big chunks. Then dump into the pot.</p>
<p>Peel and roughly hack the onion, throw it into the pot.</p>
<p>Put bouillon cube and 5 dl water into the pot. Heat it up and boil for some time, until paprika has softened and the cube has completely dissolved.</p>
<p>Take the pot off the stove and use a wand blender aka. <a href="http://en.wikipedia.org/wiki/Immersion_blender">immersion blender</a> to puree the vegetables to make a fluid paste.</p>
<p>Pour in the cream and mix well. Put the pot back to the stove and use medium-high temperature.</p>
<p>Let heat up for a while, add pepper and salt. TASTE before adding the salt as the bouillon cube can be salty! Also mix in chili powder and sumac to taste.</p>
<p>Next, dump in the frozen prawns. Mix well, bring to boil.</p>
<p>Soup must be hot but <strong>do not</strong> <a href="http://en.wikipedia.org/wiki/Bubble_gum">overcook the prawns</a>.</p>
<p>Take about 3 palm-fulls of coriander leaves, and hack them into small pieces. Dump the hacked coriander into the soup. Mix well.</p>
<p>Done!</p>
<p>Enjoy with some fresh white bread and (cold) butter over the bread.</p>
<p>For drinks, if you want to be fancy for this ad-hoc soup, try white wine or lager beer. Maybe a nice Riesling for the wine, and Red Stripe for the beer.</p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2010/01/04/warm-prawn-soup-for-subzero-temperature-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIY Swine Flu Shot</title>
		<link>http://slinky.imukuppi.org/2009/11/04/diy-swine-flu-shot/</link>
		<comments>http://slinky.imukuppi.org/2009/11/04/diy-swine-flu-shot/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 21:07:08 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Babbling]]></category>
		<category><![CDATA[Creations]]></category>
		<category><![CDATA[aporkalypse]]></category>
		<category><![CDATA[H1N1]]></category>
		<category><![CDATA[pandemia]]></category>
		<category><![CDATA[parmageddon]]></category>
		<category><![CDATA[swine flu shot]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=662</guid>
		<description><![CDATA[To help keep the Andromeda strain swine flu away, you should take a swine flu shot.
Ingredients:

4 cl of Red Opal (Icelandic salmiac-menthol vodka)
a squeeze of lemon juice
freshly ground black pepper

Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>To help keep the <strike><a href="http://en.wikipedia.org/wiki/Andromeda_strain">Andromeda strain</a></strike> swine flu away, you should take a swine flu shot.</p>
<p>Ingredients:</p>
<ul>
<li>4 cl of Red Opal (Icelandic <a href="http://en.wikipedia.org/wiki/Salmiac">salmiac</a>-<a href="http://en.wikipedia.org/wiki/Menthol">menthol</a> vodka)</li>
<li>a squeeze of lemon juice</li>
<li>freshly ground black pepper</li>
</ul>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2009/11/04/diy-swine-flu-shot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zenburn v2.13</title>
		<link>http://slinky.imukuppi.org/2009/10/24/zenburn-v2-13/</link>
		<comments>http://slinky.imukuppi.org/2009/10/24/zenburn-v2-13/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 10:44:47 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Creations]]></category>
		<category><![CDATA[alien fruit salad]]></category>
		<category><![CDATA[stay in the zone]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[zenburn]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=655</guid>
		<description><![CDATA[Zenburn v2.13 is released!
Thanks to Zac Thompson and Christophe-Marie Duquesne, there is now:

Fix for invisible NonText-group
Various fixes and fine-tunings for Terminal and UI modes for Ignore-, NonText- and Error-groups.
Vimball installable version, see vim.sf.net.

Grab it from vim.sf.net or from the official Zenburn page.
Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>Zenburn v2.13 is released!</p>
<p>Thanks to <strong><a href="http://zac.ca/">Zac Thompson</a></strong> and <strong><a href="http://chm.duquesne.free.fr/blog">Christophe-Marie Duquesne</a></strong>, there is now:</p>
<ul>
<li>Fix for invisible NonText-group</li>
<li>Various fixes and fine-tunings for Terminal and UI modes for Ignore-, NonText- and Error-groups.</li>
<li>Vimball installable version, see <a href="http://vim.sourceforge.net/scripts/script.php?script_id=415">vim.sf.net</a>.</li>
</ul>
<p>Grab it from <a href="http://vim.sourceforge.net/scripts/script.php?script_id=415">vim.sf.net</a> or from <a href="http://slinky.imukuppi.org/zenburnpage/">the official Zenburn page</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2009/10/24/zenburn-v2-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zenburn v2.5</title>
		<link>http://slinky.imukuppi.org/2009/09/06/zenburn-v2-5/</link>
		<comments>http://slinky.imukuppi.org/2009/09/06/zenburn-v2-5/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 09:14:04 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Creations]]></category>
		<category><![CDATA[alien fruit salad]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[highlight]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[v2.5]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[zenburn]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=587</guid>
		<description><![CDATA[Zenburn v2.5 is released!
Changes: support for coloring Ignore-groups (thanks to John Gabriele). The Ignore-group coloring is toggleable, see the file for details.
Grab it from vim.sf.net or from the official Zenburn page.
In practice, the Vim help files will change from this (click pictures to show them bigger):

to this:

]]></description>
			<content:encoded><![CDATA[<p>Zenburn v2.5 is released!</p>
<p>Changes: support for coloring Ignore-groups (thanks to <strong>John Gabriele</strong>). The Ignore-group coloring is toggleable, see the file for details.</p>
<p>Grab it from <a href="http://vim.sourceforge.net/scripts/script.php?script_id=415">vim.sf.net</a> or from <a href="http://slinky.imukuppi.org/zenburnpage/">the official Zenburn page</a>.</p>
<p>In practice, the Vim help files will change from this (click pictures to show them bigger):</p>
<p><center><a href="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/09/pre.png"><img src="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/09/pre-150x150.png" alt="With pre-v2.5 Zenburn, Ignore-groups were not highlighted" title="Zenburn pre-v2.5" width="150" height="150" class="size-thumbnail wp-image-588" /></a></center></p>
<p>to this:</p>
<p><center><a href="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/09/post.png"><img src="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/09/post-150x150.png" alt="With v2.5, Ignore-groups can also be highlighted" title="Zenburn v2.5 with Ignore-group highlighting" width="150" height="150" class="size-thumbnail wp-image-589" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2009/09/06/zenburn-v2-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zenburn for SciTE v1.78</title>
		<link>http://slinky.imukuppi.org/2009/07/25/zenburn-for-scite-v178/</link>
		<comments>http://slinky.imukuppi.org/2009/07/25/zenburn-for-scite-v178/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 18:40:16 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Creations]]></category>
		<category><![CDATA[SciTE]]></category>
		<category><![CDATA[zenburn]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=492</guid>
		<description><![CDATA[Gianfranco writes:
I send you an adaption of the zenburn colour scheme for SciTE v. 1.78. To install it on a Windows machine, just copy the *.properties files into the SciTE installation folder.


Gianfranco continues:
After a week of daily usage, certain styles do not completely convince me yet (mainly the ones regarding the bookmarking, due to how [...]]]></description>
			<content:encoded><![CDATA[<p>Gianfranco writes:</p>
<blockquote><p>I send you an adaption of the zenburn colour scheme for SciTE v. 1.78. To install it on a Windows machine, just copy the *.properties files into the SciTE installation folder.</p></blockquote>
<p><span id="more-492"></span><br />
<center></center></p>
<p>Gianfranco continues:</p>
<blockquote><p>After a week of daily usage, certain styles do not completely convince me yet (mainly the ones regarding the bookmarking, due to how SciTE manages bookmarks highlighting &#8211; only background colours change), but I&#8217;ve decided to release it in the hope that some one else will do a better job.</p>
<p>Note 1: the attached SciTEGlobal.properties file contains some non standard settings; to rollback to the standard configuration, set the USE_CUSTOM_SETTINGS variable declared at line 7 to 0.</p>
<p>Note 2: to disable the colour scheme, comment out the &#8220;import colours&#8221; command in the SciTEGlobal.properties file, line 8.</p>
<p>Note 3: since SciTE allows a per-language configuration, c/c++, sql, python, xml/html, bat/cmd and mak file configurations are available. Other language support files are welcome!</p></blockquote>
<p>Thank you, Gianfranco!</p>
<p>Here&#8217;s a link to his <a href="http://slinky.imukuppi.org/zenburn/SciTE_1-78_zenburn.zip">Zenburn for SciTE v1.78</a>. SciTE users, feel free to submit enhancements and improvements!</p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2009/07/25/zenburn-for-scite-v178/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zenburn for EasyEclipse for Python 1.3.1</title>
		<link>http://slinky.imukuppi.org/2009/06/21/zenburn-for-easyeclipse-for-python-131/</link>
		<comments>http://slinky.imukuppi.org/2009/06/21/zenburn-for-easyeclipse-for-python-131/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 12:37:51 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Creations]]></category>
		<category><![CDATA[abchernin]]></category>
		<category><![CDATA[easyeclipse]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[pydev]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[zenburn]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=464</guid>
		<description><![CDATA[Abchernin has sent a step-by-step guide how to enable Zenburn colors into EasyEclipse for Python v1.3.1 &#8211; it should work with any Eclipse+pydev combination.


Let&#8217;s hear it from the man himself :)
&#8220;This was applied to EasyEclipse for Python 1.3.1, but I guess it should work well with simple Eclipse + PyDev combo as well.
First, go to [...]]]></description>
			<content:encoded><![CDATA[<p>Abchernin has sent a step-by-step guide how to enable <a href="http://slinky.imukuppi.org/zenburnpage/">Zenburn</a> colors into EasyEclipse for Python v1.3.1 &#8211; it should work with any Eclipse+pydev combination.<br />
<span id="more-464"></span></p>
<p><center></center></p>
<p>Let&#8217;s hear it from the man himself :)</p>
<p>&#8220;This was applied to EasyEclipse for Python 1.3.1, but I guess it should work well with simple Eclipse + PyDev combo as well.</p>
<p>First, go to Window -> Preferences. Now, select PyDev. You should see &#8220;Appearance color options:&#8221; section with a list of code elements and color-representing button left to it. To change a color for the element, click that button, then set the custom color in R/G/B palette (<em>=copy-paste the RGB triplet to the &#8220;Color Name&#8221; box &#8211;slinky</em>). The colors and font styles I used are the following:</p>
<ul>
<li>Code: #d8d8c8</li>
<li>Decorators: #30d230, italic</li>
<li>Numbers: #8cc8c8</li>
<li>Matching Brackets: #408080</li>
<li>Keywords: #f0dcaf, bold</li>
<li>Self: #d8c8c8, italic</li>
<li>Strings: #c89191, italic</li>
<li>Comments: #82aa8c, italic</li>
<li>Backquotes: not really sure what that is, so don&#8217;t know what color it should be using. Set one of your own.</li>
<li>Class: #f0f08c, bold (I personally use #c8c84b, but that&#8217;s my little mindbugs =) )</li>
<li>Function: #f0f08c, bold</li>
</ul>
<p>Ok. Now, still in the Preferences window, select General/Text Editors. There&#8217;s same &#8220;Appearance color options:&#8221; section. Set:</p>
<ul>
<li>Line Number Foreground: #9bafaf</li>
<li>Current Line Highlight: #555555</li>
<li>Print Margin: #808080</li>
<li>Find Scope: #555564</li>
<li>Selection Foreground: #be19a0 (this one is based on Vim&#8217;s crazy omnicompletion background, my pick)</li>
<li>Selection Background: #555555</li>
<li>Background color: #3f3f3f</li>
</ul>
<p>That should do it.&#8221;</p>
<p>Thank you abchernin!</p>
<p>See below for screenshots:</p>
<p><center><div id="attachment_473" class="wp-caption aligncenter" style="width: 160px"><a href="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/06/easyeclipse_zenburn.png"><img src="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/06/easyeclipse_zenburn-150x150.png" alt="ZenBurn in EasyEclipse, windowed mode" title="Zenburn in EasyEclipse" width="150" height="150" class="size-thumbnail wp-image-473" /></a><p class="wp-caption-text">ZenBurn in EasyEclipse, windowed mode</p></div></center></p>
<p><center><div id="attachment_474" class="wp-caption aligncenter" style="width: 160px"><a href="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/06/easyeclipse_zenburn2.png"><img src="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/06/easyeclipse_zenburn2-150x150.png" alt="Zenburn in EasyEclipse, maximized" title="Zenburn in EasyEclipse" width="150" height="150" class="size-thumbnail wp-image-474" /></a><p class="wp-caption-text">Zenburn in EasyEclipse, maximized</p></div></center></p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2009/06/21/zenburn-for-easyeclipse-for-python-131/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Everyone Loves a SAT Solver</title>
		<link>http://slinky.imukuppi.org/2009/04/27/everyone-loves-a-sat-solver/</link>
		<comments>http://slinky.imukuppi.org/2009/04/27/everyone-loves-a-sat-solver/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 21:40:41 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Creations]]></category>
		<category><![CDATA[CNF]]></category>
		<category><![CDATA[DIMACS]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[SAT]]></category>
		<category><![CDATA[STP]]></category>
		<category><![CDATA[ugly]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=430</guid>
		<description><![CDATA[I needed DIMACS-format output from STP, so I hacked together a patch for it.
It works only against the SVN version of STP, but is trivial (although not automatic) to patch the latest non-SVN version also. To patch, cd to the STP folder, then use something like patch -R -p1 < stp_dimacs.patch
Then, use the "-o" switch [...]]]></description>
			<content:encoded><![CDATA[<p>I needed <a href="http://en.wikipedia.org/wiki/Conjunctive_normal_form">DIMACS-format</a> output from <a href="http://people.csail.mit.edu/vganesh/STP_files/stp.html">STP</a>, so I hacked together <a href='http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/04/stp_dimacs.patch'>a patch</a> for it.</p>
<p>It works only against the SVN version of STP, but is trivial (although not automatic) to patch the latest non-SVN version also. To patch, cd to the STP folder, then use something like <code>patch -R -p1 < stp_dimacs.patch</code></p>
<p>Then, use the "-o" switch to dump a DIMACS file to the current folder. Next, fire up your favorite <a href="http://en.wikipedia.org/wiki/SAT_solver">SAT solver</a> and profit...</p>
<p><strong>Update</strong>: It seems the toDimacs call can create strange outputs. Be aware of bugs!</p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2009/04/27/everyone-loves-a-sat-solver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Cryptography</title>
		<link>http://slinky.imukuppi.org/2009/04/12/visual-cryptography/</link>
		<comments>http://slinky.imukuppi.org/2009/04/12/visual-cryptography/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 17:14:15 +0000</pubDate>
		<dc:creator>slinky</dc:creator>
				<category><![CDATA[Creations]]></category>
		<category><![CDATA[naor-shamir]]></category>
		<category><![CDATA[pytho]]></category>
		<category><![CDATA[ren]]></category>
		<category><![CDATA[secret sharing]]></category>
		<category><![CDATA[visual cryptography]]></category>

		<guid isPermaLink="false">http://slinky.imukuppi.org/?p=404</guid>
		<description><![CDATA[After admiring the Krypto-Kekkonen, I thought I&#8217;d roll my own.
Here&#8217;s a Python script called split_pic.py to split an image of your choosing into two shares as described by the Naor-Shamir &#8220;visual cryptography&#8221; scheme. See the script for details. 
The script requires PIL (Python Image Library). The outputs are two files, &#8220;share1.png&#8221; and &#8220;share2.png&#8221;. Print share1.png [...]]]></description>
			<content:encoded><![CDATA[<p>After admiring the <a href="http://www.m-js.com:80/misc/kekkonen/">Krypto-Kekkonen</a>, I thought I&#8217;d roll my own.</p>
<p>Here&#8217;s a Python script called <a href='http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/04/split_pic2.py'>split_pic.py</a> to split an image of your choosing into two shares as described by the Naor-Shamir &#8220;visual cryptography&#8221; scheme. See the script for details. </p>
<p>The script requires PIL (Python Image Library). The outputs are two files, &#8220;share1.png&#8221; and &#8220;share2.png&#8221;. Print share1.png on paper, and share2.png on transparency/foil/plastic and carefully align them on top of each other to see the hidden image. </p>
<p>Or, you can use an image editor such as Gimp. Note, the layer effect must be &#8220;multiply&#8221; for both layers.</p>
<p>Here are two examples you can play with: <center><div id="attachment_408" class="wp-caption aligncenter" style="width: 160px"><a href="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/04/share1.png"><img src="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/04/share1-150x150.png" alt="First share of the hidden image" title="Share 1" width="150" height="150" class="size-thumbnail wp-image-408" /></a><p class="wp-caption-text">First share of the hidden image</p></div></center></p>
<p><center><div id="attachment_409" class="wp-caption aligncenter" style="width: 160px"><a href="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/04/share2.png"><img src="http://slinky.imukuppi.org/wpress/wp-content/uploads/2009/04/share2-150x150.png" alt="Second share of the hidden image" title="Share 2" width="150" height="150" class="size-thumbnail wp-image-409" /></a><p class="wp-caption-text">Second share of the hidden image</p></div></center></p>
]]></content:encoded>
			<wfw:commentRss>http://slinky.imukuppi.org/2009/04/12/visual-cryptography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
