<?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>Arkadian.eu</title>
	<atom:link href="http://www.arkadian.eu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.arkadian.eu</link>
	<description>thinking out loud...</description>
	<lastBuildDate>Sun, 11 Sep 2011 08:37:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Icons, photos &amp; vectors for projects</title>
		<link>http://www.arkadian.eu/pages/615/icons-photos-vectors-for-projects</link>
		<comments>http://www.arkadian.eu/pages/615/icons-photos-vectors-for-projects#comments</comments>
		<pubDate>Sun, 11 Sep 2011 08:02:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[examples]]></category>

		<guid isPermaLink="false">http://www.arkadian.eu/?p=615</guid>
		<description><![CDATA[This is a post that I will edit from time to time, adding more links as I find them.
1. This company has free and commercial icons: dryicons.com. I like the iconika icons (available in red, blue, green, grey &#8211; here is a sample in blue: http://dryicons.com/icon/iconika-blue-icons). One thing I really appreciated from this site, is [...]]]></description>
			<content:encoded><![CDATA[<p>This is a post that I will edit from time to time, adding more links as I find them.</p>
<p>1. This company has free and commercial icons: <a href="http://dryicons.com/free-icons/">dryicons.com</a>. I like the iconika icons (available in red, blue, green, grey &#8211; here is a sample in blue: <a href="http://dryicons.com/icon/iconika-blue-icons">http://dryicons.com/icon/iconika-blue-icons</a>). One thing I really appreciated from this site, is that you get the option to download the icons at the size you need. This saved me a lot of time messing around with image resizing&#8230;</p>
<p>2. <a href="http://en.fotolia.com/">Fotolia.com</a> is a good site (the only site I have personally paid so far to buy photos and vectors). Not as cheap as it used to be, but still good value, considering the amount of material that&#8217;s posted there.</p>
<p>3. Vector Stock sells vectors from various creators: <a href="http://www.vectorstock.com/">www.vectorstock.com</a><br />
I like the concept of the hand-drawn icons from this artist: <a href="http://www.vectorstock.com/royalty-free-vector/cinema-doodles-vector-374381">Azzzya</a>. This is a great place to pick up nice designs for presentation backgrounds and office reports.</p>
<p>4. Another interesting site is <a href="http://commons.wikimedia.org/wiki/Category:Icons">Wikimedia</a>. You can use whatever you need, but you may have to search a lot to find something you need/like. Definitely worth looking into, if you have the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkadian.eu/pages/615/icons-photos-vectors-for-projects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openWRT device from Omnima UK</title>
		<link>http://www.arkadian.eu/pages/613/openwrt-device-from-omnima-uk</link>
		<comments>http://www.arkadian.eu/pages/613/openwrt-device-from-omnima-uk#comments</comments>
		<pubDate>Mon, 29 Aug 2011 13:30:53 +0000</pubDate>
		<dc:creator>arkadian</dc:creator>
				<category><![CDATA[Components & Materials]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openWRT]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.arkadian.eu/pages/613/openwrt-device-from-omnima-uk</guid>
		<description><![CDATA[29 Aug 2011
Omnima UK sell a tiny little board for less than £40, that runs on openWRT Linux and has ethernet, WiFi and a USB port. It seems to be a great base for simple projects, when we need more power than one arduino.
Link to product
I&#8217;ve ordered one to try something I have in mind.
Btw, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>29 Aug 2011</strong><br />
Omnima UK sell a tiny little board for less than £40, that runs on openWRT Linux and has ethernet, WiFi and a USB port. It seems to be a great base for simple projects, when we need more power than one arduino.</p>
<p><a href="http://www.omnima.co.uk/store/catalog/MiniEMBWiFi-p-16180.html">Link to product</a></p>
<p>I&#8217;ve ordered one to try something I have in mind.</p>
<p>Btw, at the openWRT site, there is a VM available. I downloaded and tried it yesterday, but I had problems connecting USB peripherals&#8230;. Never mind. I have to say I loved the web interface and the precompiled binaries and the fact you can ran python on it!</p>
<p><strong>11 Sep 2011</strong><br />
I&#8217;ve now received the device. It runs Fonera (have a look at some screenshots and more info <a href="http://wiki.fon.com/wiki/Fonera_Usage_Demo#Fonera_2.0g">here</a>). Easy to access through a web interface. I tried to load the latest Fonera software and it didn&#8217;t quite work; now the device won&#8217;t boot. I&#8217;m able to log in to it using telnet and a serial cable, but I haven&#8217;t been able to load the old bin file yet&#8230; I&#8217;ll keep you posted&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkadian.eu/pages/613/openwrt-device-from-omnima-uk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kill a process from the command line in Windows 7</title>
		<link>http://www.arkadian.eu/pages/611/kill-a-process-from-the-command-line-in-windows-7</link>
		<comments>http://www.arkadian.eu/pages/611/kill-a-process-from-the-command-line-in-windows-7#comments</comments>
		<pubDate>Sat, 13 Aug 2011 20:49:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[examples]]></category>
		<category><![CDATA[command line]]></category>

		<guid isPermaLink="false">http://www.arkadian.eu/?p=611</guid>
		<description><![CDATA[From your command line type 
tasklist
to see all the tasks that are running.
If you want to kill the instance of notepad++ which happened to crash (&#8230;), type:
Taskkill /IM notepad++.exe /F
]]></description>
			<content:encoded><![CDATA[<p>From your command line type </p>
<pre>tasklist</pre>
<p>to see all the tasks that are running.</p>
<p>If you want to kill the instance of notepad++ which happened to crash (&#8230;), type:</p>
<pre>Taskkill /IM notepad++.exe /F</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.arkadian.eu/pages/611/kill-a-process-from-the-command-line-in-windows-7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Take Snapshots using Python</title>
		<link>http://www.arkadian.eu/pages/608/take-snapshots-using-python</link>
		<comments>http://www.arkadian.eu/pages/608/take-snapshots-using-python#comments</comments>
		<pubDate>Sat, 13 Aug 2011 20:05:00 +0000</pubDate>
		<dc:creator>arkadian</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[PIL]]></category>

		<guid isPermaLink="false">http://www.arkadian.eu/pages/608/take-snapshots-using-python</guid>
		<description><![CDATA[
1
2
3
import ImageGrab
img = ImageGrab.grab&#40;&#41;
img.save&#40;'arkadian.png','PNG'&#41;

A quick and easy way to take a snapshot of your current window.
You can always use JPG, but the quality is better in PNG.
Works in Windows and requires PIL.
]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">import</span> ImageGrab
img = ImageGrab.<span style="color: black;">grab</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
img.<span style="color: black;">save</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'arkadian.png'</span>,<span style="color: #483d8b;">'PNG'</span><span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>A quick and easy way to take a snapshot of your current window.<br />
You can always use JPG, but the quality is better in PNG.</p>
<p>Works in Windows and requires PIL.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkadian.eu/pages/608/take-snapshots-using-python/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merging pdf files in Python with pyPDF</title>
		<link>http://www.arkadian.eu/pages/601/merging-pdf-files-in-python-with-pypdf</link>
		<comments>http://www.arkadian.eu/pages/601/merging-pdf-files-in-python-with-pypdf#comments</comments>
		<pubDate>Tue, 05 Jul 2011 13:25:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://www.arkadian.eu/?p=601</guid>
		<description><![CDATA[Here is a very simple python script that marges two pdf files, using the pyPDF library.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os.path
import pyPdf
&#160;
pdfOne = &#34;C:\\a.pdf&#34;
pdfTwo = &#34;C:\\b.pdf&#34;
&#160;
merged = &#34;C:\\c.pdf&#34;
&#160;
if os.path.exists&#40;pdfOne&#41; and os.path.exists&#40;pdfTwo&#41;: 
&#160;
	output = pyPdf.PdfFileWriter&#40;&#41;
&#160;
	pdfOne = pyPdf.PdfFileReader&#40;open&#40;pdfOne, &#34;rb&#34;&#41;&#41;
	for page in range&#40;pdfOne.getNumPages&#40;&#41;&#41;:
		output.addPage&#40;pdfOne.getPage&#40;page&#41;&#41;
&#160;
	pdfTwo = pyPdf.PdfFileReader&#40;open&#40;pdfTwo, &#34;rb&#34;&#41;&#41;
	for page in range&#40;pdfTwo.getNumPages&#40;&#41;&#41;:
		output.addPage&#40;pdfTwo.getPage&#40;page&#41;&#41;
&#160;
	outputStream = open&#40;merged, &#34;wb&#34;&#41;
	output.write&#40;outputStream&#41;
	outputStream.close&#40;&#41;

]]></description>
			<content:encoded><![CDATA[<p>Here is a very simple python script that marges two pdf files, using the <a href="http://pybrary.net/pyPdf/">pyPDF library</a>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>
<span style="color: #ff7700;font-weight:bold;">import</span> pyPdf
&nbsp;
pdfOne = <span style="color: #483d8b;">&quot;C:<span style="color: #000099; font-weight: bold;">\\</span>a.pdf&quot;</span>
pdfTwo = <span style="color: #483d8b;">&quot;C:<span style="color: #000099; font-weight: bold;">\\</span>b.pdf&quot;</span>
&nbsp;
merged = <span style="color: #483d8b;">&quot;C:<span style="color: #000099; font-weight: bold;">\\</span>c.pdf&quot;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>.<span style="color: black;">exists</span><span style="color: black;">&#40;</span>pdfOne<span style="color: black;">&#41;</span> <span style="color: #ff7700;font-weight:bold;">and</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>.<span style="color: black;">exists</span><span style="color: black;">&#40;</span>pdfTwo<span style="color: black;">&#41;</span>: 
&nbsp;
	output = pyPdf.<span style="color: black;">PdfFileWriter</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
	pdfOne = pyPdf.<span style="color: black;">PdfFileReader</span><span style="color: black;">&#40;</span><span style="color: #008000;">open</span><span style="color: black;">&#40;</span>pdfOne, <span style="color: #483d8b;">&quot;rb&quot;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
	<span style="color: #ff7700;font-weight:bold;">for</span> page <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">range</span><span style="color: black;">&#40;</span>pdfOne.<span style="color: black;">getNumPages</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>:
		output.<span style="color: black;">addPage</span><span style="color: black;">&#40;</span>pdfOne.<span style="color: black;">getPage</span><span style="color: black;">&#40;</span>page<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
&nbsp;
	pdfTwo = pyPdf.<span style="color: black;">PdfFileReader</span><span style="color: black;">&#40;</span><span style="color: #008000;">open</span><span style="color: black;">&#40;</span>pdfTwo, <span style="color: #483d8b;">&quot;rb&quot;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
	<span style="color: #ff7700;font-weight:bold;">for</span> page <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">range</span><span style="color: black;">&#40;</span>pdfTwo.<span style="color: black;">getNumPages</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>:
		output.<span style="color: black;">addPage</span><span style="color: black;">&#40;</span>pdfTwo.<span style="color: black;">getPage</span><span style="color: black;">&#40;</span>page<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
&nbsp;
	outputStream = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span>merged, <span style="color: #483d8b;">&quot;wb&quot;</span><span style="color: black;">&#41;</span>
	output.<span style="color: black;">write</span><span style="color: black;">&#40;</span>outputStream<span style="color: black;">&#41;</span>
	outputStream.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.arkadian.eu/pages/601/merging-pdf-files-in-python-with-pypdf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWS, SSH &amp; Keys&#8230;</title>
		<link>http://www.arkadian.eu/pages/599/aws-ssh-keys</link>
		<comments>http://www.arkadian.eu/pages/599/aws-ssh-keys#comments</comments>
		<pubDate>Wed, 01 Jun 2011 23:38:41 +0000</pubDate>
		<dc:creator>arkadian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.arkadian.eu/pages/599/aws-ssh-keys</guid>
		<description><![CDATA[Have you got problems connecting to your AWS instance?
Assuming SSH is running on your instance and the firewall allows SSH traffic to and from your instance, just save your key somewhere locally (in this example it&#8217;s: linux_us_key.pem) and try this:
ssh -v -i linux_us_key.pem root@xxx.compute-1.amazonaws.com
Don&#8217;t forget to chmod 400 your key, otherwise your bash may throw [...]]]></description>
			<content:encoded><![CDATA[<p>Have you got problems connecting to your AWS instance?</p>
<p>Assuming SSH is running on your instance and the firewall allows SSH traffic to and from your instance, just save your key somewhere locally (in this example it&#8217;s: linux_us_key.pem) and try this:<br />
ssh -v -i linux_us_key.pem root@xxx.compute-1.amazonaws.com</p>
<p>Don&#8217;t forget to chmod 400 your key, otherwise your bash may throw an error saying you should do so&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkadian.eu/pages/599/aws-ssh-keys/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

