diff --git a/Makefile b/Makefile deleted file mode 100644 index a6dfae7..0000000 --- a/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -DESTDIR = $(HOME)/public_html - -TEMPLATE = template.m4 -MDWNTOHTML = ./mdwntohtml $(TEMPLATE) - -# HTML to be generated -HTML = index.html - -# Things to copy -COPY += mdwntohtml $(TEMPLATE) -COPY += face.png chumby-photo.cgi -COPY += format.css default.css print.css -#COPY += gitweb.cgi git-logo.png gitweb.css gitweb.conf -COPY += portal.png portal.cgi -COPY += g.cgi cgitrc cgit-header.html cgit.css about-filter.sh - -# Directories in which %.mdwn generates %.html -PLAIN = . papers poems misc - -# Other targets for "make all" -TARGETS = html copy -TARGETS += $(DESTDIR)/tmp $(DESTDIR)/footer.html $(DESTDIR)/projects -TARGETS += $(DESTDIR)/geneweb.cgi -TARGETS += $(DESTDIR)/mp.cgi - -all: default - -include */*.mk - -$(DESTDIR)/%.html: %.mdwn $(TEMPLATE) - @mkdir -p $(dir $@) - $(MDWNTOHTML) < $< > $@ - -$(DESTDIR)/%: % - @mkdir -p $(dir $@) - cp $< $@ - -$(DESTDIR)/tmp: - mkdir -p $@ - -$(DESTDIR)/footer.html: $(TEMPLATE) - awk '(/FOOT/) { a += 1; next; } (a == 1) { print; }' $< > $@ - -$(DESTDIR)/projects: - ln -s $(HOME)/projects $@ - -$(DESTDIR)/geneweb.cgi: geneweb.c - $(CC) -o $@ $< - chmod +s $@ - -$(DESTDIR)/g.cgi: g.cgi.go - go build -o $@ $< - -$(DESTDIR)/mp.cgi: minepig.cgi.go - go build -o $@ $< - -$(DESTDIR)/%-sm.jpg: %.jpg - jpegtopnm $< | pnmscale -xysize 600 600 | pnmtojpeg > $@ - -default: $(TARGETS) - -MDWN = $(wildcard $(addsuffix /*.mdwn, $(PLAIN))) -HTML += $(patsubst %.mdwn, %.html, $(MDWN)) - -html: $(addprefix $(DESTDIR)/, $(HTML)) -copy: $(addprefix $(DESTDIR)/, $(COPY)) - -clean: - rm -rf $(wildcard $(DESTDIR)/*) diff --git a/about-filter.sh b/about-filter.sh deleted file mode 100755 index 2e377c1..0000000 --- a/about-filter.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh - -tryexec () { - command -v $1 >/dev/null && exec "$@" -} - -tryexec pandoc -f markdown -t html -tryexec markdown - -echo "no markdown thingies found

