pennyworth 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/CHANGELOG.rdoc +3 -0
  2. data/LICENSE.rdoc +20 -0
  3. data/README.rdoc +101 -0
  4. data/bin/pennyworth +6 -0
  5. data/lib/pennyworth/cli.rb +89 -0
  6. data/lib/pennyworth/kit.rb +20 -0
  7. data/lib/pennyworth/templates/alfred/extensions/files/launch_browsers/icon.png +0 -0
  8. data/lib/pennyworth/templates/alfred/extensions/files/launch_browsers/info.plist +21 -0
  9. data/lib/pennyworth/templates/alfred/extensions/files/launch_browsers/kudos.plist +10 -0
  10. data/lib/pennyworth/templates/alfred/extensions/scripts/apple_say/icon.png +0 -0
  11. data/lib/pennyworth/templates/alfred/extensions/scripts/apple_say/info.plist +40 -0
  12. data/lib/pennyworth/templates/alfred/extensions/scripts/apple_say/kudos.plist +10 -0
  13. data/lib/pennyworth/templates/alfred/extensions/scripts/directory_size/icon.png +0 -0
  14. data/lib/pennyworth/templates/alfred/extensions/scripts/directory_size/info.plist +37 -0
  15. data/lib/pennyworth/templates/alfred/extensions/scripts/directory_size/kudos.plist +10 -0
  16. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_bash_file/icon.png +0 -0
  17. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_bash_file/info.plist +40 -0
  18. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_bash_file/kudos.plist +10 -0
  19. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_dotfile/icon.png +0 -0
  20. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_dotfile/info.plist +40 -0
  21. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_dotfile/kudos.plist +10 -0
  22. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_file/icon.png +0 -0
  23. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_file/info.plist +40 -0
  24. data/lib/pennyworth/templates/alfred/extensions/scripts/edit_file/kudos.plist +10 -0
  25. data/lib/pennyworth/templates/alfred/extensions/scripts/mac_serial/icon.png +0 -0
  26. data/lib/pennyworth/templates/alfred/extensions/scripts/mac_serial/info.plist +36 -0
  27. data/lib/pennyworth/templates/alfred/extensions/scripts/mac_serial/kudos.plist +10 -0
  28. data/lib/pennyworth/templates/alfred/extensions/scripts/mem_purge/icon.png +0 -0
  29. data/lib/pennyworth/templates/alfred/extensions/scripts/mem_purge/info.plist +41 -0
  30. data/lib/pennyworth/templates/alfred/extensions/scripts/mem_purge/kudos.plist +10 -0
  31. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_chrome/icon.png +0 -0
  32. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_chrome/info.plist +40 -0
  33. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_chrome/kudos.plist +10 -0
  34. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_opera/icon.png +0 -0
  35. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_opera/info.plist +40 -0
  36. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_opera/kudos.plist +10 -0
  37. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_safari/icon.png +0 -0
  38. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_safari/info.plist +40 -0
  39. data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_safari/kudos.plist +10 -0
  40. data/lib/pennyworth/templates/alfred/extensions/scripts/restart_rails/icon.png +0 -0
  41. data/lib/pennyworth/templates/alfred/extensions/scripts/restart_rails/info.plist +42 -0
  42. data/lib/pennyworth/templates/alfred/extensions/scripts/restart_rails/kudos.plist +10 -0
  43. data/lib/pennyworth/templates/alfred/extensions/scripts/string_capitalize/icon.png +0 -0
  44. data/lib/pennyworth/templates/alfred/extensions/scripts/string_capitalize/info.plist +41 -0
  45. data/lib/pennyworth/templates/alfred/extensions/scripts/string_capitalize/kudos.plist +10 -0
  46. data/lib/pennyworth/templates/alfred/extensions/scripts/string_downcase/icon.png +0 -0
  47. data/lib/pennyworth/templates/alfred/extensions/scripts/string_downcase/info.plist +41 -0
  48. data/lib/pennyworth/templates/alfred/extensions/scripts/string_downcase/kudos.plist +10 -0
  49. data/lib/pennyworth/templates/alfred/extensions/scripts/string_length/icon.png +0 -0
  50. data/lib/pennyworth/templates/alfred/extensions/scripts/string_length/info.plist +41 -0
  51. data/lib/pennyworth/templates/alfred/extensions/scripts/string_length/kudos.plist +10 -0
  52. data/lib/pennyworth/templates/alfred/extensions/scripts/string_upcase/icon.png +0 -0
  53. data/lib/pennyworth/templates/alfred/extensions/scripts/string_upcase/info.plist +41 -0
  54. data/lib/pennyworth/templates/alfred/extensions/scripts/string_upcase/kudos.plist +10 -0
  55. data/lib/pennyworth/version.rb +3 -0
  56. data/lib/pennyworth.rb +3 -0
  57. metadata +162 -0
