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
# setup static variables | |
MOVIE_FOLDER = "/Volumes/DroboFS/tdb103170485/2/Public/Movies/" | |
#help output | |
# +----[ Remote control commands ] | |
# | | |
# | add XYZ . . . . . . . . . . . . add XYZ to playlist | |
# | enqueue XYZ . . . . . . . . . queue XYZ to playlist | |
# | playlist . . . . . show items currently in playlist | |
# | play . . . . . . . . . . . . . . . . . . play stream |
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
[Info - Guzzoni] Received Object: AddViews (group: com.apple.ace.assistant, ref_id: DAFAC93F-8B92-489C-876F-26AB3CC08358,ace_id: 8a7c74f4-db7a-43d8-bb80-30ec83415df3) | |
{"properties"=> | |
{"temporary"=>false, | |
"dialogPhase"=>"Clarification", | |
"scrollToTop"=>false, | |
"views"=> | |
[{"class"=>"AssistantUtteranceView", | |
"properties"=> | |
{"dialogIdentifier"=>"Movies#disambiguateMovies", | |
"speakableText"=>"Which one?", |
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
# put this in ~/.screenrc | |
# see http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html | |
# support color X terminals | |
termcap รย xterm 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' | |
termcap รย xtermc 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' |
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
# Solarized Theme | |
# Attempting to copy: http://ethanschoonover.com/solarized | |
# Example: http://i.imgur.com/T9BTRG4.png | |
if patched_font_in_use; then | |
TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="โฎ" | |
TMUX_POWERLINE_SEPARATOR_LEFT_THIN="โฎ" | |
TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="โฎ" | |
TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="โฎ" | |
else |
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 | |
# Run script from inside git repo | |
# Paths setup for OS X | |
# requires gource and ffmpeg | |
# On OS X: | |
# brew install ffmpeg gource | |
# Written by: Joe Pintozzi | |
# | |
# Resources | |
# gource: https://code.google.com/p/gource/ |
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
[Keyboard] | |
# Get codes from /usr/include/SDL/SDL_keysym.h | |
A_1=99 | |
B_1=53 | |
X_1=304 | |
Y_1=122 | |
L_1=306 | |
R_1=308 | |
START_1=49 | |
SELECT_1=51 |
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
[Keyboard] | |
# Get codes from /usr/include/SDL/SDL_keysym.h | |
A_1=99 | |
B_1=53 | |
X_1=304 | |
Y_1=122 | |
L_1=306 | |
R_1=308 | |
START_1=49 | |
SELECT_1=51 |
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 | |
# sanity checks | |
if ARGV.count == 0 | |
puts "You must provide a file name" | |
return | |
elsif File.exist?(ARGV.first) == false | |
puts "That file doesn't exist" | |
return | |
end |
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
require "github_api" | |
Github.new.orgs.members.list("ORG_NAME").body.sort_by! {|u| u.id} .first.login |
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
set -U EDITOR vim | |
set NODE_PATH "/usr/local/lib/node_modules" | |
set PATH "$EC2_HOME/bin" $PATH | |
set PATH ".bundle/bin" $PATH | |
set PATH "/usr/local/bin" $PATH | |
set PATH "/usr/local/sbin" $PATH | |
set PATH "/usr/local/share/npm/bin" $PATH | |
set PATH $HOME/.rbenv/bin $PATH | |
set PATH $HOME/.rbenv/shims $PATH |
OlderNewer