Skip to content

Instantly share code, notes, and snippets.

View alwilliams2433's full-sized avatar

alwilliams2433

View GitHub Profile
@alwilliams2433
alwilliams2433 / grep.sh
Created June 6, 2021 17:06 — forked from isyufu/grep.sh
grep cheat sheet
#!/bin/sh
#http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/
# GENERAL
# print lines begining with range of letters
grep ^[A-D] table.txt
# REGEX
@alwilliams2433
alwilliams2433 / plot_roc.py
Created September 3, 2017 16:26 — forked from code-of-kpp/plot_roc.py
Python pyplot receiver operating characteristic (ROC) curve with colorbar
import numbers
import six
import numpy
import matplotlib.collections
from matplotlib import pyplot
# using example from
# http://nbviewer.ipython.org/github/dpsanders/matplotlib-examples/blob/master/colorline.ipynb