Skip to content

Instantly share code, notes, and snippets.

View marcoos's full-sized avatar

Marek Stępień marcoos

View GitHub Profile
@marcoos
marcoos / dabblet.css
Created February 24, 2012 20:50 — forked from LeaVerou/dabblet.css
Flexible multiline definition lists with 2 lines of CSS
/**
* Flexible multiline definition lists with 2 lines of CSS
*/
dt, dd { display: inline; margin: 0; }
dd:after {
content: '\000D\000A';
white-space: pre;
}
@marcoos
marcoos / LICENSE.txt
Created July 29, 2011 20:01 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
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
@marcoos
marcoos / jqm-data-cache-never.js
Created May 2, 2011 13:38 — forked from ahoward/jqm-data-cache-never.js
jQuery Mobile "never cache" plugin by ahoward; fixed to honor data-backbtn="false"
// 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();
};
});