Batch Resize Photos with Image Magic

Batch Resize Photos with Image Magic

I’m currently working on migrating a large publishing website form Drupal to WordPress and one of the things that occurred to me was that WordPress generates 3 sizes for each image that’s uploaded into Media Library. However, our Drupal website only contains a single image. To make the media library work nicely in WordPress we’ve […]

Read More

Bandwidth throttling on OS X

I’ve been using Charles HTTTP Proxy for bandwidth throttling and network monitoring in general. It’s a great little tool, but when it comes to bandwidth throttling, it will only throttle HTTP and HTTPS traffic on ports 80 and 443 respectively. I thought there had to be a way to throttle bandwidth on any port using […]

Read More

bash script useful tips

I’ve spent last 2 days scripting virtual server deployment on Amazon cloud. For my reference, these are some useful commands I had to use to get the job done. 1. Hash “Hello World” string using SHA256 algorithm echo -n "Hello World" | shasum -a 256 You can also hash a file shasum -a 256 myfile.ext […]

Read More