I hereby claim:
- I am t-richards on github.
- I am trichards (https://keybase.io/trichards) on keybase.
- I have a public key whose fingerprint is 4B94 E32A 6B31 08B5 6F1C 5E9A 0E21 58D9 187E F7AF
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
require 'pathname' | |
require 'tempfile' | |
def ffmpeg(*args) | |
system('ffmpeg', *args) | |
end |
/* ==UserStyle== | |
@name Square Corners | |
@namespace github.com/openstyles/stylus | |
@version 1.0.8 | |
@license unlicense | |
@preprocessor default | |
==/UserStyle== */ | |
/** | |
* Source: https://gist.github.com/t-richards/aa3239fe1f6b97d64c4153460eab42e1 |
#!/usr/bin/env bash | |
if [ $# -eq 0 ] | |
then | |
echo "Usage: crush <pngfile(s)>" | |
exit | |
fi | |
for img in "$@" | |
do | |
pngcrush -force -rem allb -reduce -brute "$img" "${img%*.}crush.png" |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
if [ $# -eq 0 ] | |
then | |
echo "Usage: optim <jpegfile(s)>" | |
exit | |
fi | |
for img in "$@" | |
do | |
jpegoptim -f --strip-all "$img" |