Cutfromthenorth - cutfromthenorth.com - Cut from the North

Latest News:

Set age restrictions on Facebook apps with the Graph API 8 Aug 2011 | 06:33 am

This one drove me nuts. Facebook allows developers to restrict applications based on a user’s age and location. This was a pretty important requirement for a recent alcohol brand application we were d...

Configuring GoDaddy SSL Certificates on Nginx 10 Jun 2011 | 09:07 am

There are a number of articles out there on how to install security certificates from GoDaddy on an Nginx server, but the GoDaddy process seems to have changed since those articles were published, so ...

Placing “moov atom” at the beginning of an MPEG-4 video with FFMpeg 29 Apr 2011 | 02:10 am

According to Atomic Parsley’s article on media meta data, MPEG-4 files consist of atoms (or boxes). One of these important atoms is called the moov atom, and this moov atom contains mdat data which is...

Set far-future expires headers with Rackspace Cloud Files (sort of) 19 Apr 2011 | 05:47 am

To keep parity with existing relationships, a client has required that we work with Cloud Files instead of Amazon’s CloudFront. There seems to be quite a bit of confusion about which offering actually...

Speed up image extraction with ffmpeg 18 Apr 2011 | 08:18 am

A product requirement for a media management application I am building is to automatically extract a user-defined number of images from an uploaded video file. The user can request for up to 20 images...

Save page output as HTML with CakePHP 15 Apr 2011 | 01:55 pm

I’m currently working on a project that requires storing dynamically generated HTML files on a CDN. Without getting too far off topic, I need to dynamically create an HTML page with database data and ...

Setting layout in error pages based on Auth status with CakePHP 25 Mar 2011 | 07:03 am

CakePHP error pages load within the default layout. This works most of the time, but for some applications, I have a different layout file for logged in users. For example, the navigation changes when...

Remove SVN folders from projects in Windows 25 Mar 2011 | 04:18 am

This is a huge time-saver — big thanks to Hacktrix.com for this one! I keep version-controlled directories of code snippets, plugins, components, classes, etc.  Problem is that when I go to paste in ...

Password protect folders with NGINX 19 Mar 2011 | 02:20 pm

As a follow up to the earlier post regarding unexplained NGINX 404 errors as a condition of a poorly written location block, I thought it might be worth sharing another bad bit of code I have seen in ...

NGINX 404 errors 19 Mar 2011 | 01:57 pm

Somewhere out in the wild there’s an NGINX config file that a lot of people are copying (ourselves included though we don’t remember where we found it!), and it’s likely causing some hard to track dow...

Recently parsed news:

Recent searches: