Skip to content

Instantly share code, notes, and snippets.

View lynchbomb's full-sized avatar

Marc Lynch lynchbomb

View GitHub Profile
@lynchbomb
lynchbomb / paint-fill.ts
Created November 5, 2022 14:54
ms matrix paint fill
type matrix = number[][];
const matrixInput: matrix = [
[9, 9, 9, 9, 9, 9, 9, 9, 9, 9],
[9, 0, 0, 0, 1, 1, 1, 0, 0, 9],
[9, 0, 0, 1, 0, 0, 0, 1, 0, 9],
[9, 0, 1, 0, 0, 0, 0, 1, 0, 9],
[9, 1, 0, 0, 1, 1, 0, 1, 0, 9],
[9, 1, 0, 0, 1, 0, 1, 0, 0, 9],
[9, 1, 0, 0, 1, 0, 0, 0, 0, 9],
@lynchbomb
lynchbomb / gist:f7622a2f3944f665f30841d6207b44f2
Last active August 30, 2016 21:37
Ember CLI Addon - Critical Inline Style
/**
@module ember-cli
*/
var fs = require('fs-extra');
var path = require('path');
module.exports = {
name: 'ember-cli-inline-style',
project: null,