The actual snapshot is saved in test.js.snap
.
Generated by AVA.
Snapshot 1
The actual snapshot is saved in test.js.snap
.
Generated by AVA.
Snapshot 1
See http://www.giacomovacca.com/2014/10/removing-all-unused-docker-containers.html.
docker rm $(docker ps -a -q)
docker rmi $(docker images -q --filter "dangling=true")
This Gist documents how to obtain a Let's Encrypt certificate for use with CloudFlare origin servers. For background please see my article on CloudFlare and Origin Servers for the Rightfully Paranoid.
I'm assuming OpenSSL is installed on your machine. You're also going to need
Node.js 5.6.0 or above. We'll be using
wilee
to obtain the certificate from
Let's Encrypt.
var legendary = require("legendary"); | |
test1(); | |
test2(); | |
test3(); | |
test4(); | |
test5(); | |
test6(); | |
test7(); |
This proposal specifies how cancelation is triggered, handled and propagated in a Promises/A+ promise library.
In addition to the terminology from Promises/A+ we use the following:
OperationCanceled
is an error used to reject canceled promises.cancel
.This proposal specifies how cancelation is triggered, handled and propagated in a Promises/A+ promise library.
In addition to the terminology from Promises/A+ we use the following:
OperationCanceled
is an error used to reject canceled promises.require([ | |
"dojo/Deferred" | |
], function(Deferred){ | |
var useError = 0; | |
var getError = function(name, useThisError){ | |
var msg = name + ' error'; | |
if(useError || useThisError){ | |
return function(e){ console.error(msg); d.reject(e); }; | |
} | |
}; |
// Supported modes: | |
// * non-modal (like dijit/popup, default) | |
// * modal (like dijit/Dialog) | |
// * underlay (like dijit/Dialog, off by default, specify underlay widget) | |
// * allowTab (TAB goes through the widget, off by default) | |
// * lockFocus (prevent TAB from going out of widget, by default on for modal, off for non-modal) | |
// * cancelOnEsc (close when ESC is hit, on by default) | |
// * cancelOnBlur (close when widget is blurred, on by default) | |
// Also supports `around`, `orient`, `x` and `y` and `padding` args from dijit/popup |
tell application "Terminal" | |
activate | |
set hasWindow to false | |
try | |
repeat with theWindow in windows | |
if (frontmost of theWindow) then | |
set hasWindow to true | |
end if | |
end repeat | |
end try |