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:
lsblk
changeMac() { | |
local net=${1:-en0} | |
local mac=$(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') | |
sudo ifconfig $net ether $mac | |
sudo ifconfig $net down | |
sudo ifconfig $net up | |
echo "Your new physical address for interface $net is $mac" | |
} |
#---------------------------------------------------------------------------- | |
# Ignore these files when commiting to a git repository. | |
# | |
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# | |
# The original version of this file is found here: | |
# https://github.com/RailsApps/rails3-application-templates/raw/master/files/gitignore.txt | |
# | |
# Corrections? Improvements? Create a GitHub issue: | |
# http://github.com/RailsApps/rails3-application-templates/issues |
#!/bin/bash | |
# | |
# Pre-commit hook script to avoid debug statements to be commited. | |
# Place under `$PROJECT_DIR/.git/hooks/pre-commit` | |
# Make script executable `chmod +x $PROJECT_DIR/.git/hooks/pre-commit` | |
# | |
# https://github.com/sfate | |
STATEMENTS="puts\|debugger\|binding.pry\|alert(\|console.log(" | |
OUTPUT=$(git diff --cached --name-only | xargs git grep -wnH " $STATEMENTS" | awk '$0="\t"$0') |
# Usage: IE={box} vagrant up | |
# | |
# Eg. IE=XPIE6 vagrant up | |
boxes = { | |
"XPIE6" => "http://aka.ms/vagrant-xp-ie6", | |
"XPIE8" => "http://aka.ms/vagrant-xp-ie8", | |
"VistaIE7" => "http://aka.ms/vagrant-vista-ie7", | |
"Win7IE8" => "http://aka.ms/vagrant-win7-ie8", | |
"Win7IE9" => "http://aka.ms/vagrant-win7-ie9", |
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
(function() { 'use strict'; | |
var currentTimeEl = document.querySelector('.ytp-time-current'), | |
endTimeEl = document.querySelector('.ytp-time-duration'), | |
replayBtnEl = document.querySelector('.ytp-play-button'); | |
setTimeout(function replay() { | |
if ( | |
(currentTimeEl.textContent == endTimeEl.textContent) | |
&& | |
(replayBtnEl.getAttribute('title') == 'Replay') |
Assertion | Example |
---|---|
assert |
assert @traits.any?, "empty subjects" |
assert_empty |
assert_empty @labels |
assert_equal |
assert_equal 2, @traits.size |
assert_in_delta |
assert_in_delta @traits.size, 1,1 |
assert_in_epsilon |
assert_in_epsilon @traits.size, 1, 1 |
assert_includes |
assert_includes @traits, "skinny jeans" |
assert_instance_of |
assert_instance_of Hipster, @hipster |
assert_kind_of |
assert_kind_of Enumerable, @labels |
| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