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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>FoamTree Quick Start</title> | |
<meta charset="utf-8" /> | |
</head> | |
<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
Team Create Form | |
Inactive | |
focus -> Active | |
Active | |
reset -> Inactive | |
Empty | |
type -> Completed | |
blur -> Inactive |
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
Dear MP, | |
I am sure - for reasons set out below - that you will not mind my writing to you again about the following: | |
(1) The EU referendum of 23 June 2016 was advisory, non-binding, non-mandating, and explicitly so: Briefing Note 07212 issued to you on 3 June 2016, and which you very carefully read in preparation for debating the Referendum Bill, made this crystal clear (§5). It also explicitly pointed out (§6) that if there were to be any suggestion otherwise, that a supermajority would be required because of the major degree of constitutional change, and deprivation of citizens’ rights, that would be involved in a decision to leave the EU. | |
(2) The vote on the day represented 37% of the total electorate enfranchised for the poll – an electorate that excluded 16-17 year olds, a large class of expatriates, and those of our fellow EU citizens who live in the UK and pay their taxes here (‘no taxation without representation’: you allowed EU citizens to vote in the Scottish referendum of 2014 - and 16-17 year o |
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
import * as postcss from 'postcss'; | |
module.exports = postcss.plugin('postcss-remove-important', (options = {}) => { | |
return css => { | |
css.walkDecls(decl => { | |
decl.important = false; | |
}); | |
}; | |
}); |
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
{'message': 'There have been too many calls from this ad-account. Wait a bit and try again.: There have been too many calls from this ad-account. Wait a bit and try again.', 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'level': 'ERROR'}, | |
{'message': "Sorry, HTML Cannot be Read: We're working to fix it. Please try again.", 'l |
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 raven = require('raven'); | |
module.exports = client => (err, req, res, next) => { | |
const status = err.status || err.statusCode || err.status_code || 500; | |
// skip anything not marked as an internal server error | |
if(status < 500) return next(err); | |
const kwargs = raven.parsers.parseRequest(req); | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Webdriverio Testpage</title> | |
</head> | |
<body> | |
<header> | |
<h1>Webdriverio Testpage</h1> | |
</header> |
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
// Reject if every promise fails, otherwise resolve | |
// with the values which resolved, ignoring errors. | |
// Inspired by https://github.com/slightlyoff/ServiceWorker/issues/359 | |
function allThatResolve(promises) { | |
var results = [], | |
seen = 0, | |
length = promises.length; | |
function done(resolve, reject) { | |
seen++; |
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
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin smallscreen() { | |
// landscape, width < 599, ensuring device is landscape and not portrait with keyboard open | |
@media all and (orientation: landscape) and (max-width: 599px) and (min-device-aspect-ratio: 1/1), |
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
// ---- | |
// Sass (v3.3.6) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
%highlight-focus-state { | |
box-shadow: red; | |
} | |
%highlight-focus-state-webkit { |
NewerOlder