Skip to content

Instantly share code, notes, and snippets.

View mattrude's full-sized avatar

Matt Rude mattrude

View GitHub Profile
@mattrude
mattrude / cloudflare-zone-updater.sh
Last active September 5, 2020 02:52
Cloudflare Zone Updater
#!/bin/bash
Host="lora"
Domain="theodin.network"
User="<--Cloudflare-Username-->"
Key="<--Cloudflare-API-Key-->"
###############################################################################################
Missing=''
@mattrude
mattrude / LHT65-chirpstack-decoder.js
Last active September 3, 2021 17:38
TTN or ChirpStack Payload Decode Codec for the Dragino LHT65 Remote Sensor
/*
* ChirpStack Payload Decode Codec for the Dragino LHT65 Remote Sensor
* Version 0.1.0 - 2020-08-14 - Matt Rude <[email protected]>
*
* *******************************************************************************
*
* Copyright (c) 2020 Matt Rude <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mattrude
mattrude / _The_Things_Network_coding_data.md
Last active July 23, 2020 21:18
This is the decoder/converter/validator code used in my "The Things Network" Applications Payload Formats

This is the decoder/converter/validator code used in my "The Things Network" Applications Payload Formats

GNU Screen Cheat Sheet

Basics

  • ctrl a c -> cre­ate new win­dow
  • ctrl a A -> set win­dow name
  • ctrl a w -> show all win­dow
  • ctrl a 1|2|3|… -> switch to win­dow n
  • ctrl a " -> choose win­dow
  • ctrl a ctrl a -> switch between win­dow
  • ctrl a d -> detach win­dow
@mattrude
mattrude / AdvancedTrafficLight.c
Last active March 20, 2020 06:56
ATtiny85, 74HC959 Traffic Light program written for Atmel Studio 7
/* ATtiny85 - Advanced Traffic Stop Light - Version 0.1.1 - 2020-03-20
* Copyright (c) 2020 Matt Rude <[email protected]>
*
* *********************************************************************************
*
* This is the Advanced Traffic Stop Light program written for an ATtiny85 using
* Atmel Studio 7: https://www.microchip.com/mplab/avr-support/atmel-studio-7
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*
/* SolarBear MPPT Controller - Version 6.3
* Copyright (c) December 2017 - Sergey Vekli, Ted Luginbuhl, & Matt Rude
*
* https://www.rcgroups.com/forums/showthread.php?3007750-BNF-SolarBear-pure-solar-powered-32-wing-Free-plans
*
* **************************************************************************************
*
* Solar Cells
*
* The solar cells are soldered in series with a piece of 29guage magnet wire going to each pad on the
@mattrude
mattrude / ATtiny85_TrafficStopLight.c
Last active March 7, 2020 22:14
ATtiny85 Traffic Stop Light - Written with the Atmel Studio 7 - This program turns on (in order) the Red LED, waits for 5 seconds, then turns on the Green LED, waits for 5 seconds, then turns on the Yellow LED, waits for 2.5 seconds and repeats cycle.
/* ATtiny85 Traffic Stop Light - Version 0.2.0 - 2020-03-07
* Copyright (c) 2020 Matt Rude <[email protected]>
*
* *********************************************************************************
*
* This is a simple Traffic Stop Light program written for an ATtiny85 using
* Atmel Studio 7: https://www.microchip.com/mplab/avr-support/atmel-studio-7
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*
@mattrude
mattrude / ATtiny85_AdvancedTrafficStopLight.c
Last active August 26, 2021 01:27
This is a Advanced Traffic Stop Light program written for an ATtiny85 & 74HC595, using Atmel Studio 7.
/* ATtiny85 - Advanced Traffic Stop Light - Version 0.1.1 - 2020-03-20
* Copyright (c) 2020 Matt Rude <[email protected]>
*
* *********************************************************************************
*
* This is the Advanced Traffic Stop Light program written for an ATtiny85 using
* Atmel Studio 7: https://www.microchip.com/mplab/avr-support/atmel-studio-7
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*