Skip to content

My Snippets

I like hoarding links and I needed somewhere to put them.


Bash
Using Args
Loops
Subsequent Scripts

Optimized RBF Kernel
Euclidean Distance
Group Sum

Deep Learning

PyTorch
Device Handling
Histograms
Interpolation/Biscection
RBF Kernel
Large Scale Kernels
Annotated Loops (tqdm)
Multiple Kernel Matrices
Tensor2Numpy

Good Programming

Testing Packaging
PyTest Test Types setup.py

Scaling

Multiprocessing
Parallel Step

Data Structures

Dictionarys Lists
To List Unpacking List

Earth Science

Geodesic to Cartesian Coords

Visualization

Matplotlib
colorbars
legends
logscale
Nice defaults

Writing

Latex Markdown
PseudoCode Figures
Tables