Skip to content

Instantly share code, notes, and snippets.

View dpellenwood's full-sized avatar

David Paul Ellenwood dpellenwood

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dpellenwood on github.
  • I am dpellenwood (https://keybase.io/dpellenwood) on keybase.
  • I have a public key ASAczSuJWDYUr8Z3o5lcENwv5hecr8M_rphP2LHOE-NoSQo

To claim this, I am signing this object:

@dpellenwood
dpellenwood / itunes-podcast-categories.json
Last active February 21, 2022 11:48 — forked from codeincontext/itunes-podcast-categories.yml
A list of the current iTunes podcast categories in different formats
[
{
"Arts": [
"Design",
"Fashion & Beauty",
"Food",
"Literature",
"Performing Arts",
"Visual Arts"
]
@dpellenwood
dpellenwood / nginx-try.conf
Last active December 2, 2015 20:25
Try local files
# Proxy uploads from the live server
location ~ ^/wp-content/uploads/(.*) {
try_files $uri @img_proxy;
}
location @img_proxy {
rewrite ^/wp-content/uploads/(.*)$ https://example.com/wp-content/uploads/$1 redirect;
}
@dpellenwood
dpellenwood / imagepull.sh
Created December 1, 2015 20:35
A simple script to pull & save files from a remote HTTP server
#!/bin/bash
# A simple script to pull & save files from a remote HTTP server
# Created by DPE on 11/30/2015
# david@dpedesign.com
IMAGE_URL='http://northernimages.us/cameras/lsmvc2/lsmvc2-800.jpg'
DIR_NAME='lsmvc2'
# Setup Passed Arguments
@dpellenwood
dpellenwood / .gitignore
Last active August 29, 2015 14:13
.gitignore for Auto-Updated WordPress Sites
# WordPress .gitignore
# A collection of items that are common to every WordPress project,
# but don't need to be versioned for auto-updated sites.
#
# Created by DPE (http://dpedesign.com)
# Common OS/system files
*~
.DS_Store
.svn