Skip to content

Instantly share code, notes, and snippets.

View maddox's full-sized avatar

Jon Maddox maddox

View GitHub Profile
11:16:22 T:2686240544 M:408170496 NOTICE: Mapping drive Z to /tmp/plex
11:16:22 T:2686240544 M:408100864 NOTICE: Mapping drive Q to /Applications/Plex.app/Contents/Resources/Plex
11:16:22 T:2686240544 M:408100864 NOTICE: Mapping drive T to /Users/jmaddox/Library/Application Support/Plex
11:16:22 T:2686240544 M:408100864 NOTICE: Mapping drive U to /Users/jmaddox/Library/Application Support/Plex
11:16:22 T:2686240544 M:408088576 NOTICE: -----------------------------------------------------------------------
11:16:22 T:2686240544 M:408084480 NOTICE: Starting Plex, Platform: Mac OS X. Built on Mar 9 2009
11:16:22 T:2686240544 M:408084480 NOTICE: Plex version 0.7.13-e61c0c4.
11:16:22 T:2686240544 M:408084480 NOTICE: Q is mapped to: /Applications/Plex.app/Contents/Resources/Plex
11:16:22 T:2686240544 M:408084480 NOTICE: The executable running is: /Applications/Plex.app/Contents/MacOS/Plex
11:16:22 T:2686240544 M:408084480 NOTICE: Log File is located: /Users/jmaddox/Library/Logs/Plex.log
#!/usr/bin/env ruby
require 'net/http'
# usage
# tweet2tumblr http://twitter.com/kristaderamus/statuses/1278922567
# authentication
email = "your@email.com"
password= "yourpassword"
<PluginPreferences>
<VideoQuality>720p</VideoQuality>
</PluginPreferences>
//
// NSURL+Filename.h
// Pyrot
//
// Created by Jon Maddox on 3/19/09.
// Copyright 2009 Mustache, Inc.. All rights reserved.
//
#import <Foundation/Foundation.h>
https://www.instapaper.com/api/add?username=youruser&password=yourpassword&title=${title}&url=${url}
{
"Banners" = >{
"Banner" = >[{
"BannerType2" = >"1920x1080",
"id" = >"89141",
"Colors" = >nil,
"Language" = >"en",
"SeriesName" = >"false",
"VignettePath" = >"fanart/vignette/73739-34.jpg",
"BannerPath" = >"fanart/original/73739-34.jpg",
string = %{-cat -mouse man OR woman until:2009-09-09 @maddox #avatar #xbox since:2009-09-16 near:"richmond, va" @maddox apple to:dog within:15mi to:maddox from:mschrag "football game" "oh yes"}
# words
exact_phrase = /".*?"/
any_words = /\w+ OR \w+/
minus_word = /-\w+/
hashtag = /#\w+/
# people
to_person = /to:\w+/
this is a test
{
"submenu_items": [
{
"item": {
"title": "Movies",
"action": "fetch",
"path": "http:\/\/localhost:3000\/movies\/root.json"
}
},
{
alias_method :real_partners, :partners
def partners
return parent.real_partners if real_partners.size == 0 && parent
real_partners
end