diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d6c0df6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +#Ignore specific things +checkuptimes +conda-freecad-dev.sh +ghostscript_pdf_appender +kompose +loghw.sh +logs/ +pluto +restart_cinnamon_help +sagemath_jupyterlab.sh +semaphores/ +sites_to_check.txt +templog +tikzit/ +update-zoom diff --git a/compiletex b/compiletex new file mode 100755 index 0000000..4bc5c8e --- /dev/null +++ b/compiletex @@ -0,0 +1,19 @@ +#!/bin/bash + +#Remove the .tex extention, it just messes up the bibliography +tex=${1%%\.tex} + +pdflatex $tex +biber $tex +pdflatex $tex +pdflatex $tex +pdflatex $tex + +echo +echo "Removing biliography database \n\t$tex" +rm $tex.bbl + +echo +echo Done +exit 0 + diff --git a/md2html b/md2html new file mode 100755 index 0000000..30a85df --- /dev/null +++ b/md2html @@ -0,0 +1,6 @@ +#!/bin/bash + +file="$1" + +echo ./"${file//'md'/'html'}" +pandoc $file -s --metadata pagetitle="kgjk.icu" -f markdown -t html5 --katex -o ./"${file//'md'/'html'}" diff --git a/mds2htmls b/mds2htmls new file mode 100755 index 0000000..369722d --- /dev/null +++ b/mds2htmls @@ -0,0 +1,22 @@ +#!/bin/bash + + + +for file in $(find md/ -name '*.md') +do + #I should really get some way to create individual page titles + + + + echo ./"${file//'md'/'html'}" + #Explanation of next line + #pandoc renders + # -s #gives a standalone html file + # --metadata pagetitle="EconStuff" # + # -f markdown + # -t html5 --mathjax + # $file + # -o ./"${file//'md'/'html'}" + pandoc $file -s --metadata pagetitle="kgjk.icu" -f markdown -t html5 --katex -o ./"${file//'md'/'html'}" +# pandoc -s --metadata pagetitle="EconStuff" -f markdown -t html5 $file -o ./"${file//'md'/'html'}" --mathjax="/node_modules/mathjax/es5/tex-chtml.js?config=TeX-AMS-MML_HTMLorMML" +done diff --git a/scotty b/scotty new file mode 100755 index 0000000..aa40e38 --- /dev/null +++ b/scotty @@ -0,0 +1 @@ +play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1 diff --git a/tex_spell b/tex_spell new file mode 100755 index 0000000..083230f --- /dev/null +++ b/tex_spell @@ -0,0 +1,3 @@ +#!/bin/bash + +aspell check --mode=tex "$1"