<?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>Nordlige Maines *nixförening</title>
	<atom:link href="http://linux-maine.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://linux-maine.org</link>
	<description>»Hålla mun och hacka!«</description>
	<lastBuildDate>Mon, 19 Jul 2010 15:36:03 +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>otf med xetex</title>
		<link>http://linux-maine.org/?p=101</link>
		<comments>http://linux-maine.org/?p=101#comments</comments>
		<pubDate>Mon, 19 Jul 2010 15:19:45 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=101</guid>
		<description><![CDATA[$ cp foo.otf /usr/share/fonts/ $ fc-cache -fv $ fc-list $ kpsewhich foo.otf $ otfinfo --features /usr/share/fonts/foo.otf $ vim foo.tex % foo.tex \font\foo="Foo":+kern;+liga;+zero \foo abcdefg 1234567890. \bye $ xetex foo.tex $ edpfview foo.pdf]]></description>
			<content:encoded><![CDATA[<p><code>$ cp foo.otf /usr/share/fonts/<br />
$ fc-cache -fv<br />
$ fc-list<br />
$ kpsewhich foo.otf<br />
$ otfinfo --features /usr/share/fonts/foo.otf<br />
$ vim foo.tex</code></p>
<pre>% foo.tex
\font\foo="Foo":+kern;+liga;+zero
\foo abcdefg 1234567890.
\bye</pre>
<p><code>$ xetex foo.tex<br />
$ edpfview foo.pdf</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=101</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Svenska tecken med Perl modul URI::GoogleChart</title>
		<link>http://linux-maine.org/?p=88</link>
		<comments>http://linux-maine.org/?p=88#comments</comments>
		<pubDate>Fri, 25 Jun 2010 20:36:31 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=88</guid>
		<description><![CDATA[#!/usr/bin/perl use strict; use warnings; BEGIN { my $base_module_dir = ( getpwuid($>) )[7] . '/perl/'; unshift @INC, map { $base_module_dir . $_ } @INC; } use CGI qw(:standard); use URI::GoogleChart; use encoding 'utf8'; print header; print start_html(-title=>'Perl modul URI::GoogleChart'); my &#8230; <a href="http://linux-maine.org/?p=88">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
<pre>#!/usr/bin/perl
use strict;
use warnings;

BEGIN {
    my $base_module_dir = ( getpwuid($>) )[7] . '/perl/';
    unshift @INC, map { $base_module_dir . $_ } @INC;
}

use CGI qw(:standard);
use URI::GoogleChart;
use encoding 'utf8';

print header;

print start_html(-title=>'Perl modul URI::GoogleChart');

my $u = URI::GoogleChart->new("pie-3d", 350, 100,
    data => [60, 40],
    label => ["H&aring;lla mun", "och hacka!"],
) or die $!;

print "&lt;img src=\"$u\"&gt;";

print end_html;</pre>
</p>
<p><img src="http://chart.apis.google.com/chart?cht=p3&#038;chs=350x100&#038;chl=H%C3%A5lla+mun%7Coch+hacka!&#038;chd=t:100,66.7"></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=88</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TTF fontar och svenska tecken i GD::Graph</title>
		<link>http://linux-maine.org/?p=80</link>
		<comments>http://linux-maine.org/?p=80#comments</comments>
		<pubDate>Fri, 25 Jun 2010 18:23:23 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=80</guid>
		<description><![CDATA[#!/usr/bin/perl # "module path" BEGIN { my $base_module_dir = ( getpwuid($>) )[7] . '/perl/'; unshift @INC, map { $base_module_dir . $_ } @INC; } use CGI qw/:standard/; use GD::Graph; use GD::Graph::bars; use GD::Graph::colour; use GD::Text; use encoding 'utf8'; @data = &#8230; <a href="http://linux-maine.org/?p=80">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
<pre>#!/usr/bin/perl

# "module path"
BEGIN {
    my $base_module_dir = ( getpwuid($>) )[7] . '/perl/';
    unshift @INC, map { $base_module_dir . $_ } @INC;
}

use CGI qw/:standard/;
use GD::Graph;
use GD::Graph::bars;
use GD::Graph::colour;
use GD::Text;
use encoding 'utf8';

@data = (
  ["f&ouml;rsta", "andra", "tredje", "fj&auml;rde", "femte", "sj&auml;tte"],
  [1, 2, 5, 6, 3, 1.5],
  [sort {$a <=> $b} (1, 2, 5, 6, 3, 1.5)]
);

my $graph = GD::Graph::bars->new(600, 300);
$graph->set_legend("foo", "bar");

# Diverse egenskaper
$graph->set(
  x_label       => 'y-axeln',
  y_label       => 'x-axeln',
  title         => "H&aring;lla mun och hacka!",
  y_max_value   => 8,
  y_tick_number => 8,
  y_label_skip  => 2,
  textclr       => GD::Graph::colour::black,
  labelclr      => GD::Graph::colour::black,
  axislabelclr  => GD::Graph::colour::black,
  fgclr         => GD::Graph::colour::black,
  legendclr     => GD::Graph::colour::black
) or die $graph->error;

# Dataf&auml;rgen
$graph->set( dclrs => [ qw(lgray gray) ] );

# Fontar
GD::Text->font_path("/usr/share/fonts/bitstream-vera");
$graph->set_title_font( "Vera", 14 );
$graph->set_legend_font( "Vera", 10 );
$graph->set_x_axis_font( "Vera", 9 );
$graph->set_x_label_font( "Vera", 11 );
$graph->set_y_axis_font( "Vera", 9 );
$graph->set_y_label_font( "Vera", 11 );

# Format och utdata
my $format = $graph->export_format;
print header("image/$format");
binmode STDOUT;
print $graph->plot(\@data)->$format();</pre>
</p>
<p><img src="http://linux-maine.org/cgi-bin/gd_graph.cgi"></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=80</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prova cgi-utdata som ingångsdata för Lynx</title>
		<link>http://linux-maine.org/?p=71</link>
		<comments>http://linux-maine.org/?p=71#comments</comments>
		<pubDate>Tue, 22 Jun 2010 16:32:03 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=71</guid>
		<description><![CDATA[$ foo.cgi "?bar=baz&#038;pi=3.14159"&#124; lynx -stdin]]></description>
			<content:encoded><![CDATA[<p><code>$ foo.cgi "?bar=baz&#038;pi=3.14159"| lynx -stdin</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=71</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bra och gratis tyska öppen-böcker</title>
		<link>http://linux-maine.org/?p=43</link>
		<comments>http://linux-maine.org/?p=43#comments</comments>
		<pubDate>Fri, 18 Jun 2010 14:54:27 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=43</guid>
		<description><![CDATA[Wie Werde Ich Unix-Guru? Einführung in UNIX, Linux und Co. av Arnold Willemer C von A bis Z: Das umfassende Handbuch av J&#252;rgen Wolf]]></description>
			<content:encoded><![CDATA[<p><a href="http://openbook.galileocomputing.de/unix_guru/">Wie Werde Ich Unix-Guru? Einführung in UNIX, Linux und Co.</a> av Arnold Willemer<br />
<a href="http://openbook.galileocomputing.de/c_von_a_bis_z/">C von A bis Z: Das umfassende Handbuch</a> av J&uuml;rgen Wolf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>F&#246;rvandla toc.ncx till toc.html</title>
		<link>http://linux-maine.org/?p=36</link>
		<comments>http://linux-maine.org/?p=36#comments</comments>
		<pubDate>Wed, 16 Jun 2010 04:57:32 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=36</guid>
		<description><![CDATA[$ xsltproc -o toc.html ncx2html.xsl toc.ncx $ perl -Cio -pi -e 's/([^\x00-\x7f])/sprintf("&#%d;", ord($1))/ge;' toc.html &#60;?xml version="1.0" encoding="ISO-8859-1"?&#62; &#60;!-- ncx2html: An (incomplete) XML stylesheet to transform NCX to HTML. --&#62; &#60;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/"&#62; &#60;xsl:output method="xml" indent="yes"/&#62; &#60;xsl:template match="/ncx:ncx"&#62; &#60;html&#62; &#60;body&#62; &#8230; <a href="http://linux-maine.org/?p=36">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><code>$ xsltproc -o toc.html ncx2html.xsl toc.ncx<br />
$ perl -Cio -pi -e 's/([^\x00-\x7f])/sprintf("&#%d;", ord($1))/ge;' toc.html</code></p>
<p>
<pre>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;!-- ncx2html: An (incomplete) XML stylesheet to transform NCX to HTML. --&gt;
&lt;xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/"&gt;
&lt;xsl:output method="xml" indent="yes"/&gt;

&lt;xsl:template match="/ncx:ncx"&gt;
  &lt;html&gt;
    &lt;body&gt;
      &lt;h1&gt;&lt;xsl:value-of select="ncx:docTitle/ncx:text"/&gt;: Contents&lt;/h1&gt;
      &lt;p&gt;
        &lt;xsl:if test="ncx:navMap/ncx:navPoint"&gt;
          &lt;ul&gt;
            &lt;xsl:apply-templates select="ncx:navMap/ncx:navPoint"/&gt;
          &lt;/ul&gt;
        &lt;/xsl:if&gt;
      &lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;

&lt;xsl:template match="ncx:navPoint"&gt;
  &lt;li&gt;
    &lt;a href="{ncx:content/@src}"&gt;
      &lt;xsl:value-of select="ncx:navLabel"/&gt;
    &lt;/a&gt;
    &lt;br/&gt;
    &lt;xsl:if test="ncx:navPoint"&gt;
      &lt;ul&gt;
        &lt;xsl:apply-templates select="ncx:navPoint"/&gt;
      &lt;/ul&gt;
    &lt;/xsl:if&gt;
  &lt;/li&gt;
&lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=36</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>L&#228;sa epub-b&#246;cker i Lynx</title>
		<link>http://linux-maine.org/?p=33</link>
		<comments>http://linux-maine.org/?p=33#comments</comments>
		<pubDate>Wed, 16 Jun 2010 04:51:29 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=33</guid>
		<description><![CDATA[$ unzip foo.epub $ cd OEBPS $ ls -1 *.html &#124; \ xargs perl -Cio -pi -e 's/([^\x00-\x7f])/sprintf("&#38;#%d;", ord($1))/ge;' $ lynx file://`pwd`]]></description>
			<content:encoded><![CDATA[<p><code>$ unzip foo.epub<br />
$ cd OEBPS<br />
$ ls -1 *.html | \<br />
xargs perl -Cio -pi -e 's/([^\x00-\x7f])/sprintf("&amp;#%d;", ord($1))/ge;'<br />
$ lynx file://`pwd`</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cd till .wav rippa och spela i OpenBSD 4.7</title>
		<link>http://linux-maine.org/?p=28</link>
		<comments>http://linux-maine.org/?p=28#comments</comments>
		<pubDate>Wed, 16 Jun 2010 04:10:35 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=28</guid>
		<description><![CDATA[$ cdio cdrip $ ls -1 *.wav &#124; xargs aucat -i]]></description>
			<content:encoded><![CDATA[<p><code>$ cdio cdrip<br />
$ ls -1 *.wav | xargs aucat -i</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=28</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Musik f&#246;r programmering</title>
		<link>http://linux-maine.org/?p=16</link>
		<comments>http://linux-maine.org/?p=16#comments</comments>
		<pubDate>Wed, 16 Jun 2010 03:42:02 +0000</pubDate>
		<dc:creator>mfiskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux-maine.org/?p=16</guid>
		<description><![CDATA[Jan Johansson : Jazz p&#229; svenska, etc. http://www.janjohansson.org/]]></description>
			<content:encoded><![CDATA[<p>Jan Johansson : Jazz p&aring; svenska, etc.<br />
<a href="http://www.janjohansson.org/">http://www.janjohansson.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux-maine.org/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
