eris page

This commit is contained in:
Neale Pickett 2012-03-13 23:03:48 -05:00
parent ed54768d6c
commit bd872d97d2
6 changed files with 59 additions and 7 deletions

View File

@ -1,6 +1,6 @@
DESTDIR = $(HOME)/public_html
TEMPLATE = template.xml
TEMPLATE = template.m4
MDWNTOHTML = ./mdwntohtml $(TEMPLATE)
# HTML to be generated

View File

@ -1,6 +1,6 @@
Title: Neale Pickett Page
<img src="face.png" style="float: left; padding: 0.5em" />
<img src="face.png" alt="☺" style="float: left; padding: 0.5em" />
One day a pirate walks into a bar with a steering wheel attached to his
crotch. So the bartender says to him, "You know you have a steering
wheel attached to your crotch?"

View File

@ -3,6 +3,10 @@
case "$HTTP_USER_AGENT" in
*MIDP*)
TINY=1
NOCAL=1
;;
*Mobile*)
NOCAL=1
;;
esac
@ -72,16 +76,18 @@ h2 {
}
</style>
<link rel="icon" type="image/png" href="portal.png">
<meta name="viewport" content="width=device-width" />
</head>
<body>
EOF
[ "$TINY" ] || \
[ "$NOCAL" ] || \
echo '<iframe class="calendar" src="https://www.google.com/calendar/embed?title=Calendar&amp;showTitle=0&amp;showDate=0&amp;showPrint=0&amp;showTz=0&amp;mode=AGENDA&amp;height=350&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=2cdrf19kah6jkonhom8evck38c%40group.calendar.google.com&amp;color=%23333333&amp;src=s531giqfiotabht4qrn59tjf9g%40group.calendar.google.com&amp;color=%231B887A&amp;src=umtjjc250gp0m5gm8h3dn13hcc%40group.calendar.google.com&amp;color=%236E6E41&amp;src=dartcatcher%40gmail.com&amp;color=%23125A12&amp;src=laderbydames%40gmail.com&amp;color=%2323164E&amp;src=uulosalamos.org_gu7e0s8dsh1tn8iktt468tk95k%40group.calendar.google.com&amp;color=%232F6309&amp;src=en.usa%23holiday%40group.v.calendar.google.com&amp;color=%238D6F47&amp;ctz=America%2FDenver"></iframe>'
echo '<form action="http://www.google.com/"><input name="q" size="12"><input type="submit" value="G">'
cat $HOME/public_html/activity.txt
echo '</form>'
if [ "$TINY" ]; then
echo '<form action="http://www.google.com/"><input name="q" size="12"><input type="submit" value="G">'
echo '</form>'
fi
weather

View File

@ -17,7 +17,8 @@ browser.
restarting dwm, multimedia buttons, and
[xss](http://woozle.org/~neale/src/xss.html) integration (3 lines of
code).
* [My status script](status.sh) is responsible for having DWM show the
* [My status program](http://woozle.org/~neale/gitweb.cgi/status)
is responsible for having DWM show the
current time, load average, battery charge, and wifi status. It
gracefully handles machines that lack one or more of these features.
* [My button script](dwm-button.sh) is invoked when a multimedia button

44
src/eris.mdwn Normal file
View File

@ -0,0 +1,44 @@
Title: Eris HTTPd
Eris HTTPd is a small web server to be run from inetd or tcpserver
(tcpsvd in busybox). It is based on
[fnord HTTPd](http://www.fefe.de/fnord/) but shares very little
code in common now.
I created eris for [Dirtbags CTF](http://dirtbags.net/ctf/), an
embedded build. But it is also running woozle.org and many
other virtual hosts here.
Features
--------
* Actively maintained
* Small: around 1100 lines of code, 19k binary with glibc
* Fast: as fast as fnord, at least
* Connection keepalive
* thttpd-style virtual domains
* IPv6 and SSL support
* CGI
* Content-Range
* Directory index generation
Differences with fnord
----------------------
* command-line arguments instead of compile-time defines
* eliminated use of libowfat
* no build dependency of dietlibc
* elimination of "old style symlink handling"
* elimination of user switching (you can use tcpserver -[ug])
* elimination of chroot code (you can use chroot)
* several bugfixes (sent to the fnord mail list)
* ignores Accept header (fnord does too)
Download
--------
* [3.0 Release Candidate 1](http://woozle.org/~neale/gitweb.cgi/eris/snapshot/3.0rc1.tar.gz)
* [Version Control](http://woozle.org/~neale/gitweb.cgi/eris)

View File

@ -8,6 +8,7 @@ of these packages.
Networky things
-------------------------------
* [Eris HTTPd](eris.html), a small HTTP (web) server
* [pysieved](pysieved.html), a Python ManageSieve server
* [Firebot](firebot.html), an easily-extended IRC bot in continuous use since 1996
* [Python IPQUEUE library](ipqueue/)