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:
| // By Type | |
| // Go playground https://play.golang.org/p/lJOCJAq8WL | |
| package main | |
| import "fmt" | |
| type ErrorX struct{} | |
| func (e *ErrorX) Error() string { | |
| return "It's error X" |
| // ==UserScript== | |
| // @name Aynen Filter | |
| // @namespace | |
| // @description Replaces Aynen | |
| // @include * | |
| // @match *://*/* | |
| // ==/UserScript== | |
| document.body.addEventListener("DOMSubtreeModified", change, false); | |
| change(); |
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
| package main | |
| import ( | |
| "fmt" | |
| "runtime" | |
| "time" | |
| ) | |
| type Foo struct { | |
| name string |
| jQuery(document).ready(function($){ | |
| // Read URL and determine if it contains "free" | |
| if(window.location.href.indexOf("free") > -1 ) { | |
| // If it does, filter the list | |
| $.filtrify("patterns-list", "filter", { | |
| close : true, // let's not have any drop downs open | |
| query : { | |
| "cost" : ["free"] // pre-set the filter to only show free patterns | |
| }, |
| #!/bin/bash | |
| # This script translates some SIPS (scriptable image processing system) commands to ImageMagick. | |
| # http://www.unix.com/man-page/all/1/sips | |
| input="" | |
| output="" | |
| convertoption="" | |
| while : | |
| do |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
| # ipak function: install and load multiple R packages. | |
| # check to see if packages are installed. Install them if they are not, then load them into the R session. | |
| ipak <- function(pkg){ | |
| new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] | |
| if (length(new.pkg)) | |
| install.packages(new.pkg, dependencies = TRUE) | |
| sapply(pkg, require, character.only = TRUE) | |
| } |
| ############################################################################### | |
| # Author: @BrockTibert | |
| # Purpose: Collect Historical NHL Skater Stats 1960 - 2011 (in progress) | |
| # Date: February 2011 | |
| # | |
| # Used: R Version 2.12.1, Windows 7 Pro, StatET Plugin for Eclipse | |
| # | |
| # # Copyright (c) 2011, under the Simplified BSD License. | |
| # For more information on FreeBSD see: http://www.opensource.org/licenses/bsd-license.php | |
| # All rights reserved. |