<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://polemon.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://polemon.org/feed.php">
        <title>polemon.org</title>
        <description></description>
        <link>http://polemon.org/</link>
        <image rdf:resource="http://polemon.org/lib/tpl/polemon/images/favicon.ico" />
       <dc:date>2012-05-21T02:38:17+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://polemon.org/cgit_nginx?rev=1334806175&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/consolas?rev=1298738282&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/crap.pl?rev=1287614889&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/fonts?rev=1334433473&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/identify.pl?rev=1287621279&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/isgd.pl?rev=1299070184&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/keys.sh?rev=1260848940&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/l2p.cgi?rev=1281124805&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/license?rev=1299244559&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/loltray?rev=1259750336&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/main_page?rev=1336703841&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/mono.theme?rev=1254427315&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/musepack?rev=1294807193&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/noctcp.diff?rev=1270612065&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/polemon.vim?rev=1246526581&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/profile.cmd?rev=1335469452&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/scanpool?rev=1267112513&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/sort.pl?rev=1287614873&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/ssl_makefile?rev=1269523518&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/symmetry_dog?rev=1260676547&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/webcam?rev=1265186417&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/youtube_audio?rev=1308043722&amp;do=diff"/>
                <rdf:li rdf:resource="http://polemon.org/zshrc?rev=1260848940&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://polemon.org/lib/tpl/polemon/images/favicon.ico">
        <title>polemon.org</title>
        <link>http://polemon.org/</link>
        <url>http://polemon.org/lib/tpl/polemon/images/favicon.ico</url>
    </image>
    <item rdf:about="http://polemon.org/cgit_nginx?rev=1334806175&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-19T05:29:35+02:00</dc:date>
        <title>cgit_nginx</title>
        <link>http://polemon.org/cgit_nginx?rev=1334806175&amp;do=diff</link>
        <description>I was struggling a bit to get cgit running with nginx.

I found quite a lot of websites, that explain running with cgit with nginx, but most are outdated or simply wrong.

TODO
The following how-to is unfinished. It is meant to facilitate deployment of git repos with nginx and cgit.</description>
    </item>
    <item rdf:about="http://polemon.org/consolas?rev=1298738282&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-26T17:38:02+02:00</dc:date>
        <title>consolas</title>
        <link>http://polemon.org/consolas?rev=1298738282&amp;do=diff</link>
        <description>Consolas is a new monospaced font on Windows Vista and Windows 7.

It was not available on Windows XP until recently, and even now, you have to jump through hoops, to get them.

Either you need to install PowerPoint Viewer, or Visual Studio Font Pack for Visual Studio 2005 or 2008.</description>
    </item>
    <item rdf:about="http://polemon.org/crap.pl?rev=1287614889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-21T00:48:09+02:00</dc:date>
        <title>crap.pl</title>
        <link>http://polemon.org/crap.pl?rev=1287614889&amp;do=diff</link>
        <description># crap.pl
#
# shit nobody cares about
#
# Szymon 'polemon' Bereziak (2008 - 2010)
#
# I WILL NOW KILL STUFF WITH FIRE!
# This script is licensed untder ISC license
#

use strict;
use vars qw($VERSION %IRSSI);

use Irssi;
use LWP;
use XML::DOM;
use Data::Dumper;

$VERSION = &quot;0.01&quot;;

