This feed contains pages tagged "notes".

Add handling of multipart messages to mail_to_note.

Anything other than the first part /i.e./ any attachements should be saved as files and linked from a section at the bottom of the message.

The format should be something like:

[1] foo_bar.py
[2] baz.tex
Posted Mon 19 Oct 2009 12:44:54 BST Tags: notes

Email GPG signed messages to notes@joe.milbourn.org.uk or what ever. If signature verifies publish. Markup with rest/markdown.

First entry: read events from socket, e.g. /var/run/acpid.socket:

while 1; 
do 
    zsocket /var/run/acpid.socket; 
    read -u$REPLY; 
    echo $REPLY;
done

Second entry: determine location and therefore proxy from the dns namespace allocated via dhcp:

DOMAIN=$(cat /etc/resolv.conf | grep search | cut -d " " -f 2)

case $DOMAIN in
    "dur.ac.uk") proxy="http://wwwcache.dur.ac.uk:8080/";;
    *) proxy="";;
esac

export http_proxy=$proxy
export https_proxy=$proxy
Posted Mon 19 Oct 2009 12:44:54 BST Tags: notes