Yearly Archives: 2014

Limit number of php-cgi processes spawned by nginx

Here’s how to Mine was around here somewhere. File was here sudo nano /usr/bin/php-fastcgi Original file looked something like this. #!/bin/bash /usr/bin/spawn-fcgi -a -p 10005 -u www-data -g www-data -f /usr/bin/php-cgi Added -C argument to enforce a limit. #!/bin/bash

Posted in development

HTML Email: Image height is 1px high for Gmail in IE10

Lately I have had to redo some of the HTML emails. We had an outside contractor do most of the work and he did a fantastic job. However, I was noticing that under a very specific condition, the email images

Posted in development

Delete old iOS backups to reclaim disk space

Just yesterday Apple released a critical patch that fixes a major security flaw. That Mac OS update required 3GB free on my machine. ┬áThat’s trouble! I have an older MacBook Air with a 128GB hard drive so I’ve been hovering

Posted in Geek