This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(a,b,c,d,e){d=a.length;for(;d--;){e=a[d];if(e.rel=='stylesheet'){e.href=e.href.split(c)[0]+c+b;}}})(document.getElementsByTagName('link'),new Date().getTime(),'?'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(w,l){l=w.location.href.split('/');w.location=l[0]+l[1]+'/node/'+w.prompt('Node ID?');})(window); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.decodeEntity = window.decodeEntity || function(str) { var frag = document.createElement('div'); frag.innerHTML = str; return frag.innerText; } | |
// Examples: | |
// decodeEntity('>'); -> '<' | |
// decodeEntity('Ì'); -> 'Ì' | |
window.encodeEntity = window.encodeEntity || function(str) { var frag = document.createElement('div'); frag.innerText = str; return frag.innerHTML; } | |
// Examples: | |
// encodeEntity('<'); -> '>' | |
// encodeEntity('Ì'); -> 'Ì' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>Example</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<style> | |
article, aside, figure, footer, header, hgroup, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Liège waffles (the kind of Belgian waffles that have chunks of sugar in em) | |
makes about 15 waffles | |
ingedients: | |
- 800gr flour | |
- 270gr milk at room temperature | |
- 70gr fresh yeast | |
- 3 eggs and 3 yolks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fills the suggestion popup with any matches received | |
*/ | |
Drupal.jsAC.prototype.found = function (matches) { | |
// Bail if we get an array (adhese script related) | |
if (matches instanceof Array) { return false; } | |
// If no value in the textfield, do not show the popup. | |
if (!this.input.value.length) { | |
return false; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 cute young bunny, cut in pieces | |
1 union and 2 shallots (shredded) | |
splash of raspberry vinegar | |
some bay laurel, thyme and parsley (and maybe some rosemary) | |
1 bottle of dark abbey beer or a dark trappist (33cl, ~11oz, Dark Leffe, Rochefort, Grimbergen, ... just nothing too sour) | |
8 dried prunes, soaked and pitted | |
butter | |
optional: tiny chunks of smoked bacon, pickled unions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For 4 ppl: | |
- 4 large unions, shredded | |
- 8 bulbs of garlic, shredded | |
- 200gr (7oz) of herb butter | |
- 1kg (~2lbs) tomato purée (use less if it's concentrated) (you could replace part of this with fresh, pealed tomatoes, just don't use roma tomatoes or something like that as these are too hard) | |
- .5kg (~1lbs) mixed minced meat (pork/beef, but feel free to use 100% veal if you're fancy like that) | |
- tiny bit of starch (for those who like their sauce rly thick) | |
melt the herb butter in a deep pan (this is where the sauce will end up in) | |
sweat the unions and garlic in the herb butter, make sure it doesn't go brown, so a rly gentle fire |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
$.fn.equalizeHeights = function(smallest){ | |
var largest = 0; | |
this.css('height', '').each(function() { | |
var height = $(this).outerHeight(); | |
if (!smallest) { | |
if(height > largest) largest = height; | |
} | |
else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin rgba-ie($color, $alpha) { | |
$rgba: rgba($color, $alpha); | |
$ie-hex-str: ie-hex-str($rgba); | |
background-color: transparent; | |
background-color: $rgba; | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#{$ie-hex-str},endColorstr=#{$ie-hex-str}); | |
zoom: 1; | |
} |