Skip to content

Instantly share code, notes, and snippets.

@brianhenk
brianhenk / gist:3628304
Created September 5, 2012 00:04
You borked TMB
HTTP ERROR 500
Problem accessing /. Reason:
The template name, /front/logged_out.html, could not be resolved to a fully qualified template name
Caused by:
java.io.IOException: The template name, /front/logged_out.html, could not be resolved to a fully qualified template name
at com.sun.jersey.server.impl.template.ViewableMessageBodyWriter.writeTo(ViewableMessageBodyWriter.java:79)
@brianhenk
brianhenk / florence-deleter.js
Created November 18, 2011 01:12
Highlights florence + the machine scrobbles from last.fm so they can easily be deleted
var allRows = document.querySelectorAll('table.tracklist tr');
for(var i = 0; i < allRows.length; i++) {
var artist = allRows[i].querySelector('td.subjectCell a').innerText;
if(artist == 'Florence + The Machine' || artist == 'Florence & The Machine') {
var deleteButton = allRows[i].querySelector('td.deleteCell a.delete');
deleteButton.setAttribute('style', 'left: 0px;');
} else {
allRows[i].setAttribute('style', 'display: none;');
}
}