Skip to content

Instantly share code, notes, and snippets.

View jmadden173's full-sized avatar

John Madden jmadden173

  • jlab
  • UC Santa Cruz
View GitHub Profile
@jmadden173
jmadden173 / update_adr.sh
Created November 27, 2024 00:36
Update ADR on TTN to static values
#!/bin/bash
APPLICATION_ID="soil-power-sensor"
DEVICES=("eui-0080e1150535c0f5" "eui-0080e11505372f68")
for DEVICE_ID in "${DEVICES[@]}"; do
# The dynamic mode didn't seem to work, unsure why
#./ttn-lw-cli end-devices set \
# --application-id ${APPLICATION_ID} \
@jmadden173
jmadden173 / matches_team_stats.py
Created January 29, 2020 04:48
Gets matches but instead of getting the stats for the game it merges the team stats for that given year.
#!/usr/bin/env python
import pandas as pd
from nba_api.stats.endpoints import leaguegamefinder, teamyearbyyearstats
# Define what years to collect game data on
years = ["2015-16",
"2016-17",
"2017-18",
"2018-19",]
@jmadden173
jmadden173 / system_info.txt
Created August 17, 2019 00:08
Steam - System Information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 2700X Eight-Core Processor
CPU Family: 0x17