npm install
npm start
Go to localhost:8080
| <!-- | |
| What? | |
| HTML Starter Template for rock-solid Web Apps | |
| Where? | |
| Get the latest template here: https://gist.github.com/matthewmueller/cb33e2c5f6834511cd45f17b59271052 |
| /** Use the built-in document viewer in devtools to inspect your VDOM. | |
| * Usage in console: | |
| * viewComponentTree(document.body) | |
| */ | |
| function viewComponentTree(node) { | |
| let doc = new DOMParser().parseFromString('', 'application/xml'); | |
| function visitor(dom) { | |
| let el, c; | |
| if (dom instanceof Node) { | |
| el = dom.cloneNode(); |
| import React from 'react' | |
| const bgStyles = { | |
| strokeWidth: 3, | |
| strokeLinejoin: 'round', | |
| strokeLinecap: 'round', | |
| fill: 'none', | |
| stroke: '#c3fdff' | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Test App</title> | |
| </head> | |
| <style> | |
| html, body { | |
| height: 100%; |
| # shows all url+titles of Chrome along with front window+tab url+title | |
| set titleString to "" | |
| tell application "Google Chrome" | |
| set window_list to every window # get the windows | |
| repeat with the_window in window_list # for every window | |
| set tab_list to every tab in the_window # get the tabs | |
| repeat with the_tab in tab_list # for every tab |
| query IntrospectionQuery { | |
| __schema { | |
| queryType { name } | |
| mutationType { name } | |
| subscriptionType { name } | |
| types { | |
| ...FullType | |
| } | |
| directives { |
Watch a table for changes and push a notification with a payload describing the change.
In the Postgres shell:
-- Create the functions
Small script for development + builds with browserify.
Uses loose-envify for faster inlining and cross-env to handle windows/unix shells.
Dev features:
Build features:
You need to have SketchTool installed somewhere in your path.
Add this in your ~/.gitconfig file (for some reason, it won't work in a local .gitconfig file):