This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
:D |
source 'http://rubygems.org' | |
gem 'sinatra' | |
gem 'dm' |
<?php | |
class Widget_Name extends WP_Widget { | |
function Widget_Name() { | |
$widget_opts = array( | |
'classname' => 'your-awesome-class', | |
'description' => 'Your awesome Description', | |
); | |
gist |
import dataset | |
class DatasetPipeline(object): | |
def __init__(self, dataset_uri, dataset_table): | |
self.dataset_uri = dataset_uri | |
self.dataset_table = dataset_table | |
@classmethod | |
def from_crawler(cls, crawler): |
<?php | |
// http://johnford.is/programmatically-pull-attachments-from-wordpress-posts/ | |
// http://www.wprecipes.com/how-to-show-wordpress-post-attachments | |
// get all of the images attached to the current post | |
function _get_images($size = 'thumbnail') { | |
global $post; | |
$photos = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); |
SESSION_PAGE="https://streamza.com/api/sessions/_login" | |
COOKIE_FILE="wget-cookies.txt" | |
USERNAME="USERNAME" | |
PASSWORD="PASSWORD" | |
FILE_URL="FILE_TO_DOWNLOAD" | |
if [[ ! -f $COOKIE_FILE ]]; then |