We move demo sources into their own folder for a couple reasons:
-
It better groups them (we should feel free to add various demos in separate files).
-
It makes it much easier to bower ignore.
const fs = require('fs'); | |
const path = require('path'); | |
// https://github.com/shinnn/spdx-license-ids/blob/master/index.json | |
const spdx = [ | |
'0BSD', | |
'AAL', | |
'Abstyles', | |
'Adobe-2006', | |
'Adobe-Glyph', |
{ | |
"resourceGeneration": { | |
"minAreaRockRatio": 0.05, | |
"maxAreaSize": 8, | |
"startThreshold": 20, | |
"endThreshold": 5, | |
"injectAttempts": 30, | |
"favourite": 1.5, | |
"secondFavourite": 1.2, | |
"minFailInjectCount": 4, |
consul-template -log-level=debug -dry -template "/etc/apps/myservice-api/env.ctmpl" | |
2015/07/14 23:11:03 [DEBUG] (logging) setting up logging | |
2015/07/14 23:11:03 [DEBUG] (logging) config: | |
{ | |
"name": "consul-template", | |
"level": "debug", | |
"syslog": false, | |
"syslog_facility": "LOCAL0" | |
} |
<polymer-element name="x-foo"> | |
<template> | |
<form action="{{ searchUrl(q) }}" method="post"> | |
<paper-input-decorator class="search" label="Search ..." floatingLabel> | |
<input is="core-input" value="{{q}}"> | |
</paper-input-decorator> | |
</form> | |
</template> | |
<script> | |
Polymer('x-foo', { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<template id="shadowRootTemplate"> | |
<style> | |
div { border: red solid 1px; } |
<import src="jquery" as="$"> | |
<import src="squid.html" element-as="my-squid"> | |
<my-squid></my-squid> |
// This is what I want. (target inheritance, I think?) | |
element.animate( | |
new AnimationGroup([ | |
new Animation([ | |
{opacity: '0'}, | |
{opacity: '1'}], | |
{duration: 350}), | |
new Animation([ | |
{transform: 'scale(0)'}, | |
{transform: 'scale(1)'}, |
8004 verbose afterAdd /Users/imac/.npm/ms/0.6.2/package/package.json written | |
8005 silly install resolved [ { name: 'ms', | |
8005 silly install resolved version: '0.6.2', | |
8005 silly install resolved description: 'Tiny ms conversion utility', | |
8005 silly install resolved repository: { type: 'git', url: 'git://github.com/guille/ms.js.git' }, | |
8005 silly install resolved main: './index', | |
8005 silly install resolved devDependencies: { mocha: '*', 'expect.js': '*', serve: '*' }, | |
8005 silly install resolved component: { scripts: [Object] }, | |
8005 silly install resolved bugs: { url: 'https://github.com/guille/ms.js/issues' }, | |
8005 silly install resolved _id: '[email protected]', |
npm install -g web-component-tester | |
npm WARN engine [email protected]: wanted: {"node":"0.6.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) | |
> [email protected] install /Users/imac/.nvm/v0.10.29/lib/node_modules/web-component-tester/node_modules/sauce-connect-launcher | |
> node scripts/install.js | |
/ | |
/Users/imac/.nvm/v0.10.29/lib/node_modules/web-component-tester/node_modules/lodash/dist/lodash.js:6355 | |
/** | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ |