Skip to content

Instantly share code, notes, and snippets.

View enesser's full-sized avatar

Eric J Nesser enesser

View GitHub Profile
@enesser
enesser / mit-media-lab-quotes.sh
Created September 30, 2019 16:58
MIT Media Lab Quotes from Abstract
#######################################################################################################################
# Quotes regarding MIT's Media Lab
# From Abstract: The Art of Design
# "The MIT president was bemoaning the fact that there was no lab that mixed art, engineering, and science
# in some deep way. And I said, 'Jerry, I'll build you one.'"
# "The Media Lab is where you have to think of things fifty years out, or a hundred years out. If you're making
# something that's applicable to the world today, here, you're too late."
@enesser
enesser / 3d-math-primer.js
Last active September 22, 2019 01:04
3D Math Primer
/****************************************************************
* Find the distance between two points
* given: (x1, y1), (x2, y2)
* vector2
*/
// d = √((x1-x2)² + (y1 - y2)²)
/****************************************************************
* Find the distance between two points in 3d space
@enesser
enesser / dieter-rams-ten-principles.txt
Created August 27, 2019 16:49
Dieter Rams: Ten Principles of Good Design
#########################################################################################################
# Dieter Rams: Ten Principles of Good Design
# Taken from Objectified (2009)
1. Good design is innovative
2. Good design makes a product useful
3. Good design is aesthetic
4. Good design makes a product understandable
5. Good design is unobtrusive
6. Good design is honest
@enesser
enesser / magic-leap-commands.sh
Created August 27, 2019 16:48
Magic Leap Development Commands
$ mldb
$ mldb devices
$ mldb capture video -w hellocube.mp4
@enesser
enesser / lessons-of-open-source-cathedral-and-the-bazaar.txt
Created March 21, 2019 21:05
Lessons of Open Source from The Cathedral & the Bazaar
#########################################################################################################
# Lessons of Open Source
# Taken from The Cathedral & the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary
# Eric S. Raymond
# https://www.amazon.com/Cathedral-Bazaar-Musings-Accidental-Revolutionary-ebook/dp/B0026OR3LM
1. Every good work of software starts by scratching a developer's personal itch.
2. Good programmers know what to write. Great ones know what to rewrite (and reuse).
@enesser
enesser / git-quick-reference.sh
Last active March 29, 2019 18:42
Quick Git Command Reference
#########################################################################################
# exploring refs
#########################################################################################
# show head pointer contents
$ cat ./git/HEAD
#########################################################################################
# git log
#########################################################################################
@enesser
enesser / showSSLCert.sh
Created June 22, 2018 18:12
Show SSL certificate information via OpenSSL
$ echo | openssl s_client -showcerts -servername google.com -connect google.com:443 2>/dev/null | openssl x509 -inform pem -noout -tex
@enesser
enesser / convert-mkv-to-mp4.sh
Created May 19, 2018 23:55
ffmpeg: Convert MKV to MP4
ffmpeg -i source.mkv -codec copy dest.mp4
@enesser
enesser / machine-learning-notes.txt
Last active May 13, 2018 20:53
Machine Learning Notes
Supervised Learning
Labeled Sets
Training
Evaluation (reserve)
Binary Classification
Predict a binary class as output based on given features
Examples:
* Is this transaction fraudulent or valid?
@enesser
enesser / holographic-shader.shader
Last active April 18, 2018 15:33
Holographic Shader for Unity (CG)
/**
* Holographic Shader for Unity with Configurable Scanlines
* Eric J Nesser, 2018
*
* Video sample: https://vimeo.com/265314159
*
* Adapted from CG Cookie
*/
Shader "Holographic"
{