AaronMT
Joined 28 September 2007
Greetings
Blog
DPS909A - Fall 2008
Mozilla Project
Mozilla Ubiquity
Ubiquity Commands - Work in Progress
Display IP address
Displays users IP address immediately
by AaronMT
Usage: ip
Utilizes the whatismyip website to parse the IP and display it right in the console
CmdUtils.CreateCommand({ name: "ip", homepage: "http://aaronmt.wordpress.com", author: { name: "Aaron Train", email: "aaron.train@gmail.com"}, description: "Displays your internal IP address.", help: "Just type IP", icon: "http://whatismyip.com/favicon.ico", preview: function(pblock) { var url = "http://whatismyip.com/automation/n09230945.asp"; jQuery.get( url, function(data) { pblock.innerHTML = data; }); }, execute: function() { var url = "http://whatismyip.com"; Utils.openUrlInBrowser(url); }, });
Search MedicineNet
Searches MedicineNet with a given keyword
by AaronMT
Usage: health keyword phrase
CmdUtils.CreateCommand( { name: "health", homepage: "http://medicinenet.com", author: { name: "Aaron Train", email: "aaron.train@gmail.com" }, description: "Takes keyword phrase and searches MedicineNet", help: "health <i>keyword phrase</i>", icon: "http://images.medicinenet.com/images/fav/MN.ico", takes: {"Enter a noun": noun_arb_text}, preview: function(pblock, keywordPhrase) { pblock.innerHTML = "Search the MedicineNet by entering any phrase <b>" + keywordPhrase.text + "</b>" }, execute: function(keywordPhrase) { var searchURL = "http://www.medicinenet.com/" + keywordPhrase.text; Utils.openUrlInBrowser(searchURL); } });
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); }, });
Bugs
Ubuntu
[1] Bugs I have reported
Firefox
[2] Bugs I have reported
External Projects
I am deeply passionate with the Ubuntu project. Having first used it in its infancy and being involved with the community, collaborating with the community to better the product has been a hobby and passion of mine for the past few years. I have been contributing to many tutorials and solutions in the community, such as:
Contact
- AaronMT on IRC(moznet#seneca or freenode#seneca)
- amtrain@learn.senecac.on.ca