SpeedCrunch “Plugin”: Currency Converter

Cats: bash, linux, php

SpeedCrunch is an awesome calculator. Good history, variables and realtime calculations. Missing was currency conversion, which is available in other calculators. I was trying to find plugins for it but no go. So the strategy here is to use an … Continued

PHP GD Auto Crop Image – Four Sides w/ Threshold

Cats: php

I don’t know why you can’t set the threshold for the four sides filter (IMG_CROP_SIDES) in PHP’s imagecropauto so here’s how to do it manually using the IMG_CROP_THRESHOLD filter instead.