Tinfoil-hat.net
A secure home for every tinfoil-hat
:: Tinfoil-hat.net - A secure home for every tinfoil-hat
Start
Computer Science
Public Hosting
Anonymity
Hacktivism
Conspiracy Theories
Posts Overview

#!/bin/bash

if [[ $# -eq 0 ]] ; then echo “Usage: ”; echo “or: ”; echo “possible categories:” echo “$(ls –color public/ | grep -v style.css |grep -v index.html)”; exit 0; fi

pandoc –to=html –from=markdown -o ../tmp/tmp.html “$1”; cat ../src/header.html ../tmp/tmp.html ../src/footer.html > ../public/posts/$2;

if [ “$#” -ne 3 ] then echo “file public/posts/$2 successfully created”; else mv ../public/posts/$2 ../public/$3/$2; echo “successfully created time public/$3/$2”;

fi

exit 0


GPG-Fingerprint: F1AB 723C 635B 792F E18A EED8 6259 5B76 EE31 15F2 ·

Git Repo ·
IRC #uugrn tinfoil-hat ·
chrissly90@jabber.nchristian.net ·
Mail: mail@tinfoil-hat.net ·
Legal