Difference between revisions of "User:AaronMT"
(→Contact) |
(→DPS909A - Fall 2008) |
||
Line 5: | Line 5: | ||
== DPS909A - Fall 2008 == | == DPS909A - Fall 2008 == | ||
+ | Ubiquity Commands - Work in Progress | ||
+ | |||
+ | <b>Pastebin</b><br /> | ||
+ | <i>Transfers selected text to a new pastebin</i>><br /> | ||
+ | <b>Usage:</b> <i>pb</i> | ||
+ | <pre>CmdUtils.CreateCommand({ | ||
+ | name: "pb", | ||
+ | homepage: "http://aaronmt.wordpress.com", | ||
+ | author: { name: "Aaron Train", email: "aaron.train@gmail.com"}, | ||
+ | description: "Transfers selected text to a new Pastebin.", | ||
+ | help: "Selected text will be sent to a new Pastebin", | ||
+ | icon: "http://pastebin.ca/pastebin.ico", | ||
+ | preview: function(pblock) { | ||
+ | var text=context.focusedWindow.document.getSelection(); | ||
+ | var url = "http://pastebin.ca"; | ||
+ | }, | ||
+ | execute: function() { | ||
+ | var url = "http://pastebin.ca"; | ||
+ | var text=context.focusedWindow.document.getSelection(); | ||
+ | displayMessage(text); | ||
+ | Utils.openUrlInBrowser(url); | ||
+ | }, | ||
+ | });</pre> | ||
== Contact == | == Contact == |
Revision as of 20:56, 9 September 2008
Greetings
Hello, my name is Aaron Train. I am a recent graduate of Computer Programming and Analysis. As of the previous winter (08), I have transferred into the BSD program to earn a degree. Currently, I am enrolled in a whole slew of different courses ranging from the 3rd to the 7th semester. I find open source fascinating, particularly Mozilla's projects as well as Canonical's Ubuntu GNU/Linux project. I look forward to tinkering with the innards of Firefox, in DPS909. I also enjoy learning more about software development, open source and current/future web applications, and lastly modern programming languages.
DPS909A - Fall 2008
Ubiquity Commands - Work in Progress
Pastebin
Transfers selected text to a new pastebin>
Usage: pb
CmdUtils.CreateCommand({ name: "pb", homepage: "http://aaronmt.wordpress.com", author: { name: "Aaron Train", email: "aaron.train@gmail.com"}, description: "Transfers selected text to a new Pastebin.", help: "Selected text will be sent to a new Pastebin", icon: "http://pastebin.ca/pastebin.ico", preview: function(pblock) { var text=context.focusedWindow.document.getSelection(); var url = "http://pastebin.ca"; }, execute: function() { var url = "http://pastebin.ca"; var text=context.focusedWindow.document.getSelection(); displayMessage(text); Utils.openUrlInBrowser(url); }, });
Contact
Email: amtrain at learn.senecac.on dot ca
MSN: aaron.train at rogers dot com
IRC: AaronMT