Permalink
Browse files

add filesortd, launchd

  • Loading branch information...
1 parent b91ba46 commit 1970ccb6d58c81bf073a33a302d94439e1ea7bf2 @myfreeweb committed Dec 17, 2012
Showing with 62 additions and 751 deletions.
  1. +11 −0 filesort.rb
  2. +3 −2 install.sh
  3. +0 −749 launchbar.plist.xml
  4. +24 −0 launchd/com.floatboth.devproxy.plist
  5. +24 −0 launchd/com.floatboth.filesortd.plist
View
11 filesort.rb
@@ -0,0 +1,11 @@
+os :osx do
+ folder "/Users/myfreeweb/Downloads" do
+ downloaded_from %r{destroyallsoftware} do
+ open
+ end
+
+ ext :html do # Accidental opt+clicks in a browser
+ trash
+ end
+ end
+end
View
5 install.sh
@@ -56,9 +56,10 @@ elif [[ $(uname) = 'Darwin' ]]; then
link_custom scpt $HOME/Library/Scripts
mkdir -p $HOME/Library/KeyBindings
link_custom keybindings/DefaultKeyBinding.dict $HOME/Library/KeyBindings/DefaultKeyBinding.dict
- LAUNCHBAR=$HOME/Library/Application\ Support/LaunchBar
- [[ -d $LAUNCHBAR ]] && link_custom launchbar.plist.xml $LAUNCHBAR/Configuration.plist
QUAKE=$HOME/Library/Application\ Support/QuakeLive/quakelive/home/baseq3
+ for agent in ./launchd/*; do
+ ln -s $(ruby -e "puts File.expand_path(\"$agent\")") $HOME/Library/LaunchAgents/
+ done
fi
if [[ -d $QUAKE ]]; then
link_custom quakelive.cfg $QUAKE/quakelive.cfg
View
749 launchbar.plist.xml
@@ -1,749 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>aliasNames</key>
- <dict>
- <key>ODLBPathItem:/</key>
- <string>Root /</string>
- <key>ODLBPathItem:/Volumes</key>
- <string>Mounted Volumes</string>
- <key>ODLBPathItem:/usr/bin</key>
- <string>usr/bin</string>
- <key>ODLBPathItem:/usr/local</key>
- <string>usr/local</string>
- <key>ODLBPathItem:/usr/local/bin</key>
- <string>usr/local/bin</string>
- <key>ODLBPathItem:/usr/sbin</key>
- <string>usr/sbin</string>
- </dict>
- <key>disabledItems</key>
- <array/>
- <key>rules</key>
- <array>
- <dict>
- <key>className</key>
- <string>ODLBMountedVolumesRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Library/Safari/History.plist</string>
- <key>className</key>
- <string>ODLBHistoryRule</string>
- </dict>
- <dict>
- <key>abbreviatedSpecificPlaces</key>
- <array>
- <string>/Applications</string>
- <string>/System/Library/CoreServices</string>
- <string>~/Library/Printers</string>
- </array>
- <key>className</key>
- <string>ODLBApplicationsRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Movies</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- <key>enabled</key>
- <integer>0</integer>
- <key>typeCollectionIdentifier</key>
- <string>@movie</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Documents</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- <key>enabled</key>
- <integer>0</integer>
- <key>skipQualifierProperties</key>
- <array>
- <string>iTunes Music</string>
- </array>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBCyberduckRule</string>
- <key>enabled</key>
- <integer>0</integer>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBUserAccountsRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/.bookmarks.html</string>
- <key>aliasName</key>
- <string>Pinboard bookmarks</string>
- <key>className</key>
- <string>ODLBBookmarksRule</string>
- </dict>
- <dict>
- <key>aliasName</key>
- <string>Unix Executables</string>
- <key>className</key>
- <string>ODLBListRule</string>
- <key>list</key>
- <array>
- <string>/bin/date</string>
- <string>/sbin/ping</string>
- <string>/usr/bin/cal</string>
- <string>/usr/bin/dig</string>
- <string>/usr/bin/ftp</string>
- <string>/usr/bin/host</string>
- <string>/usr/bin/hostinfo</string>
- <string>/usr/bin/man</string>
- <string>/usr/bin/sftp</string>
- <string>/usr/bin/ssh</string>
- <string>/usr/bin/su</string>
- <string>/usr/bin/telnet</string>
- <string>/usr/bin/top</string>
- <string>/usr/bin/uptime</string>
- <string>/usr/sbin/netstat</string>
- <string>/usr/sbin/traceroute</string>
- </array>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBNetworkLocationsRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Library/Safari/Bookmarks.plist</string>
- <key>className</key>
- <string>ODLBBookmarksRule</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBFrameworksRule</string>
- <key>enabled</key>
- <integer>0</integer>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBScriptsRule</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBListRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- <key>subfolderLevels</key>
- <integer>0</integer>
- <key>typeCollectionIdentifier</key>
- <string>@folder</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Pictures</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- <key>enabled</key>
- <integer>0</integer>
- <key>excludeQualifierProperties</key>
- <array>
- <string>iPhoto Library</string>
- </array>
- <key>skipQualifierProperties</key>
- <array>
- <string>iPhoto Library</string>
- </array>
- <key>typeCollectionIdentifier</key>
- <string>@image</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBMusicRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>/Users/Shared</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- <key>subfolderLevels</key>
- <integer>0</integer>
- <key>typeCollectionIdentifier</key>
- <string>@folder</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Library/Favorites</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Music</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- <key>enabled</key>
- <integer>0</integer>
- <key>skipQualifierProperties</key>
- <array>
- <string>iTunes Music</string>
- </array>
- <key>typeCollectionIdentifier</key>
- <string>@audio</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBCalendarsRule</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBKindRule</string>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>/Applications/Address Book.app</string>
- <key>className</key>
- <string>ODLBContactsRule</string>
- </dict>
- <dict>
- <key>aliasName</key>
- <string>Search Templates (ISO Latin 1)</string>
- <key>className</key>
- <string>ODLBSearchTemplatesRule</string>
- <key>defaultStringEncoding</key>
- <integer>5</integer>
- <key>templates</key>
- <array>
- <dict>
- <key>name</key>
- <string>AlltheWeb</string>
- <key>templateURL</key>
- <string>http://www.alltheweb.com/search?cat=web&amp;q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>AlltheWeb Audio</string>
- <key>templateURL</key>
- <string>http://www.alltheweb.com/search?cat=mp3&amp;q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>AlltheWeb Images</string>
- <key>templateURL</key>
- <string>http://www.alltheweb.com/search?cat=img&amp;q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>AlltheWeb Video</string>
- <key>templateURL</key>
- <string>http://www.alltheweb.com/search?cat=vid&amp;q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>AltaVista Images</string>
- <key>templateURL</key>
- <string>http://www.altavista.com/image/results?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>AltaVista MP3/Audio</string>
- <key>templateURL</key>
- <string>http://www.altavista.com/audio/results?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>AltaVista Web</string>
- <key>templateURL</key>
- <string>http://www.altavista.com/web/results?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Apple Developer Connection</string>
- <key>templateURL</key>
- <string>http://developer.apple.com/cgi-bin/search.pl?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Cocoa Mailing List Archive</string>
- <key>templateURL</key>
- <string>http://www.cocoabuilder.com/search/archive/cocoa?words=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Connect to Local AFP Server</string>
- <key>templateURL</key>
- <string>afp://*.local</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Excite</string>
- <key>templateURL</key>
- <string>http://msxml.excite.com/info.xcite/search/web/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Internet Movie Database</string>
- <key>templateURL</key>
- <string>http://www.imdb.com/find?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Linguee</string>
- <key>templateURL</key>
- <string>http://www.linguee.de/search?direction=auto&amp;query=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Make TinyURL</string>
- <key>templateURL</key>
- <string>http://tinyurl.com/create.php?url=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Merriam-Webster Dictionary</string>
- <key>templateURL</key>
- <string>http://www.meriam-webster.com/cgi-bin/dictionary?book=Dictionary&amp;va=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Merriam-Webster Thesaurus</string>
- <key>templateURL</key>
- <string>http://www.meriam-webster.com/cgi-bin/thesaurus?book=Thesaurus&amp;va=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>PHP Documentation</string>
- <key>templateURL</key>
- <string>http://www.php.net/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>VersionTracker</string>
- <key>templateURL</key>
- <string>http://www.versiontracker.com/php/qs.php?str=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Xcode Mailing List Archive</string>
- <key>templateURL</key>
- <string>http://www.cocoabuilder.com/search/archive/xcode?words=*</string>
- </dict>
- </array>
- </dict>
- <dict>
- <key>abbreviatedPath</key>
- <string>~/Desktop</string>
- <key>className</key>
- <string>ODLBFolderContentsRule</string>
- <key>subfolderLevels</key>
- <integer>0</integer>
- </dict>
- <dict>
- <key>aliasName</key>
- <string>Unix Directories</string>
- <key>className</key>
- <string>ODLBListRule</string>
- <key>list</key>
- <array>
- <string>/bin</string>
- <string>/etc</string>
- <string>/sbin</string>
- <string>/tmp</string>
- <string>/usr</string>
- <string>/usr/bin</string>
- <string>/usr/sbin</string>
- <string>/usr/local</string>
- <string>/usr/local/bin</string>
- <string>/var</string>
- </array>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBDockRule</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBServicesRule</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBPrefPanesRule</string>
- </dict>
- <dict>
- <key>className</key>
- <string>ODLBPhotoRule</string>
- </dict>
- <dict>
- <key>aliasName</key>
- <string>Search Templates (UTF-8)</string>
- <key>className</key>
- <string>ODLBSearchTemplatesRule</string>
- <key>templates</key>
- <array>
- <dict>
- <key>name</key>
- <string>A9</string>
- <key>templateURL</key>
- <string>http://www.a9.com/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Abbreviation Search</string>
- <key>templateURL</key>
- <string>x-launchbar:select?abbreviation=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Bing</string>
- <key>templateURL</key>
- <string>http://www.bing.com/search?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Bing Images</string>
- <key>templateURL</key>
- <string>http://www.bing.com/images/search?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Clusty</string>
- <key>templateURL</key>
- <string>http://clusty.com/search?query=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Convert EUR to USD</string>
- <key>templateURL</key>
- <string>http://www.oanda.com/currency/classic-converter?exch=EUR&amp;expr=USD&amp;value=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Convert USD to EUR</string>
- <key>templateURL</key>
- <string>http://www.oanda.com/currency/classic-converter?exch=USD&amp;expr=EUR&amp;value=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>DuckDuckGo</string>
- <key>templateURL</key>
- <string>http://duckduckgo.com/?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>ebay</string>
- <key>templateURL</key>
- <string>http://search.ebay.com/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Flickr</string>
- <key>templateURL</key>
- <string>http://www.flickr.com/search/?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Go to</string>
- <key>templateURL</key>
- <string>x-launchbar:select?file=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google</string>
- <key>templateURL</key>
- <string>http://www.google.com/search?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google Blog Search</string>
- <key>templateURL</key>
- <string>http://blogsearch.google.com/blogsearch?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google Exact Phrase</string>
- <key>templateURL</key>
- <string>http://www.google.com/search?q=%22*%22</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google Face Search</string>
- <key>templateURL</key>
- <string>http://images.google.com/images?imgtype=face&amp;q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google Groups</string>
- <key>templateURL</key>
- <string>http://groups.google.com/groups?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google Images</string>
- <key>templateURL</key>
- <string>http://images.google.com/images?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google Maps</string>
- <key>templateURL</key>
- <string>http://maps.google.com/maps?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Google Video</string>
- <key>templateURL</key>
- <string>http://video.google.com/videosearch?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>last.fm</string>
- <key>templateURL</key>
- <string>http://www.last.fm/music/?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Mac OS X Hints</string>
- <key>templateURL</key>
- <string>http://www.macosxhints.com/search.php?query=*&amp;type=stories&amp;mode=search&amp;keyType=all</string>
- </dict>
- <dict>
- <key>name</key>
- <string>MacUpdate</string>
- <key>templateURL</key>
- <string>http://www.macupdate.com/search.php?keywords=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Manual Page</string>
- <key>templateURL</key>
- <string>x-man-page://*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>OpenThesaurus</string>
- <key>templateURL</key>
- <string>http://www.openthesaurus.de/overview.php?search=1&amp;word=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search Amazon for Books</string>
- <key>templateURL</key>
- <string>http://www.amazon.com/s?ie=UTF8&amp;index=books&amp;keywords=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search Amazon for DVDs</string>
- <key>templateURL</key>
- <string>http://www.amazon.com/s?ie=UTF8&amp;index=dvd&amp;keywords=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search Amazon for Music</string>
- <key>templateURL</key>
- <string>http://www.amazon.com/s?ie=UTF8&amp;index=music&amp;keywords=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search Amazon.com</string>
- <key>templateURL</key>
- <string>http://www.amazon.com/s?ie=UTF8&amp;index=blended&amp;keywords=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search iTunes Store</string>
- <key>templateURL</key>
- <string>itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?term=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search iTunes Store for Album</string>
- <key>templateURL</key>
- <string>itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?albumTerm=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search iTunes Store for Artist</string>
- <key>templateURL</key>
- <string>itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?artistTerm=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search iTunes Store for Composer</string>
- <key>templateURL</key>
- <string>itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?composerTerm=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search iTunes Store for Song</string>
- <key>templateURL</key>
- <string>itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?songTerm=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search MSN</string>
- <key>templateURL</key>
- <string>http://search.msn.com/results.aspx?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search MSN Images</string>
- <key>templateURL</key>
- <string>http://search.msn.com/images/results.aspx?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Search MSN News</string>
- <key>templateURL</key>
- <string>http://search.msn.com/news/results.aspx?q=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Technorati Blog Finder</string>
- <key>templateURL</key>
- <string>http://www.technorati.com/blogs/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Technorati Explore</string>
- <key>templateURL</key>
- <string>http://www.technorati.com/explore/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Technorati Search</string>
- <key>templateURL</key>
- <string>http://www.technorati.com/search/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Technorati Tags</string>
- <key>templateURL</key>
- <string>http://www.technorati.com/tags/*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Wikipedia</string>
- <key>templateURL</key>
- <string>http://en.wikipedia.org/?search=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Wikipedia Deutsch</string>
- <key>templateURL</key>
- <string>http://de.wikipedia.org/?search=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Wikipedia Japan</string>
- <key>templateURL</key>
- <string>http://ja.wikipedia.org/?search=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Wiktionary</string>
- <key>templateURL</key>
- <string>http://en.wiktionary.org/?search=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Wiktionary Deutsch</string>
- <key>templateURL</key>
- <string>http://de.wiktionary.org/?search=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Wiktionary Japan</string>
- <key>templateURL</key>
- <string>http://ja.wiktionary.org/?search=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Wolfram Alpha</string>
- <key>templateURL</key>
- <string>http://www.wolframalpha.com/input/?i=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Yahoo!</string>
- <key>templateURL</key>
- <string>http://search.yahoo.com/search?p=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Yahoo! Audio</string>
- <key>templateURL</key>
- <string>http://audio.search.yahoo.com/search/audio?p=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Yahoo! Images</string>
- <key>templateURL</key>
- <string>http://images.search.yahoo.com/search/images?p=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Yahoo! Japan</string>
- <key>templateURL</key>
- <string>http://search.yahoo.co.jp/search?ei=UTF-8&amp;p=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Yahoo! Stock Quotes</string>
- <key>templateURL</key>
- <string>http://finance.yahoo.com/q?s=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>Yahoo! Video</string>
- <key>templateURL</key>
- <string>http://video.search.yahoo.com/search/video?p=*</string>
- </dict>
- <dict>
- <key>name</key>
- <string>YouTube</string>
- <key>templateURL</key>
- <string>http://www.youtube.com/results?search_query=*</string>
- </dict>
- </array>
- </dict>
- </array>
- <key>typeCollections</key>
- <array>
- <dict>
- <key>definition</key>
- <string>htm, html, htmld</string>
- <key>identifier</key>
- <string>1</string>
- <key>name</key>
- <string>HTML Files</string>
- </dict>
- <dict>
- <key>definition</key>
- <string>'RTF ', 'SLD8', 'TEXT', 'W6BN', 'W8BN', 'WDBN', 'XLS8', doc, docx, pps, ppsx, ppt, pptx, rtf, txt, xls, xlsx</string>
- <key>identifier</key>
- <string>4</string>
- <key>name</key>
- <string>MS Office Documents</string>
- </dict>
- <dict>
- <key>definition</key>
- <string>'CWWP', cwk</string>
- <key>identifier</key>
- <string>3</string>
- <key>name</key>
- <string>AppleWorks Documents</string>
- </dict>
- <dict>
- <key>definition</key>
- <string>c, cpp, h, java, m, nib, php, php3, php4, pl, py, rb, ru, go, js, coffee, sass, scss, css, less, styl, clj, el, feature</string>
- <key>identifier</key>
- <string>2</string>
- <key>name</key>
- <string>Source Files</string>
- </dict>
- </array>
- <key>version</key>
- <integer>6</integer>
-</dict>
-</plist>
View
24 launchd/com.floatboth.devproxy.plist
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>com.floatboth.devproxy</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>sh</string>
+ <string>-c</string>
+ <string>sudo ipfw add 1337 fwd 127.0.0.1,8999 tcp from any to me dst-port 80 &amp;&amp; sysctl -w net.inet.ip.forwarding=1 &amp;&amp; /usr/local/bin/node /usr/local/bin/devproxy</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>KeepAlive</key>
+ <false/>
+ <key>WorkingDirectory</key>
+ <string>/usr/local</string>
+ <key>StandardErrorPath</key>
+ <string>/usr/local/var/log/devproxy.log</string>
+ <key>StandardOutPath</key>
+ <string>/usr/local/var/log/devproxy.log</string>
+</dict>
+</plist>
View
24 launchd/com.floatboth.filesortd.plist
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>com.floatboth.devproxy</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>sh</string>
+ <string>-c</string>
+ <string>PATH=/Users/myfreeweb/.rbenv/bin:$PATH /Users/myfreeweb/.rbenv/shims/filesortd start /Users/myfreeweb/Code/dotfiles/filesort.rb</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>KeepAlive</key>
+ <false/>
+ <key>WorkingDirectory</key>
+ <string>/usr/local</string>
+ <key>StandardErrorPath</key>
+ <string>/usr/local/var/log/filesortd.log</string>
+ <key>StandardOutPath</key>
+ <string>/usr/local/var/log/filesortd.log</string>
+</dict>
+</plist>

0 comments on commit 1970ccb

Please sign in to comment.