%IRSSI = (
         author =&gt; &quot;Szymon 'polemon' Bereziak&quot;,
        contact =&gt; &quot;polemon\@polemon.org&quot;,
           name =&gt; &quot;crap&quot;,
    description =&gt; &quot;crap nobody cares about&quot;,
        license =&gt; &quot;ISC&quot;,
            url …</description>
    </item>
    <item rdf:about="http://polemon.org/fonts?rev=1334433473&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-14T21:57:53+02:00</dc:date>
        <title>fonts</title>
        <link>http://polemon.org/fonts?rev=1334433473&amp;do=diff</link>
        <description>I've seen a lot of people using the wrong fonts for the wrong applications a lot. Somewhere in my time, I started to pay close attention to the correct use of fonts and general typesetting of printed material, as well as webpages, etc.

I'm not a designer, lector, or typesetter, but I have my own library of “essential fonts” by now, that I'd like to share.</description>
    </item>
    <item rdf:about="http://polemon.org/identify.pl?rev=1287621279&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-21T02:34:39+02:00</dc:date>
        <title>identify.pl</title>
        <link>http://polemon.org/identify.pl?rev=1287621279&amp;do=diff</link>
        <description>This script automatically responds to identification requests by NickServ.

It uses a BerkeleyDB database to store passwords.
I have a small BDB application almost ready to edit the database.

The script is still unfinished, expect the one or the other problem...</description>
    </item>
    <item rdf:about="http://polemon.org/isgd.pl?rev=1299070184&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-02T13:49:44+02:00</dc:date>
        <title>isgd.pl</title>
        <link>http://polemon.org/isgd.pl?rev=1299070184&amp;do=diff</link>
        <description>This Irssi script shortens URLs with is.gd, and v.gd.

It replaces links above a certain length in-place so it works in all window items.

Grab the code [here], or take a look at the source:

# isgd.pl
#
# URL shortening with is.gd or v.gd
#
# Copyright (c) 2010 Szymon 'polemon' Bereziak &lt;polemon@polemon.org&gt;
#
# This script is licensed untder ISC license
#

use strict;
use vars qw($VERSION %IRSSI);

use Irssi;
use XML::LibXML 1.70;

$VERSION = &quot;1.2&quot;;

%IRSSI = (
         author =&gt; &quot;Szymon 'pole…</description>
    </item>
    <item rdf:about="http://polemon.org/keys.sh?rev=1260848940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-15T04:49:00+02:00</dc:date>
        <title>keys.sh</title>
        <link>http://polemon.org/keys.sh?rev=1260848940&amp;do=diff</link>
        <description>Remapping keys for Linux console can be quite tedious. This file should help make it less.

Flips Caps Lock and Escape keys.

#!/bin/bash

{
    echo $(dumpkeys | grep -i keymaps)
    echo &quot;keycode 58 = Escape&quot;
    echo &quot;keycode 1 = Caps_Lock&quot;
} | loadkeys -</description>
    </item>
    <item rdf:about="http://polemon.org/l2p.cgi?rev=1281124805&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-06T22:00:05+02:00</dc:date>
        <title>l2p.cgi</title>
        <link>http://polemon.org/l2p.cgi?rev=1281124805&amp;do=diff</link>
        <description>This CGI script renders LaTeX math mode code as PNGs

A Demo is available here.

Grab the code [here], or take a look at the source:

#!/usr/bin/perl -w
#
#   $Id: l2p.cgi,v 1.10 2010/01/12 04:00:43 bereziak Exp $
#
# LaTeX math mode renderer
#
# Renders LaTeX math code as PNGs
#
# License: BSD
#

use CGI;
use Cwd;

my $cgi = new CGI;

my $wdir    = '../latex';
my $width   = 450;
my $height  = 400;
my $density = 120;

my $postid = $cgi-&gt;param('postid');

print $cgi-&gt;header(-type =&gt; 'text/plain; …</description>
    </item>
    <item rdf:about="http://polemon.org/license?rev=1299244559&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-04T14:15:59+02:00</dc:date>
        <title>license</title>
        <link>http://polemon.org/license?rev=1299244559&amp;do=diff</link>
        <description>All content on this page is released under a license modeled after the ISC License, whose text is shown below, unless otherwise noted.

Copyright (c) 2004-2011, Szymon 'polemon' Bereziak &lt;polemon@polemon.org&gt;

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH R…</description>
    </item>
    <item rdf:about="http://polemon.org/loltray?rev=1259750336&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-02T11:38:56+02:00</dc:date>
        <title>loltray</title>
        <link>http://polemon.org/loltray?rev=1259750336&amp;do=diff</link>
        <description>This script is funny. I know it, because I have used it many times.

Trust me, when you use it, it's funny as hell!

#!/bin/bash

function nolol {

    echo &quot;&gt;&gt;&gt; EXITING (closing)&quot;
    for (( i=1; i &lt;= 48; i++)); do
    pc=$i
    [ $pc -lt 10 ] &amp;&amp; pc=&quot;0$pc&quot;
    ssh 64pc$pc -q eject -t &amp; &lt;/dev/null &gt;/dev/null # &lt;--- LOLCOMMAND
    done

    pc=$i
    [ $pc -lt 10 ] &amp;&amp; pc=&quot;0$pc&quot;

    wait

    echo &quot;done (EXIT)&quot;
    exit 0;
}

trap nolol INT

while [ -z &quot;$a&quot; ] ; do

    echo &quot;opening...&quot;
    for (…</description>
    </item>
    <item rdf:about="http://polemon.org/main_page?rev=1336703841&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-05-11T04:37:21+02:00</dc:date>
        <title>main_page</title>
        <link>http://polemon.org/main_page?rev=1336703841&amp;do=diff</link>
        <description>I've uploaded my most commonly used Irssi scripts, that I made myself. Check out the tag page, it lists them.

Based on some benchmarks I found on the web, I decided to switch to another web server yet again. I had some trouble getting FastCGI to run nicely, but it seems to be OK now.
From what I've gathered, nginx seems to be not only more efficient, when it comes to RAM and CPU usage, but also more reliable, especially concerning lock-ups.</description>
    </item>
    <item rdf:about="http://polemon.org/mono.theme?rev=1254427315&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-01T22:01:55+02:00</dc:date>
        <title>mono.theme</title>
        <link>http://polemon.org/mono.theme?rev=1254427315&amp;do=diff</link>
        <description>This Irssi theme, is optimized for character display, such as the DEC VT220.

It does not use colors but uses bold font, underlines and blinking text to emphasize things on a character display.

You can always download the latest version [here].

Or, take a look at the source:</description>
    </item>
    <item rdf:about="http://polemon.org/musepack?rev=1294807193&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-01-12T05:39:53+02:00</dc:date>
        <title>musepack</title>
        <link>http://polemon.org/musepack?rev=1294807193&amp;do=diff</link>
        <description>Musepack is an audio codec which is on par with Ogg/Vorbis, AAC and MP3. I wanted to do some testing, as it creates very good results in the upper bitrate ranges (160-180kb/s average).

Compiling Musepack

The compilation process under Linux for Musepack is mostly broken. I had to work-around parts of the build process, as there is little to no documentation at all.</description>
    </item>
    <item rdf:about="http://polemon.org/noctcp.diff?rev=1270612065&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-07T05:47:45+02:00</dc:date>
        <title>noctcp.diff</title>
        <link>http://polemon.org/noctcp.diff?rev=1270612065&amp;do=diff</link>
        <description>I didn't like the idea that people are able to get information about my client using CTCPs.

Though the info that you get when doing a CTCP request on someone isn't really vital, I'd like to decide myself, if and which info is sent to someone.

This patch makes Irssi not respond to CTCP requests.</description>
    </item>
    <item rdf:about="http://polemon.org/polemon.vim?rev=1246526581&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-02T11:23:01+02:00</dc:date>
        <title>polemon.vim</title>
        <link>http://polemon.org/polemon.vim?rev=1246526581&amp;do=diff</link>
        <description>My colorfile for Vim 7.2

You can download the latest version from [here].

Or, take a look at the source:

&quot; Vim color file
&quot;
&quot; Maintainer:   Szymon 'Polemon' Bereziak &lt;polemon@polemon.org&gt;
&quot; Last Change:  2009-06-04
&quot; URL:          http://polemon.org
&quot; Version:      0.8
&quot;
&quot; help-sections:
&quot; :he group-name
&quot; :he highlight-groups
&quot; :he cterm-colors

hi clear
&quot; set background=dark
if exists(&quot;syntax_on&quot;)
    syntax reset
endif
let g:colors_name = &quot;polemon&quot;
hi clear Visual
hi clear Search
hi clear …</description>
    </item>
    <item rdf:about="http://polemon.org/profile.cmd?rev=1335469452&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-26T21:44:12+02:00</dc:date>
        <title>profile.cmd</title>
        <link>http://polemon.org/profile.cmd?rev=1335469452&amp;do=diff</link>
        <description>This is the effort to make a usable profile script for cmd.exe, the Windows command prompt.

:::: profile.cmd - profile script for cmd.exe
:: Maintainer:   Szymon 'Polemon' Bereziak &lt;polemon@polemon.org&gt;
:: Last change:  2012-03-22
:: URL:          http://polemon.org
:: Version:      0.1

:: config vars
set DIRCMD=/A /O

:: additional variables
set DESKTOP=%USERPROFILE%\Desktop
set ~=%USERPROFILE%

:: expanding PATH
set PATH=%PATH%;%ProgramFiles%\7-zip\
::set PATH=%PATH%;&quot;%ProgramFiles%\MiKTeX 2…</description>
    </item>
    <item rdf:about="http://polemon.org/scanpool?rev=1267112513&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-25T16:41:53+02:00</dc:date>
        <title>scanpool</title>
        <link>http://polemon.org/scanpool?rev=1267112513&amp;do=diff</link>
        <description>One can scan pools of computers with this script...

#!/bin/bash
[ -z &quot;$1&quot; ] &amp;&amp; num=48 || num=$1
echo &quot;Computers: $num&quot;
for i in $(seq $num); do
    pc=$i
    [ $pc -lt 10 ] &amp;&amp; pc=&quot;0$pc&quot;
    echo -n &quot;|&quot;
    { ssh 64pc$pc -q --login w -hsu; } | egrep -v '^(root)' &gt; /tmp/poolscum.$i &amp;
done
echo -e &quot;\nDone. Waiting for pending responses...&quot;
wait
for i in $(seq $num); do
    pc=$i
    [ $pc -lt 10 ] &amp;&amp; pc=&quot;0$pc&quot;
    [ -s /tmp/poolscum.$i ] &amp;&amp; echo &quot;---- 64pc$pc ----&quot; &amp;&amp; cat /tmp/poolscum.$i
    rm -…</description>
    </item>
    <item rdf:about="http://polemon.org/sort.pl?rev=1287614873&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-21T00:47:53+02:00</dc:date>
        <title>sort.pl</title>
        <link>http://polemon.org/sort.pl?rev=1287614873&amp;do=diff</link>
        <description>This Irssi script sorts windows.

This one emphasizes on features and speed, you can group windows by networks, decide where queries should appear, etc. Rearranging 30 windows takes just about 200msec.

It adds the command /sort with options and settings. To get a list of them, type /sort help after loading the script.




Grab the code [here], or take a look at the source:</description>
    </item>
    <item rdf:about="http://polemon.org/ssl_makefile?rev=1269523518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-25T14:25:18+02:00</dc:date>
        <title>ssl_makefile</title>
        <link>http://polemon.org/ssl_makefile?rev=1269523518&amp;do=diff</link>
        <description>This makefile facilitates the creation of SSL certificates.

Download the file and name it Makefile (case sensitive).
[download]

I suggest putting that Makefile in a new directory and running make in there.

Here's the source:

# Makefile to create new CA and application keys more easily

have_cnf:=$(wildcard server.cnf)
have_cacnf:=$(wildcard ca.cnf)

all: server.key.nopass server.crt

# make new CA key and certificate
newca:
    -rm ca.*
    make ca.crt

# make new server certificate and key
…</description>
    </item>
    <item rdf:about="http://polemon.org/symmetry_dog?rev=1260676547&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-13T04:55:47+02:00</dc:date>
        <title>symmetry_dog</title>
        <link>http://polemon.org/symmetry_dog?rev=1260676547&amp;do=diff</link>
        <description>It is the Symmetry Dog!

It is made of symmetry and dog.

Original content</description>
    </item>
    <item rdf:about="http://polemon.org/webcam?rev=1265186417&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-03T09:40:17+02:00</dc:date>
        <title>webcam</title>
        <link>http://polemon.org/webcam?rev=1265186417&amp;do=diff</link>
        <description>I got myself a webcam, but unfortunately, the Java applet doesn't work here on this server.

The Stream is accessible at &lt;http://polemon.boldlygoingnowhere.org/live&gt;.

The Server itself runs at &lt;http://polemon.boldlygoingnowhere.org:12000&gt; (If you click on this, you should see a still picture).</description>
    </item>
    <item rdf:about="http://polemon.org/youtube_audio?rev=1308043722&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-06-14T11:28:42+02:00</dc:date>
        <title>youtube_audio</title>
        <link>http://polemon.org/youtube_audio?rev=1308043722&amp;do=diff</link>
        <description>I though I'd document this, because it is actually quite the PITA to do.

The idea is to get the audio from a video off Youtube. Whether this is a song you want to download, or maybe you want the audio for some reworking, or whatever.

The key is getting the audio from the video, without losing quality due to re-encoding. The following steps will guarantee, that the audio comes to your computer in the best quality available on Youtube, but at the same time being in a correct container. Keep in m…</description>
    </item>
    <item rdf:about="http://polemon.org/zshrc?rev=1260848940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-15T04:49:00+02:00</dc:date>
        <title>zshrc</title>
        <link>http://polemon.org/zshrc?rev=1260848940&amp;do=diff</link>
        <description>This is my .zshrc for my favourite shell, the Z shell.

You can always download the latest version [here].

Or, take a look at the source:

# zsh rc file
#
# Maintainer:   Szymon 'Polemon' Bereziak &lt;polemon@polemon.org&gt;
# Last Change:  2009-07-05
# URL:          http://polemon.org
# Version:      0.2
#

# Return if this is not an interactive shell
[ -z &quot;$PS1&quot; ] &amp;&amp; return

# The following lines were added by compinstall

zstyle ':completion:*' completer _expand _complete _correct _approximate
zst…</description>
    </item>
</rdf:RDF>

