Tested under webpack-dev-server 1.7.0.
- Clone this gist
npm install
npm start
- Visit http://localhost:8080 (or http://192.168.x.x:8080) on multiple devices
- Edit entry.js and hit save
Tested under webpack-dev-server 1.7.0.
npm install
npm start
KB Article Number(s): 2704299 | |
Language: All (Global) | |
Platform: i386 | |
Location: (http://hotfixv4.microsoft.com/Windows%207/Windows%20Server2008%20R2%20SP1/sp2/Fix387976/7600/free/448094_intl_i386_zip.exe) | |
----------------------------------------------------------- | |
KB Article Number(s): 2704299 | |
Language: All (Global) | |
Platform: x64 | |
Location: (http://hotfixv4.microsoft.com/Windows%207/Windows%20Server2008%20R2%20SP1/sp2/Fix387976/7600/free/448095_intl_x64_zip.exe) |
/* | |
Inviteyoself for Google Doc | |
=========================== | |
Google doc currently records who edited the file if the file is *not* set to `Anyone can edit'. | |
We cannot track the author of edits in documents that is set to `Anyone with the link can edit'. | |
This script adds a trigger to a Google Form to automatically setup submitted email to become an | |
editor of a specific Google document. |
{} |
const { | |
graphql, | |
GraphQLSchema, | |
GraphQLObjectType, | |
GraphQLString, | |
} = require('graphql'); | |
const schema = new GraphQLSchema({ | |
query: new GraphQLObjectType({ | |
name: 'Query', |
/* Converts | |
export default class extends React.PureComponent { | |
static displayName = 'Calendar'; | |
... | |
} | |
to this: | |
export default class Calendar extends React.PureComponent { |
[ | |
{ | |
"key_as_string": "2016-12-05", | |
"key": 1480896000000, | |
"doc_count": 4, | |
"user_counts": { | |
"value": 1 | |
} | |
}, | |
{ |
const DOC_URL = process.argv[2]; | |
const puppeteer = require('puppeteer'); | |
const fs = require('fs'); | |
const readabilityJsStr = fs.readFileSync('node_modules/readability/Readability.js', {encoding: 'utf-8'}) | |
function executor() { | |
return new Readability({}, document).parse(); | |
} |
{ | |
"type": "bubble", | |
"styles": { | |
"footer": { | |
"separator": true | |
} | |
}, | |
"body": { | |
"type": "box", | |
"layout": "vertical", |