<?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>Isti&#039;s Blog &#187; Linux tips</title>
	<atom:link href="http://www.xistix.com/blog/category/linux-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xistix.com/blog</link>
	<description>Tutorials, examples, 42</description>
	<lastBuildDate>Mon, 19 Apr 2010 20:16:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Arduino and 64 bit Linux</title>
		<link>http://www.xistix.com/blog/2009/09/02/arduino-and-64-bit-linux/</link>
		<comments>http://www.xistix.com/blog/2009/09/02/arduino-and-64-bit-linux/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 08:13:11 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Linux tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[microcontroller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=443</guid>
		<description><![CDATA[Until yesterday I could not use the Arduino environment on my 64 bit Linux environment. I tried lots of things to fix it without success. While digging the net I have found this: http://blog.makezine.com/archive/2009/07/arduino_on_64-bit_linux.html Cooooool! It works fine with my Seeeduino which is basically an Arduino Diecimila. Unfortunately it does not support my Arduino Duemilanove [...]]]></description>
			<content:encoded><![CDATA[<p>Until yesterday I could not use the Arduino environment on my 64 bit Linux environment. I tried lots of things to fix it without success. While digging the net I have found this:</p>
<p><a href="http://blog.makezine.com/archive/2009/07/arduino_on_64-bit_linux.html" target="_blank">http://blog.makezine.com/archive/2009/07/arduino_on_64-bit_linux.html</a></p>
<p>Cooooool! It works fine with my Seeeduino which is basically an Arduino Diecimila. Unfortunately it does not support my Arduino Duemilanove boards. The <span>ATmega328 chips are not supported by the avrdude config. If someone knows how to do that I would be glad to hear it.</span></p>
<p><span><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/02/arduino-and-64-bit-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a single PDF from a series of HTML files in Linux</title>
		<link>http://www.xistix.com/blog/2009/02/17/creating-a-single-pdf-from-a-series-of-html-files-in-linux/</link>
		<comments>http://www.xistix.com/blog/2009/02/17/creating-a-single-pdf-from-a-series-of-html-files-in-linux/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 12:06:32 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Linux tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=285</guid>
		<description><![CDATA[Today I found a great tutorial about digital photography. Unfortunately it was decomposed to chapters and each chapter was an a separate html page. I wanted to print the tutorial but it was not available as a single printable file. I decided to download the bunch of HTMLs with wget. Then I wrote the following [...]]]></description>
			<content:encoded><![CDATA[<p>Today I found a great tutorial about digital photography. Unfortunately it was decomposed to chapters and each chapter was an a separate html page. I wanted to print the tutorial but it was not available as a single printable file. I decided to download the bunch of HTMLs with wget. Then I wrote the following perl script:</p>
<p><code>#!/usr/bin/perl -w</code></p>
<p>opendir(DIR, &#8220;.&#8221;);<br />
@files = grep(/\.html$/,readdir(DIR));<br />
closedir(DIR);</p>
<p>foreach $file (@files) {<br />
@parts = split(/\./, $file);</p>
<p>$command =  &#8220;htmldoc &#8211;webpage -f @parts[0]\.pdf $file&#8221;;<br />
print &#8220;$command\n&#8221;;<br />
`$command`;<br />
}</p>
<p>opendir(DIR, &#8220;.&#8221;);<br />
@files = grep(/\.pdf$/,readdir(DIR));<br />
closedir(DIR);</p>
<p>@files = sort(@files);</p>
<p>$command = &#8220;pdfjoin &#8220;;</p>
<p>foreach $file (@files) {<br />
$command = $command.$file.&#8221; &#8220;;<br />
}</p>
<p>print &#8220;$command\n&#8221;;<br />
`$command`;</p>
<p>It lists the html files in the current folder. It converts each html to a pdf file by calling htmldoc. The it lists the pdfs, sorts them alphabetically by their filename and joins them by calling pdfjoin. The output filename is generated from the last pdf filename. Look for &#8220;joined&#8221;.</p>
<p>You will need perl, htmldoc and pdfjoin to be installed on your machine in order to run the script. I got pdfjoin by installing pdfjam.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/02/17/creating-a-single-pdf-from-a-series-of-html-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
