I hereby claim:
- I am terryburton on github.
- I am tez (https://keybase.io/tez) on keybase.
- I have a public key whose fingerprint is 3E9C 9D19 0755 6BF3 4AB6 0F65 26F4 C4DF AB21 9358
To claim this, I am signing this object:
#!/usr/bin/env runhaskell | |
import Text.Pandoc.JSON | |
import Data.Char | |
main = toJSONFilter rewritewikilinks | |
rewritewikilinks :: Inline -> [Inline] | |
rewritewikilinks ( Link txt ('#':url,title) ) = [ ( Link txt ("#"++url,title) ) ] | |
rewritewikilinks ( Link txt ('h':'t':'t':'p':':':url,title) ) = [ ( Link txt ("http:"++url,title) ) ] |
#!/usr/bin/env runhaskell | |
import Text.Pandoc.JSON | |
import System.FilePath | |
main = toJSONFilter rewritepngtoeps | |
rewritepngtoeps :: Inline -> [Inline] | |
rewritepngtoeps ( Image txt (url,title) ) = [ ( Image txt (rewritefile url,title) ) ] | |
rewritepngtoeps x = [x] |
PANDOC_DIR = __pandoc | |
PANDOC_TEMPLATE_LATEX = $(PANDOC_DIR)/templates/template.latex | |
EPS_IMAGES = $(wildcard images/*.eps) | |
PDF_DOCS = $(PANDOC_DIR)/barcodewriter.pdf | |
define MD_FILES = | |
../README.md \ | |
kb/Quick-Guide.md \ | |
../src/README.monolithic \ | |
../src/README.resource \ |
cd wikidocs | |
make -f __pandoc/Makefile | |
cp __pandoc/barcodewriter.pdf ../docs |
wikidocs | |
│ | |
│ (Documentation build system) | |
│ | |
├── __pandoc | |
│ │ | |
│ ├── Makefile ① | |
│ │ | |
│ │ (Symlink to wiki images directory) | |
│ │ |
pandoc | |
--from=markdown_github | |
--to=latex | |
--filter __pandoc/__rewritewikilinks.hs ② | |
--filter __pandoc/__rewritepngtoeps.hs ③ | |
-M title="Barcode Writer in Pure PostScript" | |
-M author="http://bwipp.terryburton.co.uk" |
#! /bin/sh | |
# gen_domains.sh output_dir | |
# | |
# Script to generate sorted lists of rendezvous domains used by the | |
# conficker.{a,b,c} worm. | |
# | |
# Requires: | |
# | |
# Downatool2 - http://net.cs.uni-bonn.de/wg/cs/applications/containing-conficker/ |
#!/usr/bin/perl -Tw | |
# build_iptables.pl domain_list [ domain_list... ] | |
# | |
# Create a firewall ruleset in iptables-restore format to create a layer 4 DNS | |
# proxy using NAT that filters domains from given lists. | |
# In this example: | |
# - 123.123.123.158 is the proxy address. | |
# - 123.123.123.{152,154,156} are the real DNS resolvers. |
#! /bin/sh | |
# load_iptables.sh | |
# | |
# Script that uses build_iptables.pl to create a ruleset from files for the | |
# next two days then load it with iptables-restore. | |
# Copyright (c) 2009 Terry Burton | |
# | |
# http://www.terryburton.co.uk |
I hereby claim:
To claim this, I am signing this object: