This is a bookmarklet that lets you expand tweets shortened with Lea Verou's tweeplus.com.
Read the usage details.
/** | |
* content: url(...) | |
*/ | |
html { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
} | |
.container { |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2012 Marek Stepien <marek.stepien@gmail.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
/** | |
* display: run-in version of http://dabblet.com/gist/1901867/ | |
*/ | |
dt { display: run-in; margin-right: 0.67ex; } | |
dd { display: block; margin: 0; } | |
/** | |
* Flexible multiline definition lists with 2 lines of CSS | |
*/ | |
dt, dd { display: inline; margin: 0; } | |
dd:after { | |
content: '\000D\000A'; | |
white-space: pre; | |
} |
/** | |
* Samuel L. Ipsum with a perspective | |
*/ | |
body { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height:100%; | |
perspective: 800px; | |
padding: 100px 0 0 100px; | |
} |
This is a bookmarklet that lets you expand tweets shortened with Lea Verou's tweeplus.com.
Read the usage details.
/** | |
* Creates a NodeList from an array | |
* | |
* @param elements {Array} - array of elements from the same document | |
* @throws {TypeError} - if elements are from different documents | |
* | |
* @returns {NodeList} | |
*/ | |
function createNodeList(elements) { |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
// force certain pages to be refreshed every time. mark such pages with | |
// 'data-cache="never"' | |
// | |
jQuery('div').live('pagehide', function(event, ui){ | |
var page = jQuery(event.target); | |
if(page.attr('data-cache') == 'never'){ | |
page.remove(); | |
}; | |
}); |