Updates from November, 2009

  • AssignToMe Bookmarklet

    1:14 pm on November 23, 2009 | 0 Permalink

    I’ve been trying to cut down on the number of addons I run. Previously I blogged about my Bugzilla “assigntome” ubiquity command. Turns out it is really easy to turn it in to a bookmarklet. Just drag AssignToMe to your bookmarks toolbar.

    Code:

    javascript:(function() {
        var logout_re = /[\s\S]*Log.*out.*[\s]\s*(.*)\s/m;
        var links = document.getElementById('footer').getElementsByClassName('links')[0].getElementsByTagName('li');
        var user_name = links[links.length - 1].textContent.replace(logout_re, '$1');
        var evt = document.createEvent('MouseEvents');
        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
        document.getElementById('bz_assignee_edit_action').dispatchEvent(evt);
        document.getElementById('assigned_to').value = user_name;
        document.getElementById('commit_top').click();
    })();
    
     
  • Operations Status Dashboard

    10:37 am on September 21, 2009 | 5 Permalink

    Often when we have an operational issue or outage confusion occurs. We are taking a step to resolve this confusion by creating a status dashboard similar to Google and Twitter. It is mostly a prototype at this point. How can we make this service more useful? Feedback is greatly appreciated.

     
  • Speedup Firefox with VACUUM

    1:34 pm on August 20, 2009 | 22 Permalink

    I’ve seen a few posts about VACUUMing Firefox’s sqlite database for better performance, but each requires Firefox to be shut down.

    Here is a way to VACUUM your places database from within the browser.

    1. Go to Tools -> Error Console
    2. Paste the following in the “Code:” text-box: Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");
    3. Press Enter

    Your UI will freeze for a bit while the vacuum runs.

    Resources:

    Cross post from my personal blog.

     
  • My Life is a Little Bit Easier Now

    2:56 pm on September 12, 2008 | 1 Permalink

    Lately, I’ve found the process of assigning a bug to myself slightly cumbersome and wanted to speed up the process. I happen to be a fan of Ubiquity, so I decided to write a command.

    The command assigntome, by default, changes the assigned to field to your user. The whole process can be automated by tacking on the submit noun, which will simulate clicking the “Commit” button.

    To install assigntome subscribe to my Ubiquity feed.

    Cross-post from blog.oremj.com.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
esc
cancel