?

Log in

No account? Create an account

Best Line Rider Evar

Jan. 2nd, 2007 | 10:19 am


[ via ]

Link | |

The Secrets of Viral Videos

Jan. 1st, 2007 | 10:58 pm

Link | |

Santa? SANTA?!?

Dec. 23rd, 2006 | 12:31 am

He was taken to a side room, still dressed in a Father Christmas outfit, and attempts were made to revive him.

But when medics arrived, he was pronounced dead.

Link | |

Blizzard of '06, Fuck Yea

Dec. 21st, 2006 | 04:24 pm

During the Blizzard of 2003, I was trapped in my apartment for two days, completely alone with a broken TV, no internet, no booze, and a block of cheddar cheese and 10 Cliff bars for food. I know that sounds like whining but trust me, diarrhea is only so entertaining for so long, people.

This time it's "we" not "me," with working internet, a pile of Netflix and cable TV and, thanks to a recent holiday party, enough beer and treats to last us for weeks. Yay blizzards!









Link | |

DIAB

Dec. 18th, 2006 | 01:57 pm

Guys: are you looking for last minute gift ideas? SNL comes through with this classy suggestion. I hope to give it a try.

Link | |

The Christmas Tree

Dec. 18th, 2006 | 11:33 am


I LOLd.

Link | |

Happy Holidays LJ

Dec. 17th, 2006 | 08:36 pm


Gah! We totally didn't have time to make a good card this year. :( So, we borrowed a little form elf yourself and an old photo of Squishy for this one. Happy holidays nonetheless, all!

Link | |

Greasemonkey, I Wuv You

Dec. 13th, 2006 | 10:48 am

I think we've all been there. That place where you have to manually change about a bazillion database records via a laborious web-interface. I was there today. I had to change the details of roughly 300 Flyspray bug reports and it wasn't going to be fun.

Here's what I had to do to make these database records right:

  1. Click "next task" to move to the next record.
  2. Click "Edit this Task" to edit the record.
  3. Change the Bug Type drop-down from "Bug" to "Feature Request."
  4. Change the Bug Status drop-down from "Unassigned" to "Assigned."
  5. Change the Assigned To drop-down from "Unassigned" to my own name.
  6. Change the Due in Version drop-down from "Undetermined" to version 1.3.
  7. Click "Save Details."

So, that's 7 clicks per record. Let's see, 7 x 300 records = a recockulus pain in the ass.

By about the fifth record I started pining for some kind of web macro system to make this much easier. After much whining and bitching, I slapped my forehead - there is already one, and it's Greasemonkey, of course.

The script was ready in seconds:

// ==UserScript==
// @name Poopulator
// @namespace http://www.yermom.com
// @description A template for creating new user scripts from
// @include http://www.yermom.com/flyspray/?do=details&id=*&edit=yep
// ==/UserScript==

var type = document.getElementById("tasktype");
type.selectedIndex = 1;
var status = document.getElementById("status");
status.selectedIndex = 2;
var user = document.getElementById("assignedto");
user.selectedIndex = 1;
var version = document.getElementById("dueversion");
version.selectedIndex = 2;


Basically, when the edit page loads, find the dropdowns and set them to their right values.

Not even sure if the wildcard value for id query string variable in the @include area would even work, I gave it a shot. It did, as well as the rest of the script. It worked like a charm, in fact. Now, simply editing a task automgically sets all those dropdowns perfectly. It's not the most polished thing in the world, but it's probably going to save me hours of time.

It made me very happy. So very, very happy. Enough to go tell it to my LiveJournal.

Link | |

WoW 2.0

Dec. 7th, 2006 | 10:54 am

A: So I hear World of Warcraft is broken. Finally you are getting the equivalent of what SOE does on a regular basis.
B: Yea it's pretty messed up right now.
A: How? 'splain to a noob.
B: It's World of Warcraft 2.0 Beta
B: And Blizzard broke the back-button.
Tags: , ,

Link | |

Trapped in the Clauset

Dec. 7th, 2006 | 10:41 am




[ via ]

Link | |