Code Tricks

Code tricks that range the academic tech stack: From python and pytorch, to git and latex.

Haiku Merge Params

Auto-Format Python Code on Save

3-D Indexing with PyTorch

Pretty-print pandas in notebooks!

Build a DefaultDict from a dict.

Fix "too many values" for seaborn.

Fix "too many files" for bash.

Git on a server

Readable File/Folder Sizes

Number of Batches

Compile a latex file with a bibliography.