Using Swipes in MacVIM in OS X

August 24th, 2011

This tutorial will allow you to use the OS X “Swipe” (three finger drag) features in your MacVIM. In this example, I use it to move between buffers.

PHP Method Chaining

August 24th, 2011

How to chain class methods in PHP, allowing for a more verbose way to pass information into your objects.

Installing VIM Tagbar with MacVIM in OS X

August 24th, 2011

Explains how to compile and install Tagbar under OS X.

Simple PHP Namespace Friendly Autoloader Class

August 23rd, 2011

This is a namespace-aware PHP 5.3+ autoloading class. Never use include()’s again!

Scheduling a daily Cron task in Debian to check external IP

July 31st, 2011

Build a cron task in debian to check your public IP. Great for hosting local websites.

Enabling Terminal Background Blur in OS X Lion

July 24th, 2011

Background blur in OS X terminals is sexy. Follow this tutorial to get it running on your machine.

Fixing Apache (Web Sharing) in OS X Snow Leopard to Tiger Update

July 23rd, 2011

This will get your Web Sharing in OS X working properly if you update from Snow Leopard to Tiger.

Building Custom OS X Dashboard Widgets

July 13th, 2011

This is a comprehensive tutorial on building OS X Dashboard Widgets, without the use of Xcode.

How to login via SSH Without a Password

June 6th, 2011

SSH is the defacto way for working on remote servers. But, isn’t it annoying to always enter your password? Follow this tutorial to generate and enable a certificate.

How to copy an entire folder in Linux

June 4th, 2011

The command for copying entire folders under Linux.

Google Music Manager: Only two accounts can be used per computer

June 1st, 2011

This explains the limitations of Google Music Manager, and why it may not work on your computer.

Simple PHP MySQL Script

May 28th, 2011

This is a very simple PHP script for working with MySQL databases. I first wrote it back in 2005.

Ceasing all Client Web Development

April 4th, 2011

From now on, Renowned Media is only building web apps, no more websites for clients.

Enabling Anti-Aliasing in the NetBeans Editor

March 26th, 2011

Recently, I’ve begun playing with the idea of using Linux on my development machine. I’ve used several distro’s before, but that time I wanted something a little more slim. I liked the look of Crunchbang Linux right out of the box. It comes with OpenBox (a lightweight BlackBox/FluxBox type window manager which I had used [...]

Submitting Multi-Dimensional Array Data to PHP

March 19th, 2011

This article is regarding an under-documented PHP feature when dealing with form data received from an HTML page (this works with both GET and POST data). If you name your HTML elements the proper way, you are able to send multidimensional arrays (or single dimension arrays for that matter) to your PHP script and access [...]

NeoInvoice to be presented at Refresh Detroit

March 1st, 2011

We will be presenting NeoInvoice at Refresh Detroit on March 24th! If you are in the area swing on by and catch the presentation. This presentation will be a quick overview of all aspects of the application, including the recently added features. We will be giving out a free agency account coupon code for all [...]

CodeIgniter 2 vs Kohana 3

February 28th, 2011

We’ve been doing more research into different PHP frameworks. We’ve been using CodeIgniter for a few projects recently (e.g. NeoInvoice, StockPyle, ObsceneArt 2.0 (WIP), Squirrelify, and a Martial Arts school software), but are starting to feel the limitations. CodeIgniter makes development a breeze. There is a common method for loading external resources, connecting to databases, [...]

lighttpd configuration to redirect subdomains

February 27th, 2011

For our NeoInvoice project, all requests to the server’s sub-domains are sent right to the main server. This means someone can go to www.neoinvoice.com, ex1.neoinvoice.com, etc. Search engines don’t like to see duplicate content on web servers, cookies being saved on one sub-domain aren’t accessible to another, there are all sorts of problems with this. [...]

MySQL REPLACE vs INSERT ON DUPLICATE KEY UPDATE

February 26th, 2011

Recently, while working on ObsceneArt, we had the need to quickly either insert new data into a database, or update an existing record, specifically used for the rating system. For example, when a user would rate a quote, they might have already rated it once and would like to change their mind, or they would [...]

Apache2 Outperforming lighttpd 1.5

February 8th, 2011

Here’s an output of top on my VPS running Ubuntu 10.04. The first output is while a server was running Apache2 (and lighttpd on a secondary port). The Apache2 instances were under heavy stress testing at the time, and their total CPU was 30.2%. In the second output, lighttpd had taken over as the main [...]