Apache and Node.js on the same Ubuntu Server

Background I’ve been pretty excited to pick up nodejs for awhile now and I sat down today to get the ball rolling. I’ve installed node before and ran the basic ‘hello world’ example at work so I wanted to get right into it. Since I was anxious to at least get something out there on hour zero so I jumped straight into Heroku and created an app. While the process worked great and I got something up I was so excited about node that I committed to picking it up and putting own server....

November 10, 2013 · David Schreck

Apache mod_rewrite and Short Urls - What you really want to know.

I recently opened up an old .htaccess and I was struck with the memory of how much it sucked trying to Google search for some real, working, answers on making short urls. So here you go, my quick tip on what you really want to know about mod_rewrite. If you want an actual explanation of what is going on here it’s at the bottom. Rewrite Conditions # File: .htaccess # File Location: / RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !...

January 9, 2009 · David Schreck

EAV Modeling with PHP & MySQL

Entity-Attribute-Value (EAV) modeling is a way to store data in a flexible way. This article describes how to implement EAV in PHP and MySQL.

August 28, 2008 · David Schreck