Skip to content

Instantly share code, notes, and snippets.

View chrisguitarguy's full-sized avatar

Christopher Davis chrisguitarguy

View GitHub Profile
<?php
require __DIR__ . '/vendor/autoload.php';
$s3 = Aws\S3\S3Client::factory($config);
$s3->registerStreamWrapper();
$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 (jabba.laci@gmail.com)
http://pythonadventures.wordpress.com/
PyCon US 2012 videos: http://pyvideo.org/category/17
@chrisguitarguy
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.
<?php
! 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 <wecodemore@gmail.com>
* Author URI: http://unserkaiser.com
* License: The MIT License (MIT)
*