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

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

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

Google Universal Analytics happy and sad

Google recently release Universal Analytics. It requires some code changes but I think the new developer interface is going to be quite a bit more usable. https://developers.google.com/analytics/devguides/collection/analyticsjs/ Happy New API – The best change I see (in the first 10

Posted in development

undefined is not a function when Dynamically loading Google Maps API v3

Long story short: Don’t be fancy when you dynamically inject your Google API script call into the DOM. Inject it to the BODY of your document using plain javascript. I was struggling mightily with getting the Google Maps API to

Posted in development

My boilerplate setup for WordPress

When setting up a WordPress site, these are the first plugins that I install on every project. Google Analyticator Google XML sitemaps – for SEO Social (by MailChimp) – to cross post into Twitter & Facebook Google Adsense PLugin (by

Posted in development