Skip to content

Instantly share code, notes, and snippets.

View ScottDugas's full-sized avatar

Scott Dugas ScottDugas

View GitHub Profile
@ScottDugas
ScottDugas / trello.css
Created May 24, 2012 18:47
Stylish that colors the entire Trello card based on labels
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("trello.com") {
/* Highlight cards
* These must go in the same order
* as the hiding labels
* Note, there ordering is important, the colors at the bottom will take precedence over those at the top
*/
div.list-card.purple-label {
@ScottDugas
ScottDugas / pinboard it.js
Created January 3, 2012 00:27
javascript for adding url to pinboard - paste into the url of a bookmark on iphone
javascript:if(document.getSelection){s=document.getSelection();}else{s='';};document.location='https://pinboard.in/add?next=same&url='+encodeURIComponent(location.href)+'&description='+encodeURIComponent(s)+'&title='+encodeURIComponent(document.title)