$ convert image.png -depth 4 -colorspace gray -define png:color-type=0 -define png:bit-depth=8 image-target.png
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const scaleLinear = (domain, range, value) => { | |
const sortedRange = range.slice().sort(); | |
return Math.min(Math.max(range[0] + ((range[1] - range[0]) / 100) * ((value - domain[0]) / (domain[1] - domain[0]) * 100), sortedRange[0]), sortedRange[1]); | |
}; |
- Prerequisites
- Getting Started
- Install Jekyll
- [Create new Jekyll Site](#create-new-jekyll site)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ |
#Unity Snippets
A collection of useful Unity snippets (CSharp).
##Movement
Boundary.cs
using UnityEngine;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ | |
test.sqlite | |
test.zip |
I hereby claim:
- I am neogeek on github.
- I am neogeek (https://keybase.io/neogeek) on keybase.
- I have a public key whose fingerprint is 2FE3 E55F E7A4 8E54 2629 FF76 FC2D 8232 61D2 8E3C
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require('Overseer-Framework/framework.php'); | |
$methods = []; | |
function deindent($string) { | |
preg_match('/(?:^|\n)([ \t]*)[^\s]/', $string, $whitespace); |