Skip to content

Instantly share code, notes, and snippets.

View neogeek's full-sized avatar
👋
Open for work.

Scott Doxey neogeek

👋
Open for work.
View GitHub Profile
@neogeek
neogeek / README.md
Created April 28, 2017 01:51
Convert Image for Use with Vuforia

Convert Image for Use with Vuforia

$ convert image.png -depth 4 -colorspace gray -define png:color-type=0 -define png:bit-depth=8 image-target.png
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]);
};
@neogeek
neogeek / README.md
Last active October 27, 2016 19:30
Advanced React Notes

Advanced React Notes

Destruct Object

const { isActive, label, description } = this.props;

Ref Callback

@neogeek
neogeek / README.md
Last active April 9, 2016 14:19
ES2015 Cheat Sheet

ES2015 Cheat Sheet

Declarations

let name = 'Scott';

console.log(name);
@neogeek
neogeek / Introduction to Jekyll.md
Last active February 11, 2016 14:21
Introduction to Jekyll
@neogeek
neogeek / .gitignore
Last active August 29, 2015 14:11
webcam-photo-capture
node_modules/
@neogeek
neogeek / README.md
Last active April 17, 2017 08:01
A collection of useful Unity snippets (CSharp).

#Unity Snippets

A collection of useful Unity snippets (CSharp).

##Movement

Boundary.cs

using UnityEngine;
@neogeek
neogeek / .gitignore
Last active August 29, 2015 14:07
SQLite3 + ADM-ZIP Test
node_modules/
test.sqlite
test.zip

Keybase proof

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:

<?php
require('Overseer-Framework/framework.php');
$methods = [];
function deindent($string) {
preg_match('/(?:^|\n)([ \t]*)[^\s]/', $string, $whitespace);