Skip to content

Instantly share code, notes, and snippets.

View pyro2927's full-sized avatar
💭
I may be slow to respond.

Joseph Pintozzi pyro2927

💭
I may be slow to respond.
View GitHub Profile
@pyro2927
pyro2927 / solarized.sh
Last active August 27, 2023 16:41
Solarized theme for tmux-powerline
# 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
@pyro2927
pyro2927 / .screen
Created October 2, 2012 15:09
Screen stuff
# 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'
@pyro2927
pyro2927 / hobbit_addviews.log
Created October 2, 2012 03:15
guzzoni.apple.com addview response to "when does the hobbit come out?"
[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?",
@pyro2927
pyro2927 / vlcsync.rb
Created March 8, 2012 15:44
threaded ruby script to run VLC sync
# 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