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
MyElement | |
Hover | |
HStill | |
HMoving | |
onMouseOut -> MouseOutside | |
onMouseMove -> HMoving | |
onMouseStop -> HStill | |
MouseOutside* | |
onMouseEnter -> HMoving |
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
const glob = require('glob'); | |
const globPromise = (string) => new Promise((resolve, reject) => { | |
glob(string, (error, result) => { | |
if (error) { | |
reject(error); | |
} | |
resolve(result); | |
}); | |
}); |
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
const glob = require('glob'); | |
const globPromise = (string) => new Promise((resolve, reject) => { | |
glob(string, (error, result) => { | |
if (error) { | |
reject(error); | |
} | |
resolve(result); | |
}); | |
}); |
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
#TabsToolbar { | |
visibility: collapse !important; | |
} | |
#main-window[tabsintitlebar]:not([sizemode="fullscreen"]) #TabsToolbar:not([collapsed="true"]) + #nav-bar:not(:-moz-lwtheme) { | |
background-clip: padding-box; | |
position: relative; | |
z-index: 1; | |
padding-left: 67px; | |
} |
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
/* | |
Just paste into your console.. or make a tampermonkey/greasemonkey script out of it. | |
Only tested in Chrome. Be careful.. three tabs are opened per book. | |
If a books image is not removed, you'll need to try to download that book yourself. | |
Use this script (enter into the console of your browser) on the following pages: | |
http://www.oreilly.com/programming/free/ | |
http://www.oreilly.com/business/free/ |
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
/* | |
Debounce promises. | |
Prevents multiple calls if the request is the same and either: | |
1. the promise has not resolved yet | |
2. a delay of {timeout} milliseconds has not passed since the last call | |
The call identity is dependent upon a key created with JSON.stringify(arguments) | |
*/ | |
var debouncePromise = function debouncePromise(methodName, promise, throttleTimeout) { |
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
/** | |
* @fileOverview | |
* @author Russell Dempsey <SgtPooki@gmail.com> | |
* 2015 | |
*/ | |
'use strict'; | |
var Decoration = {}; |
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() { | |
'use strict'; | |
var $toolTip = $('<div/>'); | |
$toolTip.addClass('customTooltip-rsd') | |
.css({ | |
position: 'absolute', | |
display: 'inline-block', | |
'font-size': '22px', | |
backgroundColor: '#000', | |
color: '#ffffff', |
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
var recursiveBezier = function recursiveBezier(pointArray, t) { | |
var P1; | |
var P2; | |
var inverse; | |
var length = pointArray.length; | |
if (length === 1) { | |
return pointArray[0]; | |
} else { | |
P1 = recursiveBezier(pointArray.slice(0,length-1), t) | |
P2 = recursiveBezier(pointArray.slice(1), t); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2015-02-20 18:12:53" build="140707"> | |
<value name="ColorTable00" type="dword" data="00222827"/> | |
<value name="ColorTable01" type="dword" data="009e5401"/> | |
<value name="ColorTable02" type="dword" data="0004aa74"/> | |
<value name="ColorTable03" type="dword" data="00a6831a"/> | |
<value name="ColorTable04" type="dword" data="003403a7"/> | |
<value name="ColorTable05" type="dword" data="009c5689"/> |