Skip to content

Instantly share code, notes, and snippets.

View tylerjw's full-sized avatar
🦀
Peace was never an option

Tyler Weaver tylerjw

🦀
Peace was never an option
View GitHub Profile
@tylerjw
tylerjw / euler.c
Last active August 29, 2015 13:55
Euler's Method (iterative).
/**
Euler's Method (iterative).
@author Tyler Weaver
Compile:
gcc euler.c -o euler
Run:
./euler
*/
@tylerjw
tylerjw / euler_r.c
Last active August 29, 2015 13:55
Euler's Method (recursive).
/**
Euler's Method (recursive).
@author Tyler Weaver
Compile:
gcc euler_r.c -o euler_r
Run:
./euler_r
*/
@tylerjw
tylerjw / euler_r.c
Last active August 29, 2015 13:55
MATH450 Homework Wk4
/**
Euler's Method (recursive).
@author Tyler Weaver
Compile:
gcc euler_r.c -o euler_r
Run:
./euler_r
Homework 4.8
@tylerjw
tylerjw / compare_e_ie_r.c
Created January 30, 2014 20:58
Compare Euler's, Improved Euler's, and Runge-Kutta methods of Estimating Differential Equation
/**
Comparison between methods (euler, imp euler, & runge-kutta)
@author Tyler Weaver
Compile:
gcc compare.c -o compare
Run:
./compare
*/
@tylerjw
tylerjw / realtor.py
Created March 6, 2017 05:48
realtor.com parsing example for blog post
'''
This file is for parsing realtor.com for house listings.
'''
from lxml import html
import requests
from pprint import pprint
from bs4 import BeautifulSoup
import re
@tylerjw
tylerjw / cachedgeo.py
Last active March 24, 2024 17:49
Library for caching requests to Nominatim in AWS DynamoDB
import boto3
from botocore.exceptions import ClientError
import decimal
from putItem import addr_to_query, query_to_addr
from geopy.geocoders import Nominatim
import json
import logging
logger = logging.getLogger(__name__)
@tylerjw
tylerjw / rally_computer.ino
Created August 18, 2017 00:17
Basic rally computer for use with Adafruit feathers.
#include <TinyGPS++.h>
// Enable one of these two #includes and comment out the other.
// Conditional #include doesn't work due to Arduino IDE shenanigans.
#include <Wire.h> // Enable this line if using Arduino Uno, Mega, etc.
//#include <TinyWireM.h> // Enable this line if using Adafruit Trinket, Gemma, etc.
#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"
Adafruit_7segment red = Adafruit_7segment();

Keybase proof

I hereby claim:

  • I am tylerjw on github.
  • I am tylerjw (https://keybase.io/tylerjw) on keybase.
  • I have a public key ASAj2YkcpfMzyrgPMpeilWSE6vJuj-h0_dzXhqiibBIPuAo

To claim this, I am signing this object:

@tylerjw
tylerjw / desk_trinket.ino
Created October 19, 2017 17:13
AMQ desk controller display for Adafruit 5V Trinket
/*
* Tyler's AMQ Desk Controller.
*/
#include <Wire.h>
#include <Adafruit_LEDBackpack.h>
#include <SoftwareSerial.h>
Adafruit_7segment disp = Adafruit_7segment();
SoftwareSerial serial(4,1);
@tylerjw
tylerjw / mtc_hackathon_notes.md
Created July 11, 2019 15:57
MTC Hackathon Notes
  1. Setup enviroment
mkdir ~/mtc_workspace
source /opt/ros/kinetic/setup.bash
catkin config --init
mkdir src
cd src
git clone git@github.com:PickNikRobotics/mtc_experiments.git
git clone git@github.com:PickNikRobotics/picknik_ur5_moveit_config.git
git clone git@github.com:ros-planning/moveit_task_constructor.git