ORCID iD icon

My github page
timescalecalculus on GitHub
Arithmetical functions in Python
$\LaTeX$ stuff
To add Mathjax to webpages -- put inside <head>:
<script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['\$','\$'], ["\\(","\\)"] ], processEscapes: true } }); </script> <script type="text/javascript" src=""> </script>
Excel junk
Webwork stuff
add course:
addcourse --users=FILE COURSEID
export course: (tables: user, password, permission, key, set, problem, set_user, problem_user)
wwdb COURSEID export filename [tables]
import into course:
wwdb COURSEID import filename
Linux stuff
Concatenate images file1 file2 ... filen to new image filename:
convert file1 file2 ... filen -append filename
Shrink scanned pdf:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Remote mount a folder:
Unmount remote folder:
fusermount -u LOCAL_MOUNT_POINT
If remote mounted folder freezes, run the following and then unmount:
killall -9 sshfs
Convert flac to mp3:
ffmpeg -i input.flac -ab 196k -ac 2 -ar 48000 output.mp3
To halt a process, detach from shell, and run in background
ctrl+z to pause disown -h %1 bg 1
autossh command
autossh -M 20000 -f -N -R 19999:localhost:22 -C
To generate a video file from png's labelled 0000.png 0001.png, etc
ffmpeg -f image2 -i %04d.png -vb 20M FILENAME.mpg
Mathematica stuff
Mathematica code for domain colorings
ComplexGraph[f_, {xmin_, xmax_}, {ymin_, ymax_}, opts : OptionsPattern[]] := RegionPlot[True, {x, xmin, xmax}, {y, ymin, ymax}, opts, PlotPoints -> 200, ColorFunctionScaling -> False, ColorFunction -> Function[{x, y}, With[{ff = f[x + I y]}, ColorConvert[ Hue[(2. Pi)^-1 Mod[Arg[ff], 2 Pi], 1, 1 - (1.2 + 10 Log[Abs[ff] + 1])^-1], "LAB"]]]]
Plotting an animated gif:
R[x_, N_] := Sum[Sin[k^2*x]/k^2, {k, 1, N}] plotme = Table[ Plot[R[x, N], {x, -5, 5}, PlotLegends -> Placed[StringJoin["N=", ToString[N]], Bottom], PlotRange -> {-1.5, 1.5}, PlotStyle -> Thickness[0.001]], {N, 1, 25, 1}]; Export["riemannfunction.gif", plotme, "FrameRate" -> 0.5, ImageSize -> {1000, 1000}]

GPF conjecture
cycle finder
GPF graph creator (Mathematica notebook)
GPF graph creator (Python+SAGE)
various GPF conjecture stuff (mathematica notebook)