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
<cffunction name="mergePDFs" access="public" output="false" returntype="binary" hint=""> | |
<cfargument name="pdfs" type="array" required="true" /> | |
<cfset var document = "" /> | |
<!--- // temp PDF file to be written to ---> | |
<cfset var fileOut = ExpandPath("./" & createUUID() & ".pdf") /> | |
<cfset var fileIO = "" /> | |
<cfset var writer = "" /> | |
<cfset var cb = "" /> | |
<cfset var pdf = 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
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --show-paint-rects --remote-debugging-port=9222 |
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
_global_namespace_things = []; | |
var _captured_global_namespace = this; | |
for (var prop in _captured_global_namespace) { | |
_global_namespace_things.push(prop); | |
} |
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
$.fx.off = true; |
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($){ | |
var zepto = $.zepto, oldQsa = zepto.qsa, oldMatches = zepto.matches | |
function visible(elem){ | |
elem = $(elem) | |
return !!(elem.width() || elem.height()) && elem.css("display") !== "none" | |
} | |
// Implements a subset from: | |
// http://api.jquery.com/category/selectors/jquery-selector-extensions/ |
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
/* | |
* Normalized hide address bar for iOS & Android | |
* (c) Scott Jehl, scottjehl.com | |
* MIT License | |
*/ | |
(function( win ){ | |
var doc = win.document; | |
// If there's a hash, or addEventListener is undefined, stop here | |
if( !location.hash && win.addEventListener ){ |
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
describe("our use of global namespace", function () { | |
var in_array = function (value, array) { | |
return ($.inArray(value, array) !== -1); | |
}; | |
var global_namespace_provenance = function (thing) { | |
var previous_global_things = _global_namespace_things; | |
if (in_array(thing, previous_global_things)) { | |
return "existed in global before: " + thing; |
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
# store credentials | |
git config credential.helper store | |
# unset storing of credentials | |
git config --unset credential.helper |
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 (module) { | |
'use strict'; | |
var config = { | |
plato: { | |
options : { | |
exclude: /assets\/.+/ | |
}, | |
files: { | |
'reports/plato': ['src/**/*.js', 'test/**/*.js'] |
OlderNewer