Will Harris


Three personal repositories I maintain

  1. My dotfiles, such as my neovim config and my IPython startup scripts.

    IPython startup scripts are run when opening a new IPython kernel. Being a data scientist and a heavy Jupyter notebooks user, having Numpy, Pandas, and other common libraries auto-imported saves me having to type the same lines at the top of every notebook. Furthermore, Pandas and matplotlib can be configued to use default styles when displaying a dataframe or a figure. I also configue automatic code formatting using jupyter-black.

    image alt text

    Auto-imports, figure styling, and code formatting.

    To allow the dotfiles to be managed under version control in a central location, they are referenced via symlinks, e.g.:

# note - absolute paths must be used
ln -s /path/to/dotfiles_repo/.zshrc /Users/notwilliam/.zshrc
  1. A CLI cheatsheet of frequently used, but forgettable, commands. For example, resursively getting rid of .DS_STORE files on Mac, or converting a video file to an mp3.
  2. Useful scripts and code snippets. Sometimes it’s useful to carry around custom scripts or code snippets. For example, I keep a script for cropping images to content in python, either for direct use or to include in larger data processing workflows. While there are tools that do this already, it can be done easily with Numpy without having to pull in extra dependencies.