This file contains 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
<div class="foo">Foo</div> | |
<div class="bar">Bar</div> |
This file contains 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
<html> | |
<head> | |
<script src="https://vjs.zencdn.net/5.0/video.min.js"></script> | |
</head> | |
<body> | |
Hello, | |
<script> | |
document.write('World!'); | |
</script> | |
</body> |
This file contains 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
#!/usr/local/bin/node | |
/* jshint node:true */ | |
// This hook ensures the commit message includes [ci skip] or [ci run] | |
var fs = require('fs'), | |
spawn = require('child_process').spawn, | |
args = process.argv.slice(2), | |
filePath = args[0], |
This file contains 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
/** | |
* Sticky, single elements bound to their containers. | |
* Parent: .sticky-single | |
* Child: .sticky-single__element | |
*/ | |
$('.sticky-single__element').each(function initializeStickySingle() { | |
// Create an "enter" sticky-single waypoint handler. | |
new Waypoint({ | |
element: this, | |
offset: 0, |
This file contains 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
accessibility: Accessibility | |
adminux: Admin/editor UX | |
analytics: Analytics | |
api: APIs | |
build: Build tools | |
ci: Continous integration | |
crm: CRM / Eloqua / SalesForce | |
css: CSS / SASS | |
db: Databases | |
dependency: Dependecy management |
This file contains 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
// #define EVENTMANAGER_EVENT_QUEUE_SIZE 20 | |
// #define EVENTMANAGER_LISTENER_LIST_SIZE 10 | |
// #include <EventManager.h> | |
#include <Event.h> | |
#include <Timer.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_LEDBackpack.h> | |
#include <RunningAverage.h> | |
#include <CapacitivePin.h> |
This file contains 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
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]](([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+ |
This file contains 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
/** | |
* JS Patterns | |
*/ | |
/** | |
* 1. Mixed jQuery | |
*/ | |
(function($, window, document, undefined) { | |
This file contains 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
foo = false; | |
(function () { | |
foo = true; | |
})(); | |
setTimeout(function () { | |
foo = false; | |
}, 0); |
This file contains 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 initLargeClickRegions() { | |
// Make the entire views row clickable to the first link element within the row. | |
$('.views-row').each(function () { | |
var $link = $(this).find('a:first'); | |
if ($link.length) { | |
$(this).css('cursor', 'pointer'); | |
$(this).on('click.expanded', function (e) { | |
// Only if a simple primary mouse button click (no ctrl/meta key | |
// pressed) and not a link (or child of link) |