Skip to content

Instantly share code, notes, and snippets.

Ian MacLeod nevir

View GitHub Profile
nevir / license_generator.js
Last active Aug 31, 2018 — forked from davidtsai/license_generator.js
Generate a csv of package dependency licenses for due dilligence
View license_generator.js
const fs = require('fs');
const path = require('path');
const spdx = [
View resourceprofiles.json
"resourceGeneration": {
"minAreaRockRatio": 0.05,
"maxAreaSize": 8,
"startThreshold": 20,
"endThreshold": 5,
"injectAttempts": 30,
"favourite": 1.5,
"secondFavourite": 1.2,
"minFailInjectCount": 4,
View gist:1f3fee2bb9f37c76a254
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"
View element.html
<polymer-element name="x-foo">
<form action="{{ searchUrl(q) }}" method="post">
<paper-input-decorator class="search" label="Search ..." floatingLabel>
<input is="core-input" value="{{q}}">
Polymer('x-foo', {
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>JS Bin</title>
<template id="shadowRootTemplate">
div { border: red solid 1px; }
View element-sugar.html
<import src="jquery" as="$">
<import src="squid.html" element-as="my-squid">
View maybe?.js
// This is what I want. (target inheritance, I think?)
new AnimationGroup([
new Animation([
{opacity: '0'},
{opacity: '1'}],
{duration: 350}),
new Animation([
{transform: 'scale(0)'},
{transform: 'scale(1)'},

Notes About This Skeleton


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.

View npm-debug.log
This file has been truncated, but you can view the full file.
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://' },
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: '' },
View gist:44030e69db61c90f6047
npm install -g web-component-tester
npm WARN engine freeport@1.0.3: wanted: {"node":"0.6.x"} (current: {"node":"v0.10.29","npm":"1.4.14"})
> sauce-connect-launcher@0.6.1 install /Users/imac/.nvm/v0.10.29/lib/node_modules/web-component-tester/node_modules/sauce-connect-launcher
> node scripts/install.js
You can’t perform that action at this time.