Dylan Barlett

Main menu

Skip to content
  • About
  • Work

Cross-Domain AJAX Requests to Amazon S3 with CORS or JSONP

August 20, 2013

Since Amazon S3 supports CORS, you can make AJAX calls to a bucket from any domain. This example loads an alert message and conditionally updates the DOM, but the configuration is the same for any GET request (I haven’t played … Continue reading →

Posted in Software | Reply

Removing the Favicon in a Genesis Framework Child Theme

July 25, 2013

As of v.2.0-RC1, Genesis Framework child themes search for a favicon in the child theme images folder and fall back to the Genesis favicon if none is present. I’m working on a theme that calls a multi-resolution favicon from a … Continue reading →

Posted in Software, Uncategorized, WordPress

Northern Virginia National Day of Civic Hacking

June 2, 2013

I won third place at the Northern Virginia National Day of Civic Hacking, held over the past two days at the National Science Foundation in Arlington, for an automated data cleansing pipeline to address the Institute of Museum and Library Services … Continue reading →

Posted in Python, Software | Reply

Imgur Random Image Redirector

May 9, 2013

I’ve released the source of my Imgur random image redirector under the GPLv2. I wrote it for a friend who wanted to show random images in forum signatures, where only a URL is allowed (no JS or PHP). It can … Continue reading →

Posted in Python, Software | Reply

Using Apache Environment Variables for WordPress MySQL Parameters

November 12, 2012

MySQL connection parameters belong in environment variables, not source code. On Amazon Linux (CentOS), the apache user has no home directory, so there’s no .profile to set them. Workaround: use Apache environment variables. Step 1: create /etc/httpd/conf.d/wp_mysql.conf and set the … Continue reading →

Posted in Software | Reply

Post navigation

← Older posts
Newer posts →
Powered by WordPress and Foghorn