Web pages are often built of several high-level building blocks, like <Navigation>
, <Content>
, <Aside>
and <Footer>
. A typical web page looks roughly like this:
<html>
<head>
[ | |
{ | |
"name": "freeCodeCamp/freeCodeCamp", | |
"description": "The https://freeCodeCamp.com open source codebase and curriculum. Learn to code and help nonprofits.", | |
"stars": 266038, | |
"type": "other" | |
}, | |
{ | |
"name": "twbs/bootstrap", | |
"description": "The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.", |
class DuplicateDependenciesError extends Error { | |
constructor(duplicateDependencies) { | |
super(); | |
Error.captureStackTrace(this, DuplicateDependenciesError); | |
const messages = duplicateDependencies.map(helpfulErrorMessage); | |
const dedupedMessages = dedupeMessages({})(messages); | |
this.name = "DuplicateDependenciesError"; | |
this.message = "compilation\nDuplicate dependencies found:\n" + dedupedMessages.join("\n"); |
test |
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
1 - install GPG tools : https://gpgtools.org/
2 - Create new key for your github email
3 - Add key to git on your local machine: git config --global user.signingkey YOURKEY
4 - configure git to sign all commits: git config --global commit.gpgsign true
5 - add to the bottom of ~/.gnupg/gpg.conf
:
var phridge = require('phridge'); | |
var simpleLogScript = require.resolve('./simpleLogScript.js'); | |
var phantomInstances = {}; | |
function spawnPhantom(id) { | |
return phridge.spawn() | |
.then(function (phantom) { | |
phantomInstances[id] = phantom; |
.a { | |
font-family: Arial; | |
font-family: Helvetica; | |
} | |
.b { | |
font-family: Arial; | |
} |