Skip to content

Instantly share code, notes, and snippets.

View graham768's full-sized avatar

Ben Graham graham768

View GitHub Profile
@graham768
graham768 / black.css
Created February 4, 2019 22:13
Slack Dark Mode - previously hosted on rawgit, which is shutting down in October
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 March 9, 2018 19:20
Converts an entire directory of LUT files into HaldCLUT using G'MIC
#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