eris page
This commit is contained in:
parent
ed54768d6c
commit
bd872d97d2
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
|||
DESTDIR = $(HOME)/public_html
|
||||
|
||||
TEMPLATE = template.xml
|
||||
TEMPLATE = template.m4
|
||||
MDWNTOHTML = ./mdwntohtml $(TEMPLATE)
|
||||
|
||||
# HTML to be generated
|
||||
|
|
|
@ -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?"
|
||||
|
|
10
portal.cgi
10
portal.cgi
|
@ -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&showTitle=0&showDate=0&showPrint=0&showTz=0&mode=AGENDA&height=350&wkst=1&bgcolor=%23FFFFFF&src=2cdrf19kah6jkonhom8evck38c%40group.calendar.google.com&color=%23333333&src=s531giqfiotabht4qrn59tjf9g%40group.calendar.google.com&color=%231B887A&src=umtjjc250gp0m5gm8h3dn13hcc%40group.calendar.google.com&color=%236E6E41&src=dartcatcher%40gmail.com&color=%23125A12&src=laderbydames%40gmail.com&color=%2323164E&src=uulosalamos.org_gu7e0s8dsh1tn8iktt468tk95k%40group.calendar.google.com&color=%232F6309&src=en.usa%23holiday%40group.v.calendar.google.com&color=%238D6F47&ctz=America%2FDenver"></iframe>'
|
||||
|
||||
if [ "$TINY" ]; then
|
||||
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>'
|
||||
fi
|
||||
|
||||
weather
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
@ -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/)
|
||||
|
|
Loading…
Reference in New Issue