Important:
I wrote this function to manipulate my
package.json
.
This is a suboptimal solution; the correct way is via the official [npm-pkg
][pkg].
@nicholaswmin
// Activate the 'Default Dark' theme and then customise it | |
// Drop this in the editor | |
{ | |
"extends": "Default Dark.sublime-theme", | |
"variables": { | |
"vcs_untracked": "var(--greenish)", | |
"vcs_modified": "var(--orangish)", | |
"vcs_missing": "var(--redish)", | |
"vcs_staged": "var(--bluish)", | |
"vcs_added": "var(--greenish)", |
<base href="https://polygit.org/components/"> | |
<script src="webcomponentsjs/webcomponents-lite.min.js"></script> | |
<link href="polymer/polymer.html" rel="import"> | |
<link href="paper-input/paper-input.html" rel="import"> | |
<dom-module id="x-example"> | |
<template> | |
<paper-input value="{{name::input}}"></paper-input> | |
<h4>{{name}}</h4> |
/** | |
* Clusters a number of Paper Elements as Paper Groups. | |
* Clustering is based on distance between elements, | |
* using K-means clustering. | |
* - This method DOES NOT preserve z-order of items, so use with caution | |
* | |
* | |
* - Dependent on clusterfck.js. | |
* See: https://github.com/NathanEpstein/clusters | |
* and download browser .js file. |
/* Catmull-Rom interpolating splines in ES6 | |
---- | |
authors: Nicholas Kyriakides (2017) & Unknown | |
from: "A class of local interpolating splines" | |
Catmull, Edwin; Rom, Raphael | University of Utah, 1974 | |
Barnhill, Robert E.; Riesenfeld, Richard F. (eds.). | |
Computer Aided Geometric Design. | |
@summary |