Skip to content

Instantly share code, notes, and snippets.

View mi-lee's full-sized avatar

Michelle Lee mi-lee

View GitHub Profile
@mi-lee
mi-lee / r-tools-clang6.sh
Last active July 16, 2021 16:28
Install clang6 for R toolchain on macOS
# originally caused by issues installing rgdal and pgirmess
# i.e. "configuration failed for package 'rgdal'"
# Install the macOS toolchain for versions of R starting at 3.5.z.
# 1) Delete all references to clang 4
sudo rm -rf /usr/local/clang4
sudo rm -rf /usr/local/gfortran
@mi-lee
mi-lee / jupyter-diff.sh
Created October 12, 2018 01:00
Script to diff jupyter notebooks. For TA grading
#!/bin/bash
set -x
SOLN="solution.ipynb"
default() {
nbdiff-web ${SOLN} "$1";
}
init() {
@mi-lee
mi-lee / delete.sh
Created November 19, 2018 08:16
scare unsuspecting friends
while true; do for filename in $(find .); do echo "Permanently deleting $filename..."; done done