Using Namecheap’s Free SSL with Nginx

November 21st, 2009 6 comments »

Most of my domains are registered with Namecheap, and powered by Nginx. The site you are viewing now is one such example. Currently with Namecheap, domain registrations, hosting, transfers and WhoIS protection come with a free PositiveSSL subscription. This section will show you how to generate a certificate request with OpenSSL and how to install the provided certificate into Nginx.

Handling wildcard subdomains with PHP

November 5th, 2009 No comments »

Subdomains can be a very handy way to make your urls more friendly looking. They can also be incredibly useful for membership driven websites to allow members to have their own custom subdomain. But how do make manage dynamic subdomains with PHP? This article shows you how.

Nginx and Django

September 14th, 2009 1 comment »

In a previous guide I showed how to use Passenger (aka mod_rails) to work with Python (WSGI) scripts. While this proved effective for simple wsgi applications, a framework such as Django required a bit more love. This guide will walk you through getting Django to work with Nginx and Passenger.

Using Python with Nginx via Passenger

September 14th, 2009 5 comments »

Since Nginx 0.6.* I been looking for an effective way to run Python (WSGI) applications thru the Nginx Webserver. The best solution thus far for up to Nginx 0.8.* was in an unexpected utility designed for deploying Ruby applications on Apache and Nginx.

Updated: November 21st 2009
– Comment from Hongli Lai, Co-founder of Phusion
– Information from Graham Dumpleton, creator of mod_wsgi for Apache

Scraping Google Front Page Results

August 25th, 2009 6 comments »

In this article I’ll show you how you can use cURL and simple_html_dom functionality to scrap the basic content from the front page results of google provided with a search query.

Four free Geolocation Methods

August 22nd, 2009 No comments »

Geolocation or Geo-Targeting is a method of identifying a visitor’s location in the world. You can use this information for anything as simple as greeting a visitor in their native language to automatically redirecting visitors to valid affiliate offers for the visiting demographic. This article takes a look at four different services that offer geolocation for free.

AJAX with JQuery

August 22nd, 2009 No comments »

AJAX stands for Asynchronous Javascript and XML, though most people would associate the term with dynamic loading of content without refreshing the browser. I notice that even today a lot of people starting out with AJAX still use the XMLHttpRequest object from scratch that has been around forever. Learn a faster and easier way with JQuery.

Paypal IPN with PhP

August 19th, 2009 No comments »

If you’re a freelance coder you most likely have a PayPal account. One of the most useful feature provided by PayPal for anyone looking to automate their ordering process is the Instant Payment Notification. This guide will show you how to utilize IPN with a PayPal ‘Buy Now’ button and PHP. Additional tips to further secure your ordering process are also discussed.