Skip to content

Instantly share code, notes, and snippets.

View joezen777's full-sized avatar

Joseph Nielsen joezen777

View GitHub Profile
@joezen777
joezen777 / canvasexample.py
Created June 18, 2019 14:18
Draw reinvent base map
from tkinter import Tk, Canvas, Frame, BOTH
import numpy as np
import math
import time
import os
def _create_circle(self, x, y, r, **kwargs):
return self.create_oval(x - r, y - r, x + r, y + r, **kwargs)
@joezen777
joezen777 / rundeepraceronmac.md
Last active April 15, 2023 21:46
How to run DeepRacer locally on Mac

I took all my instructions from this page.  https://github.com/crr0004/deepracer

Here are the revised instructions for OSX (bold is console command)

  1. Change to a folder in terminal that is not case-sensitive. ~/ should be fine
  2. git clone --recurse-submodules https://github.com/crr0004/deepracer.git
  3. brew install minio/stable/minio -- you may need to install brew first -- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  4. install vncviewer from here https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-6.19.325-MacOSX-x86_64.dmg
@joezen777
joezen777 / canvasexampleaws.py
Last active June 20, 2019 15:34
Draw Kumo Map
from tkinter import Tk, Canvas, Frame, BOTH
import numpy as np
import math
multiplier = 90
def _create_circle(self, x, y, r, **kwargs):
return self.create_oval(x - r, y - r, x + r, y + r, **kwargs)