" -echo "
"
-cat
-echo "
" diff --git a/cgit-header.html b/cgit-header.html deleted file mode 100644 index b0f3189..0000000 --- a/cgit-header.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - Neale's git projects - - - - - - - - - diff --git a/cgitrc b/cgitrc deleted file mode 100644 index 20a4a18..0000000 --- a/cgitrc +++ /dev/null @@ -1,24 +0,0 @@ -strict-export=git-daemon-export-ok - -about-filter=/home/neale/public_html/about-filter.sh -readme=:README.mdwn -readme=:README.md -readme=:README -section-from-path=1 - -snapshots=zip tar.gz -clone-prefix=https://woozle.org/neale/g.cgi -scan-path=/home/neale/projects -virtual-root=/neale/g.cgi/ -css=/neale/css/cgit.css -favicon=/neale/face.png - -enable-index-owner=0 -root-title=Neale's git projects -root-desc= - -logo= -#embedded=1 -#noheader=1 -#header=/home/neale/public_html/tmpl/head.tmpl -footer=/home/neale/public_html/tmpl/foot.tmpl diff --git a/dj.mdwn b/dj.md similarity index 100% rename from dj.mdwn rename to dj.md diff --git a/index.mdwn b/index.md similarity index 100% rename from index.mdwn rename to index.md diff --git a/misc/cherries.mdwn b/misc/cherries.md similarity index 100% rename from misc/cherries.mdwn rename to misc/cherries.md diff --git a/misc/chupas.mdwn b/misc/chupas.md similarity index 100% rename from misc/chupas.mdwn rename to misc/chupas.md diff --git a/misc/dear-ministers.mdwn b/misc/dear-ministers.md similarity index 100% rename from misc/dear-ministers.mdwn rename to misc/dear-ministers.md diff --git a/misc/drwiii-invaders.mdwn b/misc/drwiii-invaders.md similarity index 100% rename from misc/drwiii-invaders.mdwn rename to misc/drwiii-invaders.md diff --git a/misc/good-and-bad-los-alamos.mdwn b/misc/good-and-bad-los-alamos.md similarity index 100% rename from misc/good-and-bad-los-alamos.mdwn rename to misc/good-and-bad-los-alamos.md diff --git a/misc/i-also-enjoy-wearing-kilts.mdwn b/misc/i-also-enjoy-wearing-kilts.md similarity index 100% rename from misc/i-also-enjoy-wearing-kilts.mdwn rename to misc/i-also-enjoy-wearing-kilts.md diff --git a/misc/index.mdwn b/misc/index.md similarity index 100% rename from misc/index.mdwn rename to misc/index.md diff --git a/misc/shopping-at-smiths.mdwn b/misc/shopping-at-smiths.md similarity index 100% rename from misc/shopping-at-smiths.mdwn rename to misc/shopping-at-smiths.md diff --git a/misc/suspicious-activity.mdwn b/misc/suspicious-activity.md similarity index 100% rename from misc/suspicious-activity.mdwn rename to misc/suspicious-activity.md diff --git a/misc/uglification.mdwn b/misc/uglification.md similarity index 100% rename from misc/uglification.mdwn rename to misc/uglification.md diff --git a/papers/DNS.mdwn b/papers/DNS.md similarity index 100% rename from papers/DNS.mdwn rename to papers/DNS.md diff --git a/papers/arch-runit.mdwn b/papers/arch-runit.md similarity index 100% rename from papers/arch-runit.mdwn rename to papers/arch-runit.md diff --git a/papers/derby-av.mdwn b/papers/derby-av.md similarity index 100% rename from papers/derby-av.mdwn rename to papers/derby-av.md diff --git a/papers/derby-copyright.mdwn b/papers/derby-copyright.md similarity index 100% rename from papers/derby-copyright.mdwn rename to papers/derby-copyright.md diff --git a/papers/derby-helmet.mdwn b/papers/derby-helmet.md similarity index 100% rename from papers/derby-helmet.mdwn rename to papers/derby-helmet.md diff --git a/papers/derby-software.mdwn b/papers/derby-software.md similarity index 100% rename from papers/derby-software.mdwn rename to papers/derby-software.md diff --git a/papers/digimatrix.mdwn b/papers/digimatrix.md similarity index 100% rename from papers/digimatrix.mdwn rename to papers/digimatrix.md diff --git a/papers/dj.mdwn b/papers/dj.md similarity index 100% rename from papers/dj.mdwn rename to papers/dj.md diff --git a/papers/docx.mdwn b/papers/docx.md similarity index 100% rename from papers/docx.mdwn rename to papers/docx.md diff --git a/papers/floss-sucks.mdwn b/papers/floss-sucks.md similarity index 100% rename from papers/floss-sucks.mdwn rename to papers/floss-sucks.md diff --git a/papers/gifts.mdwn b/papers/gifts.md similarity index 100% rename from papers/gifts.mdwn rename to papers/gifts.md diff --git a/papers/html-tutorial.mdwn b/papers/html-tutorial.md similarity index 100% rename from papers/html-tutorial.mdwn rename to papers/html-tutorial.md diff --git a/papers/index.mdwn b/papers/index.md similarity index 100% rename from papers/index.mdwn rename to papers/index.md diff --git a/papers/joke-haiku.mdwn b/papers/joke-haiku.md similarity index 100% rename from papers/joke-haiku.mdwn rename to papers/joke-haiku.md diff --git a/papers/longbets.mdwn b/papers/longbets.md similarity index 100% rename from papers/longbets.mdwn rename to papers/longbets.md diff --git a/papers/monopoly.mdwn b/papers/monopoly.md similarity index 100% rename from papers/monopoly.mdwn rename to papers/monopoly.md diff --git a/papers/php-cgi.mdwn b/papers/php-cgi.md similarity index 100% rename from papers/php-cgi.mdwn rename to papers/php-cgi.md diff --git a/papers/pid1.mdwn b/papers/pid1.md similarity index 100% rename from papers/pid1.mdwn rename to papers/pid1.md diff --git a/papers/plan9.mdwn b/papers/plan9.md similarity index 100% rename from papers/plan9.mdwn rename to papers/plan9.md diff --git a/papers/plan9port.mdwn b/papers/plan9port.md similarity index 100% rename from papers/plan9port.mdwn rename to papers/plan9port.md diff --git a/papers/reply-to-still-harmful.mdwn b/papers/reply-to-still-harmful.md similarity index 100% rename from papers/reply-to-still-harmful.mdwn rename to papers/reply-to-still-harmful.md diff --git a/papers/roff-letters.mdwn b/papers/roff-letters.md similarity index 100% rename from papers/roff-letters.mdwn rename to papers/roff-letters.md diff --git a/papers/runit-as-init.mdwn b/papers/runit-as-init.md similarity index 100% rename from papers/runit-as-init.mdwn rename to papers/runit-as-init.md diff --git a/papers/setup.mdwn b/papers/setup.md similarity index 100% rename from papers/setup.mdwn rename to papers/setup.md diff --git a/papers/sockets.mdwn b/papers/sockets.md similarity index 100% rename from papers/sockets.mdwn rename to papers/sockets.md diff --git a/poems/bagel-girl.mdwn b/poems/bagel-girl.md similarity index 100% rename from poems/bagel-girl.mdwn rename to poems/bagel-girl.md diff --git a/poems/double-dactyl.mdwn b/poems/double-dactyl.md similarity index 100% rename from poems/double-dactyl.mdwn rename to poems/double-dactyl.md diff --git a/poems/ducks.mdwn b/poems/ducks.md similarity index 100% rename from poems/ducks.mdwn rename to poems/ducks.md diff --git a/poems/goat.mdwn b/poems/goat.md similarity index 100% rename from poems/goat.mdwn rename to poems/goat.md diff --git a/poems/goldfish.mdwn b/poems/goldfish.md similarity index 100% rename from poems/goldfish.mdwn rename to poems/goldfish.md diff --git a/poems/index.mdwn b/poems/index.md similarity index 100% rename from poems/index.mdwn rename to poems/index.md diff --git a/poems/lake.mdwn b/poems/lake.md similarity index 100% rename from poems/lake.mdwn rename to poems/lake.md diff --git a/poems/mice.mdwn b/poems/mice.md similarity index 100% rename from poems/mice.mdwn rename to poems/mice.md diff --git a/poems/optimized.mdwn b/poems/optimized.md similarity index 100% rename from poems/optimized.mdwn rename to poems/optimized.md diff --git a/poems/parcc.mdwn b/poems/parcc.md similarity index 100% rename from poems/parcc.mdwn rename to poems/parcc.md diff --git a/poems/poopy.mdwn b/poems/poopy.md similarity index 100% rename from poems/poopy.mdwn rename to poems/poopy.md diff --git a/poems/sap.mdwn b/poems/sap.md similarity index 100% rename from poems/sap.mdwn rename to poems/sap.md diff --git a/poems/snark.mdwn b/poems/snark.md similarity index 100% rename from poems/snark.mdwn rename to poems/snark.md diff --git a/poems/winders.mdwn b/poems/winders.md similarity index 100% rename from poems/winders.mdwn rename to poems/winders.md diff --git a/poems/woozle-irc.mdwn b/poems/woozle-irc.md similarity index 100% rename from poems/woozle-irc.mdwn rename to poems/woozle-irc.md diff --git a/poems/zsf1.mdwn b/poems/zsf1.md similarity index 100% rename from poems/zsf1.mdwn rename to poems/zsf1.md diff --git a/src/9wm/index.mdwn b/src/9wm/index.md similarity index 100% rename from src/9wm/index.mdwn rename to src/9wm/index.md diff --git a/src/dwm/index.mdwn b/src/dwm/index.md similarity index 100% rename from src/dwm/index.mdwn rename to src/dwm/index.md diff --git a/src/eguile/index.mdwn b/src/eguile/index.md similarity index 100% rename from src/eguile/index.mdwn rename to src/eguile/index.md diff --git a/src/eris.mdwn b/src/eris.md similarity index 100% rename from src/eris.mdwn rename to src/eris.md diff --git a/src/escm.mdwn b/src/escm.md similarity index 100% rename from src/escm.mdwn rename to src/escm.md diff --git a/src/firebot.mdwn b/src/firebot.md similarity index 100% rename from src/firebot.mdwn rename to src/firebot.md diff --git a/src/index.mdwn b/src/index.md similarity index 100% rename from src/index.mdwn rename to src/index.md diff --git a/src/ipqueue/index.mdwn b/src/ipqueue/index.md similarity index 100% rename from src/ipqueue/index.mdwn rename to src/ipqueue/index.md diff --git a/src/misc/index.head.mdwn b/src/misc/index.head.md similarity index 100% rename from src/misc/index.head.mdwn rename to src/misc/index.head.md diff --git a/src/postscript/index.head.mdwn b/src/postscript/index.head.md similarity index 100% rename from src/postscript/index.head.mdwn rename to src/postscript/index.head.md diff --git a/src/pysieved.mdwn b/src/pysieved.md similarity index 100% rename from src/pysieved.mdwn rename to src/pysieved.md diff --git a/src/pysieved/index.mdwn b/src/pysieved/index.md similarity index 100% rename from src/pysieved/index.mdwn rename to src/pysieved/index.md diff --git a/src/python/index.head.mdwn b/src/python/index.head.md similarity index 100% rename from src/python/index.head.mdwn rename to src/python/index.head.md diff --git a/src/xss.mdwn b/src/xss.md similarity index 100% rename from src/xss.mdwn rename to src/xss.md diff --git a/tartans/index.mdwn b/tartans/index.md similarity index 100% rename from tartans/index.mdwn rename to tartans/index.md diff --git a/toys/crunt.cgi b/toys/crunt.cgi deleted file mode 100755 index 6db3359..0000000 --- a/toys/crunt.cgi +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh - -cd $(dirname $0) - -randint () { - seq $1 $2 | shuf -n 1 -} - -crunt () { - shuf -n 1 <' - crunts=$(randint 200 500) - babies=$(expr \( $crunts \* 3 \) / 4) - - while [ $crunts -gt 0 ]; do - crunt - crunts=$(expr $crunts - 1) - done - while [ $babies -gt 0 ]; do - echo crunt - babies=$(expr $babies - 1) - done - echo 'CRUNT!' - echo '

' -) | m4 -DTITLE=crunt ../template.m4 - diff --git a/toys/crunt.md b/toys/crunt.md new file mode 100644 index 0000000..b613a15 --- /dev/null +++ b/toys/crunt.md @@ -0,0 +1,31 @@ +Title: crunt + + + +**CRUNT**[!](http://www.subgenius.com/bigfist/bulldada/X0033_RAELIAN.TXT.html) + + \ No newline at end of file diff --git a/toys/fungame.mdwn b/toys/fungame.md similarity index 100% rename from toys/fungame.mdwn rename to toys/fungame.md diff --git a/toys/index.mdwn b/toys/index.md similarity index 100% rename from toys/index.mdwn rename to toys/index.md diff --git a/toys/omg-magic.mdwn b/toys/omg-magic.md similarity index 100% rename from toys/omg-magic.mdwn rename to toys/omg-magic.md diff --git a/toys/reiki.mdwn b/toys/reiki.md similarity index 100% rename from toys/reiki.mdwn rename to toys/reiki.md