This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
$s3 = Aws\S3\S3Client::factory($config); | |
$s3->registerStreamWrapper(); | |
$url = 's3://{$bucket}/{$key}'; | |
// Read CSV with fopen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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) | |
* |