Example reference-style link.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
prunelocal = !sh -c 'git branch -d `git branch --merged | grep -v "^*" | tr -d "\\n"`' | |
pruneorigin = !sh -c 'git push origin `git branch -r --merged | grep \"^ origin/\" | grep -v "/master$" | sed "s/origin./:/g" | tr -d "\\n"`' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://plusone.google.com/* | |
www.google.com##BUTTON[name="eswidget"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIS GIST SHOULD BE FILLED WITH BEES. | |
__ __ __ __ __ | |
/ \ / \ / \ / \ / \ | |
/ B \__/ \__/ \__/ B \__/ \ | |
\ / \ B / \ B / \ B / \ / | |
\__/ \__/ \__/ \__/ \B_/ | |
/ \ / \ / \ B / \ B / \ | |
/ \__/ \__/ B \__/ \__/ B \ | |
\ / \ B / \ / \ / \ / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[01:18:34] Interface\FrameXML\RestrictedExecution.lua:397: Call failed: Interface\FrameXML\RestrictedExecution.lua:397: Call failed: Interface\FrameXML\RestrictedExecution.lua:124: Direct table creation is not permitted | |
[C]: ? | |
[C]: ? | |
Interface\FrameXML\RestrictedExecution.lua:397: in function <Interface\FrameXML\RestrictedExecution.lua:390> | |
(tail call): ? | |
Interface\FrameXML\SecureGroupHeaders.lua:108: in function `SetupUnitButtonConfiguration' | |
Interface\FrameXML\SecureGroupHeaders.lua:158: in function <Interface\FrameXML\SecureGroupHeaders.lua:115> | |
Interface\FrameXML\SecureGroupHeaders.lua:458: in function `SecureGroupHeader_Update' | |
Interface\FrameXML\SecureGroupHeaders.lua:57: in function <Interface\FrameXML\SecureGroupHeaders.lua:52> | |
[C]: in function `SetAttribute' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for year in 2010 2011 2012 | |
do | |
for month in 01 02 03 04 05 06 07 08 09 10 11 12 | |
do | |
sudo defaults write /Library/Preferences/com.apple.TimeMachine SkipPaths -array-add "~tekkub/Library/Application Support/Google/Chrome/Default/History Index $year-$month-journal" | |
sudo defaults write /Library/Preferences/com.apple.TimeMachine SkipPaths -array-add "~tekkub/Library/Application Support/Google/Chrome/Default/History Index $year-$month" | |
done | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Converts those nasty xml documents word likes to create into something | |
# remotely resembling markdown | |
# Fun side effect: you'll get every revision of the document! | |
abort "No file name given" unless filename = ARGV.first | |
remove_tags = [ | |
'\?xml', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
raise "Specify a video file!" unless mkv_file = ARGV.first | |
audio_file = mkv_file.gsub(/\.mkv/, ".ac3") | |
audio_track_file = mkv_file.gsub(/\.mkv/, ".mp4") | |
video_file = mkv_file.gsub(/\.mkv/, ".264") | |
m4v_file = mkv_file.gsub(/\.mkv/, ".m4v") | |
VLC_PATH = "/Applications/VLC.app/Contents/MacOS/VLC" | |
MP4BOX_PATH = "/Users/tekkub/bin/MP4box" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# mkv2m4v inputfile.mkv | |
# | |
# Given an MKV container with H.264 video and AC3 audio, converts | |
# quickly to an iPad-compatible MP4 container without re-encoding the | |
# video (so it must already be in an iPad-compatible resolution); the | |
# audio is downmixed to stereo with Dynamic Range Compression. | |
# |