Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Graham graham768

View GitHub Profile
@graham768
graham768 / black.css
Created Feb 4, 2019
Slack Dark Mode - previously hosted on rawgit, which is shutting down in October
View black.css
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@graham768
graham768 / lut_to_haldclut.sh
Created Mar 9, 2018
Converts an entire directory of LUT files into HaldCLUT using G'MIC
View lut_to_haldclut.sh
#1/bin/bash
# run this script in the directory containing your luts
for file in *
do
gmic -input_cube "$file" -r 64,64,64,3,3 -r 512,512,1,3,-1 -o "$file".png
done