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:
// Amazon で使った金額の合計を出す奴 | |
// | |
// 使い方: | |
// 1. 全部コピーする (右上の Raw をクリックした先でやるのが楽) | |
// 2. Amazon の注文履歴ページ ( https://www.amazon.co.jp/gp/css/order-history/ ) を開く | |
// 3. F12 または 右クリ→要素の検証 とかで出てくる開発者ツールのコンソール (JavaScript REPL) にペースト | |
// 4. エンターで実行 | |
// (Firefox はなんか allow pasting とタイプしろみたいなことを言われるので従う) | |
// 5. しばらく待つと alert で合計金額を表示 | |
// |
" A minimal vimrc for new vim users to start with. | |
" | |
" Referenced here: http://www.benorenstein.com/blog/your-first-vimrc-should-be-nearly-empty/ | |
" Original Author: Bram Moolenaar <[email protected]> | |
" Made more minimal by: Ben Orenstein | |
" Last change: 2012 Jan 20 | |
" | |
" To use it, copy it to | |
" for Unix and OS/2: ~/.vimrc |
def try_something | |
nyan | |
rescue | |
wan rescue piyo | |
end |
#!/bin/bash | |
set -e | |
# Usage: | |
# rsync_parallel.sh [--parallel=N] [rsync args...] | |
# | |
# Options: | |
# --parallel=N Use N parallel processes for transfer. Defaults to 10. | |
# | |
# Notes: |
Consumer key: WfEZ02WzcqZMvs4HJMZLA
Consumer secret: 69zIxwA9KSuY4IDYRT2Bfk1rq62Nq1csspXOfSRKhg
Consumer key: Eb8hyAEUju1f2g0i2iSwTQ
Consumer secret: lOBgiyGJcYK4jsUc2It38ORlsJC0a60USShZrosMTlw
Consumer key: 7S2l5rQTuFCj4YJpF7xuTQ
Consumer secret: L9VHCXMKBPb2eWjvRvQTOEmOyGlH4W50getaQJPya4
#!/usr/bin/env ruby | |
require 'thor' | |
class Command < Thor | |
class Example < Thor | |
::Command.register(self, :example, 'example [COMMAND]', 'example namespace') | |
class App < Thor | |
Example.register(self, :app, 'app [COMMAND]', 'app namespace') |