Skip to content

{ Author Archives }

Tracking Mr. Shelby

One of the project areas I'm hoping that some of my students in Mixing and Remixing Information 2009 (MRI 2009) course will take up is promoting government accountability and transparency in the new Obama era. (Interestingly enough, John Musser wrote last week on ProgrammableWeb about the Sunlight Labs Mashup Contest — something I'll definitely have […]

Tagged , ,

listing applications installed in Windows XP with Python

The end of 2008 is approaching, making it an appropriate time to take inventory of my life — which also includes a lot of  my computer-related stuff.   In addition to cleaning up my office, I'm also cleaning up my Lenovo Thinkpad T60p, my primary work computer, whose drive has been close to its 100 GB […]

Tagged , , ,

Getting primary and secondary item types in Zotero

A Chickenfoot script for calculating the primary and secondary Zotero items (which draws upon the code in overlay.js->onLoad(): // based on https://www.zotero.org/trac/browser/extension/tags/1.0.7/chrome/content/zotero/overlay.js#L153 var Zotero = chromeWindow.Zotero; var itemTypes = Zotero.ItemTypes.getPrimaryTypes(); for(var i = 0; i<itemTypes.length; i++) { output (itemTypes[i]['name'] + ":" + itemTypes[i]['id']); } var itemTypes = Zotero.ItemTypes.getSecondaryTypes(); for(var i = 0; i<itemTypes.length; i++) { output (itemTypes[i]['name'] + ":" + itemTypes[i]['id']); } The output of the script is (for […]

Tagged ,