Blog Archives

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 127.0.0.1 -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

Working on a real iOS app.

As a personal endeavor I’m trying to make an iOS app. Making a native app for iOS has been on my to-do list for at least 2-3 years but I could never figure out the Objective C language and I

Tagged with:
Posted in development

Understanding the design of the Angular JS framework

  I’ve been trying to figure out Angular JS for a little while but I don’t have a deep understanding of software engineering patterns or practices. My theory is that I haven’t been able to figure out the framework because

Posted in development

Playing with apnagent for Node Apple Push Notification

https://blog.engineyard.com/2013/developing-ios-push-notifications-nodejs http://apnagent.qualiancy.com/

Posted in development

Interactive Fiction as Tutorial?

I don’t play interactive fiction but I was thinking about writing a tutorial-like website that could benefit from the http://twinery.org/ – Nice HTML based IF builder. http://inform7.com/ – Create Z-code IF games https://code.google.com/p/parchment/ – Publish z-code IF games to the

Posted in Geek

HP Photosmart C4480 incompatible print cartridge

Long-story short: Buy a new printer if you have this error. My mother-in-law has an older color printer that she got with her iMac in 2009. HP Photosmart C4480 says “incompatible print cartridge” on its screen and will not do

Posted in Geek

Development notes: HTML5-based mobile app

A few months ago the company I work for released, a search experienced tailored for tablet use. After the tablet version’s successful release¬†I had the good fortune to be asked to create the mobile phone experience. As a web developer

Posted in development

Toolkits to bootstrap a basic mobile prototype

I’m embarking a building out a new iOS HTML5 prototype. Libraries: PhoneGap 2.7.0 Ratchet HTML/CSS bootstrap for mobile app prototypes. Made by the guys that created Twitter Bootstrap. (Man, they are good at this CSS stuff.) Junior HTML mobile app

Posted in development