Skip to content

Instantly share code, notes, and snippets.

View longwave's full-sized avatar

Dave Long longwave

  • Nottingham, UK
View GitHub Profile
### Keybase proof
I hereby claim:
* I am longwave on github.
* I am longwave (https://keybase.io/longwave) on keybase.
* I have a public key whose fingerprint is A571 3E56 27D3 904F 4EDF 64BC 4F7C CA9E 9D7E 5C20
To claim this, I am signing this object:
@longwave
longwave / optimize-pngs.sh
Created March 11, 2014 10:14
Optimize PNG files in place, with pngcrush and optipng
#!/bin/sh
for i in `find . -name "*.png"`; do
pngcrush -e .png2 -rem allb -brute -reduce $i
mv ${i}2 $i
optipng -o7 $i
done