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:
Started PUT "/audio_clips/25.json" for 127.0.0.1 at 2013-02-23 23:34:25 -0500 | |
Processing by AudioClipsController#update as JSON | |
Parameters: {"play_count"=>"4", "id"=>"25"} | |
AudioClip Load (0.3ms) SELECT "audio_clips".* FROM "audio_clips" WHERE "audio_clips"."id" = ? LIMIT 1 [["id", "25"]] | |
(0.1ms) begin transaction | |
(0.1ms) commit transaction | |
(0.1ms) begin transaction | |
(0.0ms) commit transaction | |
Completed 200 OK in 91ms (Views: 3.4ms | ActiveRecord: 3.8ms) |
class User < ActiveRecord::Base | |
attr_accessible :email, :facebook_id, :firstname, :lastname, :username, :facebook_username, :photo_url | |
def to_param | |
username | |
end | |
def as_json(options={}) |
ArgumentError (wrong number of arguments (2 for 1)): | |
app/mailers/user_mailer.rb:58:in `reset_password_instructions' |
/* | |
* This is a RGB+W NeoPixel example, see extra-examples.cpp for a version | |
* with more explantory documentation, example routines, how to | |
* hook up your pixels and all of the pixel types that are supported. | |
* | |
*/ | |
/* ======================= includes ================================= */ |
SENT: G29 V4 | |
READ: echo:busy: processing | |
busy: processing | |
SENT: M105 | |
READ: echo:busy: processing | |
busy: processing | |
SENT: M105 | |
READ: echo:busy: processing | |
busy: processing | |
SENT: M105 |
/* ======================= includes ================================= */ | |
#include "blynk/blynk.h" | |
#include "clickButton/clickButton.h" | |
#include "application.h" | |
#include "neopixel/neopixel.h" // use for Build IDE | |
// #include "neopixel.h" // use for local build | |
/* ======================= variables =============================== */ |
const char manual [] = { | |
"commands that can be entered at runtime:\n" | |
"\n" | |
"q<ENTER> - quit\n" | |
"b<ENTER> - toggle binary / HEX-ASCII output\n" | |
"B<ENTER> - toggle binary with gap / HEX-ASCII output (exceeds 80 chars!)\n" | |
"c<ENTER> - toggle color mode\n" | |
"#<ENTER> - notch currently marked/changed bits (can be used repeatedly)\n" | |
"*<ENTER> - clear notched marked\n" | |
"rMYNAME<ENTER> - read settings file (filter/notch)\n" |
#include "blynk/blynk.h" | |
#include "RelayShield/RelayShield.h" | |
#include "clickButton/clickButton.h" | |
SYSTEM_THREAD(ENABLED); | |
RelayShield myRelays; | |
int relayOn(String command); | |
int relayOff(String command); |
#! /usr/bin/env bash | |
# Find out which directories have high disk utilization: | |
sudo du -a -h -d 5 -t 1GB / | |
# Clean up dead and exited containers: | |
docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v | |
# Remove dangling files from docker | |
docker volume ls -qf dangling=true | xargs -r docker volume rm |