reading list
Set of philosophies that treat the YAGNI and KISS principles,
as must haves requirements troughout the entire lifecycle.
# Problem set: I need to instantiate `Pages` from `Files`, | |
# picked up using the standard `File.read` method. | |
# | |
# For whatever reason, the `path` is the filename. | |
# and the `data` are the contents of the File. | |
# ---- | |
# Modelling: | |
# | |
# To decouple the persistence layer and the domain layer, | |
# I introduce a new class `Entry` which acts as an intermediary. |
The key words
must
,must not
,required
,shall
,shall not
should
,should not
,recommended
,may
, andoptional
in this
document are to be interpreted as described in [RFC 2119][rfc-2119].
#!/bin/bash | |
# Conventional Commits "commit-msg" git hook # | |
# | |
# Installs a "Conventional Commit" commit-msg Git hook | |
# See more: https://www.conventionalcommits.org/ | |
# | |
# Usage: | |
# - Copy this file to your repo | |
# - Run it once: bash install-cc-hook.sh |
// 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. |
// The "Catmull-Rom" Interpolating Splines in ES6 | |
// - Authors: Nicholas Kyriakides (2017) & Unknown | |
// - From "A class of local interpolating splines" | |
// - by Catmull, Edwin; Rom, Raphael | |
// - University of Utah, 1974 | |
// | |
// | |
// Barnhill, Robert E.; Riesenfeld, Richard F. (eds.). | |
// Computer Aided Geometric Design. | |
// |