Skip to content

Instantly share code, notes, and snippets.

View lee2sman's full-sized avatar

Lee T lee2sman

  • W/O/R/L/D/W/I/D/E
View GitHub Profile
@lee2sman
lee2sman / vuforia-iOS-app-build-instructions.md
Created April 8, 2019 16:44
Compile a Vuforia Unity app for iOS and mount it on your phone or ipad

compiling Unity - Vuforia AR app build for iOS

Note: This can add up to 5GB to install the needed components (including XCode and iOS build tools)

  1. Install XCode from the App store.
  2. Open your Unity AR project if not already open.
  3. Go to File > Build Settings
  4. Click on iOS
  5. Click Open Download page to download the iOS module if not already installed. Afterwards, run the Unity iOS setup installer until you've fully installed. The full install is 3GB!
  6. Once downloaded for good measure quit and restart Unity and go back to File > Build Settings..
@lee2sman
lee2sman / Problem4Answer-cam-line-detect-annotated.py
Created July 17, 2019 20:25
grab camera feed as frame, process frame w/ edge detection, hough lines. draw best fit lines. no driving.
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
import cv2
import math
# ARE YOU CURIOUS HOW THIS ANSWER DIFFERS FROM THE CODE PROVIDED?
# SCROLL DOWN....
def region_of_interest(img, vertices):
@lee2sman
lee2sman / pipeline.py
Created July 17, 2019 22:18
current pipeline file for selfdriving car. line 149 starting values to be tested and altered....
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
import cv2
import math
cv2.namedWindow("test")
def region_of_interest(img, vertices):
mask = np.zeros_like(img)
@lee2sman
lee2sman / dweb-resources.md
Created September 12, 2019 20:40
dweb resources
@lee2sman
lee2sman / README.md
Last active November 22, 2019 09:10
Don't ever talk to me or my son or my son's son or my son's son's son or my ..... Nano-NanoGenMo 2019 entry

Don't Talk To Me or My Son Or My Son's Son or My Son's Son's Son or...

This is my 2019 Nano-NaNoGenMo entry to the annual NaNoGenMo event. It's based on this meme.

Don't talk to me or my son... meme

This gist contains:

  • this README
  • sons-sons-sons.js - verbose version of code to output the text
  • sons.min.js - a minified 105-char entry
@lee2sman
lee2sman / README.md
Last active November 23, 2019 07:57
Lucifer Bimbisara or Francois unsuperscribed, a Nano-NaNoGenMo generated novel #NNNGM

Lucifer Bimbisara or Francois unsuperscribed

A Nano-NaNoGenMo entry for NaNoGenMo 2019

This is my second nano-NaNoGenMo entry

I recently learned about the existence of the words file /usr/share/dict/words that comes standard on Linux/BSD computers (including Macs). It's a line-delimited list of words.

Inside usr/share/dict are these text files:

@lee2sman
lee2sman / posting-unity-webgl-games-notes.md
Created March 16, 2020 05:04
Reminder notes on how to post WebGL builds of Unity games to my Everyday Code Sketches

I have been posting my code sketches for the past year to a site.

But now that I'm trying this out with Unity-WebGL I'm working on my Windows machine. These are notes since I always forget how to do it.

Workflow to post new webgl builds from unity to my everyday-code-sketches site

  1. Build for WebGL in Unity. (File > Build Settings, then click WebGL and Build). Wait a few minutes.
  2. Open git-bash and navigate to D drive (my external DATA drive) to the Sites/everyday directory cd /D/Sites/everyday
  3. git pull if i've been working on my other computers too and have made any changes there.
  4. Make a new sub-directory with a new number sequentially mkdir
@lee2sman
lee2sman / apr9.md
Last active April 9, 2020 19:59
New Directions April 9
@lee2sman
lee2sman / apr23.md
Created April 23, 2020 18:35
New Directions - Apr 23

April 23

Overview

  • review photogrammetry
  • test out photogrammetry
  • Jam: doodle studio 95

Photogrammetry