I hereby claim:
- I am bpierre on github.
- I am bpierre (https://keybase.io/bpierre) on keybase.
- I have a public key whose fingerprint is D737 C824 4126 75D9 89E9 4835 5277 8183 234D C59F
To claim this, I am signing this object:
/* | |
* Mini location.hash update system | |
* | |
* Usage: | |
* | |
* var createHash = require('./hash'); | |
* var hash = createHash('!/', function(value) { | |
* // Value updated | |
* }); | |
* |
### Keybase proof | |
I hereby claim: | |
* I am bpierre on github. | |
* I am bpierre (https://keybase.io/bpierre) on keybase. | |
* I have a public key whose fingerprint is 219A B92C E852 719D 99C3 5A1B 17B2 82B4 3284 3D18 | |
To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
## Colours and font styles | |
## Syntax: echo -e "${FOREGROUND_COLOUR}${BACKGROUND_COLOUR}${STYLE}Hello world!${RESET_ALL}" | |
# Escape sequence and resets | |
ESC_SEQ="\x1b[" | |
RESET_ALL="${ESC_SEQ}0m" | |
RESET_BOLD="${ESC_SEQ}21m" | |
RESET_UL="${ESC_SEQ}24m" | |
# Foreground colours |
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- | |
Name: DATA SOURCE PAGINATION | |
Version: 1.4 with custom elements | |
Author: Nick Dunn <nick@nick-dunn.co.uk>, extended by Nils Hörrmann <post@nilshoerrmann.de> | |
URL: http://symphony-cms.com/downloads/xslt/file/20482/ | |
Required Parameters: |
/* | |
* jQuery Equalize Height 0.2 | |
* Copyright (c) 2012 Simon Ertel (simonertel.net) | |
* Licensed under the MIT LICENSE | |
*/ | |
(function($){ | |
$.fn.equalizeHeight = function(){ | |
var heights = []; | |
return this.each(function(i){ | |
heights.push($(this).height()); |
function getWave(min, max, steps) { | |
var stepLength = (max - min) / (steps-1); | |
var roundedStepLength = Math.round(stepLength*10)/10; | |
var rounder = roundedStepLength*10 - Math.floor(roundedStepLength)*10; | |
var curStep = 0, | |
i = 0; | |
var steps = []; | |
for(i = min; i+rounder < max; i += Math.floor(roundedStepLength)) { |
<?xml version="1.0" encoding="utf-8" ?> | |
<data> | |
<contributions> | |
<pagination | |
total-entries="11" | |
total-pages="2" | |
entries-per-page="10" | |
current-page="1" /> | |
</contributions> | |
</data> |
var webdeveloper_editCSSIntervalId = null; | |
var webdeveloper_editCSSOldStyleText = new Array(); | |
var webdeveloper_editCSSSelectedTab = 0; | |
var webdeveloper_editCSSUpdateFrequency = 500; | |
// Applies the CSS | |
function webdeveloper_applyCSS() | |
{ | |
var contentDocument = webdeveloper_getContentDocument(); | |
var headElement = webdeveloper_getDocumentHeadElement(contentDocument); |
Error.prepareStackTrace = function(error, structuredStackTrace) { | |
console.log('ok.'); | |
}; | |
// Simple test, ok | |
try { | |
console.log('simple test\u2026'); | |
i_dont_exist(); | |
} catch(e) { | |
var access_stack = e.stack; |