Skip to content

Instantly share code, notes, and snippets.

View flybayer's full-sized avatar
🤓
CEO Flightcontrol + Pilot

Brandon Bayer flybayer

🤓
CEO Flightcontrol + Pilot
View GitHub Profile
@flybayer
flybayer / _.md
Last active August 29, 2015 14:26
Learning
@flybayer
flybayer / _.md
Last active August 29, 2015 14:26
Tree
; -------------------------------------------------------------------------------
; This script automatically disconnects and/or connects Tera Term when the
; availability of a specified USB COM port changes.
;
; CONFIGURATION: Set the com ports you want this script to monitor in the
; ProcessUSBchangeEvent function below
;
; USAGE: This script can be ran by itself or included in another script
; with this line: #Include auto_connect_teraterm_usb_com_ports.ahk
;
# A Parking Lot Simulation by Brandon Bayer
#
# To run the simulation:
# Create a Lot object and a Car object
# - lot = ParkingLot.new
# - car = Car.new
#
# Use the following Car methods
# - Car#get_ticket(Lot)
# - Car#enter(Lot)