Skip to content

Instantly share code, notes, and snippets.

View chrisguitarguy's full-sized avatar

Christopher Davis chrisguitarguy

View GitHub Profile
require __DIR__ . '/vendor/autoload.php';
$s3 = Aws\S3\S3Client::factory($config);
$url = 's3://{$bucket}/{$key}';
// Read CSV with fopen
#!/usr/bin/env python
Download PyCon US 2012 videos in a multithreaded way.
Requirement: youtube-dl script.
written by Jabba Laci, 2013 (
PyCon US 2012 videos:
chrisguitarguy / current_admin_info.php
Created September 14, 2012 03:37 — forked from franz-josef-kaiser/current_admin_info.php
Collect & display data from current admin screens contextual hooks and from which hook on some globals are available.
! defined( 'ABSPATH' ) AND exit;
* Plugin Name: Current admin screen info
* Description: Show information about contextual hooks and availability of globals in the admin UI.
* Version: 2012-09-13.0317
* Author: Franz Josef Kaiser <>
* Author URI:
* License: The MIT License (MIT)