Skip to content

Instantly share code, notes, and snippets.

View ewpratten's full-sized avatar

Evan Pratten ewpratten

View GitHub Profile
@ewpratten
ewpratten / SMW-ultrapowerup.hex
Created February 16, 2018 01:00
My custom WRAM hex code for SuperMario World. It gives "invincibility" (must be reloaded every level)
00 00 DD 2D C0 00 3D A7 B8 01 1E 01 78 01 86 00
01 00 00 5B 45 00 00 00 00 02 00 00 C0 00 00 00
C0 00 00 00 D0 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00
20 00 00 00 02 F8 FF 17 00 F8 FF 17 00 00 00 FF
FF 00 00 FF FF 00 00 F0 00 00 CA 00 00 14 14 01
00 00 00 00 20 B2 8B 06 82 EC 0C 50 FC 7E 50 FC
7F 00 00 00 00 00 01 04 00 00 00 00 00 06 10 00
A0 00 C8 E5 00 00 00 00 00 00 00 00 0A 02 00 00
00 00 08 00 10 00 60 01 80 01 15 00 00 00 00 00
@ewpratten
ewpratten / qr.py
Created February 16, 2018 14:34
A python script for quickly transferring files through QR codes
import os
import urllib.parse
os.system("cls")
q = input(">>")
with open(q, 'r') as myfile:
s=myfile.read().replace('\n', '\n')
a = "http://api.qrserver.com/v1/create-qr-code/?data="
d = urllib.parse.quote_plus(s)
a += d
b = 'start "" "'
#include "TestAutonomous.h"
#include "../../Utilities/Log.h"
#include "../../RobotMap.h"
#include "../DriveWithEncoders.h"
#include "../RotateWithEncoders.h"
#include "../RotateWithGyro.h"
#include "../StaticTurn.h"
#include "../EjectCube.h"
#include "../OpenCloseGripper.h"
@ewpratten
ewpratten / trainer.yml
Created April 1, 2018 21:02
A collection of datasets for facial recognition
This file has been truncated, but you can view the full file.
%YAML:1.0
---
opencv_lbphfaces:
threshold: 1.7976931348623157e+308
radius: 1
neighbors: 8
grid_x: 8
grid_y: 8
histograms:
- !!opencv-matrix

VCS for 5024

Using a GUI

Gitkracken makes using git really easy. All you have to do is:

@ewpratten
ewpratten / ZomBuster.sh
Created June 3, 2018 14:09 — forked from Lauszus/ZomBuster.sh
Install OpenCV on minimal Raspbian image for use with: https://github.com/Lauszus/ImageAnalysisWithMicrocomputer30330
#!/bin/bash -e
gpio mode 8 up # Input with internal pull-up resistor
#echo "Compiling..."
#make -C ~/ImageAnalysisWithMicrocomputer30330/ZomBuster/src 1> /dev/null
echo "Press button to start"
while true; do
while [ $(gpio read 8) == 1 ]; do
@echo off
echo ******** PCOL Cleanup Script V1.0 ********
echo.
echo 1 - Copy folders and scripts to desktop
echo 2 - Eject usb and start ADW cleaner (WARNING: Reboots computer)
echo 3 - Start MBAM and ESET cleaners
echo 4 - Set up TeamViewer
echo 99 - quit the script
echo.
set /P M=Enter your selection then press ENTER:
@echo off
echo ******** PCOL Cleanup Script V1.0 ********
echo.
echo 1 - Copy folders and scripts to desktop
echo 2 - Eject usb and start ADW cleaner (WARNING: Reboots computer)
echo 3 - Start MBAM and ESET cleaners
echo 4 - Set up TeamViewer
echo 99 - quit the script
echo.
set /P M=Enter your selection then press ENTER:

##TGFU

  • Teach games through games.
  • Break games into their simplest format - then increase complexity.
  • Participants are intelligent performers in games.
  • Every learner is important and is involved.
  • Participants need to know the subject matter.
  • Need to match participants’ skill and challenge.

##Rules If you are in possession of the ball

@ewpratten
ewpratten / pins.txt
Last active June 14, 2018 17:09
Every 4 digit pin possible
0000
0001
0002
0003
0004
0005
0006
0007
0008
0009