data/CHANGELOG.rdoc ADDED
@@ -0,0 +1,3 @@
1
+ = v0.1.0
2
+
3
+ * Initial version.
data/LICENSE.rdoc ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 {Red Alchemist}[http://www.redalchemist.com].
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,101 @@
1
+ = Overview
2
+
3
+ {<img src="https://secure.travis-ci.org/bkuhlmann/pennyworth.png" />}[http://travis-ci.org/bkuhlmann/pennyworth]
4
+
5
+ Enhances and extends Alfred by providing a Ruby command line interface (CLI) via Alfred Extensions. Each Alfred Extension,
6
+ packaged as part of this gem, references back to the Ruby CLI. Output is provided via Growl.
7
+
8
+ = Features
9
+
10
+ * Adds Ruby support to Alfred.
11
+ * Adds the launch_browsers file extension.
12
+ * Adds the apple_say script extension.
13
+ * Adds the directory_size script extension.
14
+ * Adds the edit_bash_file script extension.
15
+ * Adds the edit_dotfile script extension.
16
+ * Adds the edit_file script extension.
17
+ * Adds the mac_serial script extension.
18
+ * Adds the mem_purge script extension.
19
+ * Adds the open_url_in_chrome script extension.
20
+ * Adds the open_url_in_opera script extension.
21
+ * Adds the open_url_in_safari script extension.
22
+ * Adds the restart_rails script extension.
23
+ * Adds the string_capitalize script extension.
24
+ * Adds the string_downcase script extension.
25
+ * Adds the string_length script extension.
26
+ * Adds the string_upcase script extension.
27
+
28
+ = Requirements
29
+
30
+ 1. {Mac OS X}[http://www.apple.com/macosx]
31
+ 2. Alfred[http://www.alfredapp.com]
32
+ 3. {Alfred Powerpack}[http://www.alfredapp.com/purchase].
33
+ 4. Growl[http://growl.info].
34
+ 5. rbenv[https://github.com/sstephenson/rbenv].
35
+ 6. {Ruby 1.9.x}[http://www.ruby-lang.org].
36
+
37
+ = Setup
38
+
39
+ Type the following from the command line to install:
40
+
41
+ gem install pennyworth
42
+
43
+ You can configure common settings for future gem builds by creating the following file:
44
+
45
+ ~/.pennyworth/settings.yml
46
+
47
+ ...using the following settings (for example):
48
+
49
+ ---
50
+ :alfred_settings_root: "/Users/brooke/Dropbox/Cache/Alfred"
51
+
52
+ = Usage
53
+
54
+ From the command line, type: pennyworth
55
+
56
+ pennyworth -e, [edit] # Edit gem settings in default editor (assumes $EDITOR environment variable).
57
+ pennyworth -h, [help] # Show this message.
58
+ pennyworth -i, [install] # Install Alfred Extensions.
59
+ pennyworth -s, [string] # Manipulate strings.
60
+ pennyworth -v, [version] # Show version.
61
+
62
+ For string options, type: pennyworth help string
63
+
64
+ -d, [--downcase=one two three] # Downcase a string.
65
+ -u, [--upcase=one two three] # Upcase a string.
66
+ -c, [--capitalize=one two three] # Capitalize words in a string.
67
+ -l, [--length=one two three] # Answer the length of a string.
68
+
69
+ While the command line options are nice, the real power comes from running the following command:
70
+
71
+ pennyworth -i
72
+
73
+ ...which installs the Alfred Extensions packaged as part of this gem. You can then use the Alfred commands
74
+ provided by each extension rather than use the CLI. Check the documentation of each installed extension (as listed
75
+ in the features list above) for further usage.
76
+
77
+ = Tests
78
+
79
+ To test, do the following:
80
+
81
+ 1. cd to the gem root.
82
+ 2. bundle install
83
+ 3. bundle exec rspec spec
84
+
85
+ = Contributions
86
+
87
+ Please log all feedback/issues via {GitHub Issues}[https://github.com/bkuhlmann/pennyworth/issues] for the project. Thanks.
88
+
89
+ = Credits
90
+
91
+ Developed by {Brooke Kuhlmann}[http://www.redalchemist.com] at {Red Alchemist}[http://www.redalchemist.com]
92
+
93
+ = License
94
+
95
+ Copyright (c) 2012 {Red Alchemist}[http://www.redalchemist.com].
96
+ Read the LICENSE for details.
97
+
98
+ = History
99
+
100
+ Read the CHANGELOG for details.
101
+ Built with Gemsmith[https://github.com/bkuhlmann/gemsmith].
data/bin/pennyworth ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/ruby
2
+ # encoding: UTF-8
3
+
4
+ require "pennyworth"
5
+ require "pennyworth/cli"
6
+ Pennyworth::CLI.start
@@ -0,0 +1,89 @@
1
+ require "yaml"
2
+ require "thor"
3
+ require "thor/actions"
4
+ require "thor_plus/actions"
5
+
6
+ module Pennyworth
7
+ class CLI < Thor
8
+ include Thor::Actions
9
+ include ThorPlus::Actions
10
+
11
+ # Overwrites the Thor template source root.
12
+ def self.source_root
13
+ File.expand_path File.join(File.dirname(__FILE__), "templates")
14
+ end
15
+
16
+ # Initialize.
17
+ def initialize args = [], options = {}, config = {}
18
+ super args, options, config
19
+ @settings_file = File.join ENV["HOME"], ".pennyworth", "settings.yml"
20
+ @settings = load_yaml @settings_file
21
+ end
22
+
23
+ desc "-s, [string]", "Manipulate strings."
24
+ map "-s" => :string
25
+ method_option :downcase, aliases: "-d", desc: "Downcase a string.", type: :array
26
+ method_option :upcase, aliases: "-u", desc: "Upcase a string.", type: :array
27
+ method_option :capitalize, aliases: "-c", desc: "Capitalize words in a string.", type: :array
28
+ method_option :length, aliases: "-l", desc: "Answer the length of a string.", type: :array
29
+ def string
30
+ case
31
+ when options[:downcase] then
32
+ string = Pennyworth::Kit.array_to_string options[:downcase]
33
+ puts Pennyworth::Kit.clip(string.downcase)
34
+ when options[:upcase] then
35
+ string = Pennyworth::Kit.array_to_string options[:upcase]
36
+ puts Pennyworth::Kit.clip(string.upcase)
37
+ when options[:capitalize] then
38
+ words = options[:capitalize].map {|word| word.capitalize}
39
+ words = Pennyworth::Kit.array_to_string words
40
+ puts Pennyworth::Kit.clip(words)
41
+ when options[:length] then
42
+ string = Pennyworth::Kit.array_to_string options[:length]
43
+ Pennyworth::Kit.clip(string)
44
+ puts string.length
45
+ else say("Type 'pennyworth help string' for usage.")
46
+ end
47
+ end
48
+
49
+ desc "-i, [install]", "Install Alfred Extensions."
50
+ map "-i" => :install
51
+ def install
52
+ say
53
+
54
+ if valid_file?(@settings[:alfred_settings_root], "Invalid directory for Alfred settings root")
55
+ if yes? "Installing Alfred Extensions will destroy exiting extensions of the same name. Continue (y/n)?"
56
+ info "Installing Alfred Extensions..."
57
+ info "Alfred settings root: #{@settings[:alfred_settings_root]}"
58
+ %w(files scripts).each do |folder|
59
+ directory File.join("alfred", "extensions", folder), File.join(@settings[:alfred_settings_root], "extensions", folder)
60
+ end
61
+ info "Alfred Extensions installed."
62
+ else
63
+ info "Alfred Extenions installation cancelled."
64
+ end
65
+ else
66
+ error "Invalid directory for Alfred settings root: #{@settings[:alfred_settings_root]}"
67
+ end
68
+
69
+ say
70
+ end
71
+
72
+ desc "-e, [edit]", "Edit gem settings in default editor (assumes $EDITOR environment variable)."
73
+ map "-e" => :edit
74
+ def edit
75
+ `$EDITOR #{@settings_file}`
76
+ end
77
+
78
+ desc "-v, [version]", "Show version."
79
+ map "-v" => :version
80
+ def version
81
+ say "Pennyworth " + VERSION
82
+ end
83
+
84
+ desc "-h, [help]", "Show this message."
85
+ def help task = nil
86
+ say and super
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,20 @@
1
+ module Pennyworth
2
+ # Provides supplementary utility methods.
3
+ class Kit
4
+ # Builds a string from an array.
5
+ # ==== Parameters
6
+ # * +array+ - Required. The array to build a string from.
7
+ # * +delimiter+ - Optional. The delimiter used to join each array element. Default: ' '
8
+ def self.array_to_string array, delimiter = ' '
9
+ array * delimiter
10
+ end
11
+
12
+ # Sends text to the Mac OS clipboard.
13
+ # ==== Parameters
14
+ # * +text+ - Required. The text to send to the clipboard.
15
+ def self.clip text
16
+ IO.popen("pbcopy", 'w').print text
17
+ text
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>category</key>
6
+ <string>FILES</string>
7
+ <key>files</key>
8
+ <array>
9
+ <string>/Applications/Firefox.app</string>
10
+ <string>/Applications/Google Chrome.app</string>
11
+ <string>/Applications/Opera.app</string>
12
+ <string>/Applications/Safari.app</string>
13
+ </array>
14
+ <key>keyword</key>
15
+ <string>browse</string>
16
+ <key>subtitle</key>
17
+ <string>Launches all web browsers.</string>
18
+ <key>title</key>
19
+ <string>Launch Browsers</string>
20
+ </dict>
21
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>action</key>
6
+ <false/>
7
+ <key>category</key>
8
+ <string>SCRIPTS</string>
9
+ <key>command</key>
10
+ <string>say {query}</string>
11
+ <key>disabled</key>
12
+ <false/>
13
+ <key>escapequery</key>
14
+ <false/>
15
+ <key>escapequerybackquotes</key>
16
+ <false/>
17
+ <key>escapequerybrackets</key>
18
+ <false/>
19
+ <key>escapequeryquotes</key>
20
+ <true/>
21
+ <key>escapequerysemicolons</key>
22
+ <false/>
23
+ <key>growloutput</key>
24
+ <false/>
25
+ <key>growloutputsticky</key>
26
+ <false/>
27
+ <key>keyword</key>
28
+ <string>say</string>
29
+ <key>logging</key>
30
+ <false/>
31
+ <key>parameter</key>
32
+ <integer>0</integer>
33
+ <key>silent</key>
34
+ <true/>
35
+ <key>subtitle</key>
36
+ <string>Say text using Apple's text-to-speach program.</string>
37
+ <key>title</key>
38
+ <string>Apple Say</string>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>action</key>
6
+ <false/>
7
+ <key>category</key>
8
+ <string>SCRIPTS</string>
9
+ <key>command</key>
10
+ <string>du -sm {query}/* | sort -nr
11
+ </string>
12
+ <key>escapequery</key>
13
+ <true/>
14
+ <key>escapequerybackquotes</key>
15
+ <true/>
16
+ <key>escapequerybrackets</key>
17
+ <true/>
18
+ <key>escapequeryquotes</key>
19
+ <true/>
20
+ <key>escapequerysemicolons</key>
21
+ <true/>
22
+ <key>growloutput</key>
23
+ <true/>
24
+ <key>growloutputsticky</key>
25
+ <false/>
26
+ <key>keyword</key>
27
+ <string>dsize</string>
28
+ <key>logging</key>
29
+ <false/>
30
+ <key>silent</key>
31
+ <true/>
32
+ <key>subtitle</key>
33
+ <string>Displays directories sizes (sorted by size).</string>
34
+ <key>title</key>
35
+ <string>Directory Size</string>
36
+ </dict>
37
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>action</key>
6
+ <false/>
7
+ <key>category</key>
8
+ <string>SCRIPTS</string>
9
+ <key>command</key>
10
+ <string>mate ~/.bashrc</string>
11
+ <key>disabled</key>
12
+ <false/>
13
+ <key>escapequery</key>
14
+ <true/>
15
+ <key>escapequerybackquotes</key>
16
+ <true/>
17
+ <key>escapequerybrackets</key>
18
+ <true/>
19
+ <key>escapequeryquotes</key>
20
+ <true/>
21
+ <key>escapequerysemicolons</key>
22
+ <true/>
23
+ <key>growloutput</key>
24
+ <false/>
25
+ <key>growloutputsticky</key>
26
+ <false/>
27
+ <key>keyword</key>
28
+ <string>ebash</string>
29
+ <key>logging</key>
30
+ <false/>
31
+ <key>parameter</key>
32
+ <integer>0</integer>
33
+ <key>silent</key>
34
+ <true/>
35
+ <key>subtitle</key>
36
+ <string>Edit Bash file in TextMate.</string>
37
+ <key>title</key>
38
+ <string>Edit Bash File</string>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>action</key>
6
+ <false/>
7
+ <key>category</key>
8
+ <string>SCRIPTS</string>
9
+ <key>command</key>
10
+ <string>mate ~/.{query}</string>
11
+ <key>disabled</key>
12
+ <false/>
13
+ <key>escapequery</key>
14
+ <true/>
15
+ <key>escapequerybackquotes</key>
16
+ <true/>
17
+ <key>escapequerybrackets</key>
18
+ <true/>
19
+ <key>escapequeryquotes</key>
20
+ <true/>
21
+ <key>escapequerysemicolons</key>
22
+ <true/>
23
+ <key>growloutput</key>
24
+ <false/>
25
+ <key>growloutputsticky</key>
26
+ <false/>
27
+ <key>keyword</key>
28
+ <string>edot</string>
29
+ <key>logging</key>
30
+ <false/>
31
+ <key>parameter</key>
32
+ <integer>0</integer>
33
+ <key>silent</key>
34
+ <true/>
35
+ <key>subtitle</key>
36
+ <string>Edit a Dotfile in TextMate.</string>
37
+ <key>title</key>
38
+ <string>Edit Dotfile</string>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>action</key>
6
+ <false/>
7
+ <key>category</key>
8
+ <string>SCRIPTS</string>
9
+ <key>command</key>
10
+ <string>mate {query}</string>
11
+ <key>disabled</key>
12
+ <false/>
13
+ <key>escapequery</key>
14
+ <true/>
15
+ <key>escapequerybackquotes</key>
16
+ <true/>
17
+ <key>escapequerybrackets</key>
18
+ <true/>
19
+ <key>escapequeryquotes</key>
20
+ <true/>
21
+ <key>escapequerysemicolons</key>
22
+ <true/>
23
+ <key>growloutput</key>
24
+ <false/>
25
+ <key>growloutputsticky</key>
26
+ <false/>
27
+ <key>keyword</key>
28
+ <string>e</string>
29
+ <key>logging</key>
30
+ <false/>
31
+ <key>parameter</key>
32
+ <integer>0</integer>
33
+ <key>silent</key>
34
+ <true/>
35
+ <key>subtitle</key>
36
+ <string>Edit a file in TextMate</string>
37
+ <key>title</key>
38
+ <string>Edit File</string>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>action</key>
6
+ <false/>
7
+ <key>category</key>
8
+ <string>SCRIPTS</string>
9
+ <key>command</key>
10
+ <string>ioreg -l | grep IOPlatformSerialNumber</string>
11
+ <key>escapequery</key>
12
+ <true/>
13
+ <key>escapequerybackquotes</key>
14
+ <true/>
15
+ <key>escapequerybrackets</key>
16
+ <true/>
17
+ <key>escapequeryquotes</key>
18
+ <true/>
19
+ <key>escapequerysemicolons</key>
20
+ <true/>
21
+ <key>growloutput</key>
22
+ <true/>
23
+ <key>growloutputsticky</key>
24
+ <false/>
25
+ <key>keyword</key>
26
+ <string>serial</string>
27
+ <key>logging</key>
28
+ <false/>
29
+ <key>silent</key>
30
+ <true/>
31
+ <key>subtitle</key>
32
+ <string>Displays the Mac serial number</string>
33
+ <key>title</key>
34
+ <string>Mac Serial</string>
35
+ </dict>
36
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>action</key>
6
+ <false/>
7
+ <key>category</key>
8
+ <string>SCRIPTS</string>
9
+ <key>command</key>
10
+ <string>purge
11
+ echo "Memory Purged"</string>
12
+ <key>disabled</key>
13
+ <false/>
14
+ <key>escapequery</key>
15
+ <true/>
16
+ <key>escapequerybackquotes</key>
17
+ <true/>
18
+ <key>escapequerybrackets</key>
19
+ <true/>
20
+ <key>escapequeryquotes</key>
21
+ <true/>
22
+ <key>escapequerysemicolons</key>
23
+ <true/>
24
+ <key>growloutput</key>
25
+ <true/>
26
+ <key>growloutputsticky</key>
27
+ <false/>
28
+ <key>keyword</key>
29
+ <string>memp</string>
30
+ <key>logging</key>
31
+ <false/>
32
+ <key>parameter</key>
33
+ <integer>0</integer>
34
+ <key>silent</key>
35
+ <true/>
36
+ <key>subtitle</key>
37
+ <string>Cleans up inactive memory, turning it into free memory.</string>
38
+ <key>title</key>
39
+ <string>Memory Purge</string>
40
+ </dict>
41
+ </plist>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>creator</key>
6
+ <string>Brooke Kuhlmann</string>
7
+ <key>website</key>
8
+ <string>http://www.redalchemist.com</string>
9
+ </dict>
10
+ </plist>