add derby stuff

This commit is contained in:
Neale Pickett 2012-05-26 22:27:34 -05:00
parent 0efbcfc3e3
commit 99a518cab1
7 changed files with 51 additions and 8 deletions

22
derby.mdwn Normal file
View File

@ -0,0 +1,22 @@
Title: Roller Derby Stuff
We provide Roller Derby software and advice, aimed at small- to medium-sized
leagues. We strive to make our software:
* Free: no ads, no fees, forever
* Open: download and modify the provided source code
* Clean: fans and NSOs should focus on the game, not our software
* Easy: quickly-learned and intuitive interfaces
Software
--------
* [Scoreboard](http://woozle.org/scoreboard/), works in any web browser
* [Penalty Timer (Android)](https://play.google.com/store/apps/details?id=org.woozle.penaltytimer)
* [Track](http://woozle.org/track/) with movable players
* Penalty Timer (iPhone/iPad) *coming soon*
Articles
--------
* [Running A/V for a Bout](http://woozle.org/~neale/papers/derby-av.html)

View File

@ -19,11 +19,14 @@ held by folks who know the right person to ask.
ssh fingerprint for woozle.org: 63:ac:b0:e9:ee:9f:a9:4f:55:0a:4a:42:5d:45:47:06 ssh fingerprint for woozle.org: 63:ac:b0:e9:ee:9f:a9:4f:55:0a:4a:42:5d:45:47:06
--> -->
3 Feb: Web Server Change 8 Mar: More web server suckage
------------------------ ------------------------------
Because of a newly-discovered security bug in the web server software I'm trying to get woozle.org ready for IPv6, using the same software
I was using, I had to do an unplanned emergency changeover to something we run in [Dirtbags CTF](http://dirtbags.net/ctf/). I *thought* I had
else. I think everything is working now, including webmail. the web server up and working, but apparently I broke webmail logins.
Please let me know if you find anything broken. Thanks to the vigilant woozle user who phoned me to let me know it was
busted.
Uptime for the web server is pretty horrible lately. My apologies.

View File

@ -83,7 +83,7 @@ else:
l = os.path.basename(d) l = os.path.basename(d)
content += '<tr><td><a href="/lists.cgi/%s">%s</a></td>' % (l, l) content += '<tr><td><a href="/lists.cgi/%s">%s</a></td>' % (l, l)
content += '<td>%s</td>' % getdesc(d) content += '<td>%s</td>' % getdesc(d)
content += '<td><form action="lists">' content += '<td><form action="/lists.cgi">'
content += ' <input name="addr" />' content += ' <input name="addr" />'
content += ' <input type="hidden" name="l" value="%s" /><br />' % l content += ' <input type="hidden" name="l" value="%s" /><br />' % l
content += ' <input type="submit" name="a" value="subscribe" />' content += ' <input type="submit" name="a" value="subscribe" />'

View File

@ -11,7 +11,9 @@ main(int argc, char *argv[])
char *pathinfo = getenv("PATH_INFO"); char *pathinfo = getenv("PATH_INFO");
char filename[512]; char filename[512];
if ((! pathinfo) || (0 == strcmp(pathinfo, "/index.html"))) { if ((! pathinfo) ||
(! strcmp(pathinfo, "/")) ||
(0 == strcmp(pathinfo, "/index.html"))) {
pathinfo = "/index.php"; pathinfo = "/index.php";
} }
snprintf(filename, sizeof filename, "%s%s", basepath, pathinfo); snprintf(filename, sizeof filename, "%s%s", basepath, pathinfo);

8
scoreboard/scoreboard.mk Normal file
View File

@ -0,0 +1,8 @@
TARGETS += $(DESTDIR)/scoreboard/index.html
$(DESTDIR)/scoreboard/.git:
cd $(DESTDIR); git clone /home/neale/projects/scoreboard
$(DESTDIR)/scoreboard/index.html: $(DESTDIR)/scoreboard/.git
$(DESTDIR)/scoreboard/index.html: /home/neale/projects/scoreboard
cd $(DESTDIR)/scoreboard; git pull

View File

@ -11,6 +11,7 @@
<nav> <nav>
<ul> <ul>
<li><a href="/">Home</a></li> <li><a href="/">Home</a></li>
<li><a href="/derby.html">Derby Stuff</a></li>
<li><a href="/lists.cgi">Email lists</a></li> <li><a href="/lists.cgi">Email lists</a></li>
<li><a href="/wishlist.cgi">Wish lists</a></li> <li><a href="/wishlist.cgi">Wish lists</a></li>
<li><a href="/people.html">People</a><li> <li><a href="/people.html">People</a><li>

7
track/track.mk Normal file
View File

@ -0,0 +1,7 @@
TARGETS += $(DESTDIR)/track/index.html
$(DESTDIR)/track/.git:
cd $(DESTDIR); git clone /home/neale/projects/track
$(DESTDIR)/track/index.html: $(DESTDIR)/track/.git
cd $(DESTDIR)/track; git pull