See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
<!--[if lt IE 9]> | |
<script> | |
//Enable HTML5 elements for <IE9 | |
'abbr article aside audio bdi canvas data datalist details dialog \ | |
figcaption figure footer header hgroup main mark meter nav output \ | |
progress section summary template time video'.replace(/\w+/g,function(n){document.createElement(n)}); | |
</script> | |
<![endif]--> |
Thing = (function (window) { | |
function privateThing() { } | |
return { | |
exposedThing: privateThing, | |
} | |
})(window); |
import { Injectable } from '@angular/core'; | |
type Checker = (any: any) => boolean; | |
type Transformer = (any: any) => any; | |
@Injectable() | |
export class ObjectTransformerService { | |
/** | |
* process data and transform it. | |
* @description Checker and transformer are passed the value currently being evaluated, if the |
.grippy { | |
$grippy-spacing: 2px; | |
&::before, | |
&::after { | |
content: '....'; | |
will-change: contents; | |
transition: all 180ms; | |
opacity: 0.0; | |
color: #aaa; | |
display: inline-block; |
var timer = setInterval( function() { /* do your thing */ }, 125);; | |
function stopTimer() { clearTimeout(timer); } |
#Basic Pub / Sub Based off of this gist by learncodeacademy.
The min.js version removes ViewLedger funciton.
(function(){ | |
'use strict'; | |
var X = function (val) { | |
console.log('instance created'); | |
this.name = val; | |
}; | |
X.prototype.foo = function() { |
.bird { | |
position: absolute; | |
right: 16px; | |
width: 29px; | |
height: 16px; | |
border-radius: 100px 8px 100px 0; | |
border: solid 1px #000; | |
transform: rotate(37deg); | |
transition: all 120ms ease-out; | |
} |