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 January 10, 2013 20:51
content: url(...)
/**
* content: url(...)
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.container {
@marcoos
marcoos / LICENSE
Created March 14, 2012 20:47
Bookmarklet replacing oldschoold YouTube Flash embeds with the iframe-based HTML5 embeds
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
@marcoos
marcoos / dabblet.css
Created February 24, 2012 20:53
display: run-in version of http://dabblet.com/gist/1901867/
/**
* display: run-in version of http://dabblet.com/gist/1901867/
*/
dt { display: run-in; margin-right: 0.67ex; }
dd { display: block; margin: 0; }
@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 / dabblet.css
Created December 17, 2011 10:25
Samuel L. Ipsum with a perspective
/**
* 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;
}
@marcoos
marcoos / README.md
Created August 14, 2011 10:22
Twee+ Expander bookmarklet

This is a bookmarklet that lets you expand tweets shortened with Lea Verou's tweeplus.com.

Read the usage details.

@marcoos
marcoos / createNodeList.js
Created August 13, 2011 14:59
createNodeList
/**
* 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) {
@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();
};
});