Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Rude mattrude

View GitHub Profile
@mattrude
mattrude / AdvancedTrafficLight.c
Last active Mar 20, 2020
ATtiny85, 74HC959 Traffic Light program written for Atmel Studio 7
View AdvancedTrafficLight.c
/* ATtiny85 - Advanced Traffic Stop Light - Version 0.1.1 - 2020-03-20
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* 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
*
View SolarBearMPPTController.ino
/* 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 Mar 7, 2020
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.
View ATtiny85_TrafficStopLight.c
/* ATtiny85 Traffic Stop Light - Version 0.2.0 - 2020-03-07
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* 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 Aug 26, 2021
This is a Advanced Traffic Stop Light program written for an ATtiny85 & 74HC595, using Atmel Studio 7.
View ATtiny85_AdvancedTrafficStopLight.c
/* ATtiny85 - Advanced Traffic Stop Light - Version 0.1.1 - 2020-03-20
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* 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
*
@mattrude
mattrude / ATtiny85_PhotoresistorRelay.ino
Created Feb 17, 2020
ATtiny85 Photoresistor / Relay program - This is a simple program, using an ATtiny85, that turns on and off a relay when a photoresistor detects light above a programmed value.
View ATtiny85_PhotoresistorRelay.ino
/* ATtiny85 Photoresistor / Relay - Version 0.1.0 - 2020-02-16
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* This is a simple program, using an ATtiny85, that turns on and off a relay when
* a photoresistor detects light above a programmed value.
*
* The program was written for an ATtiny85 using Arduino IDE and the 'ATTinyCore'
* board found at: https://github.com/SpenceKonde/ATTinyCore
@mattrude
mattrude / ATtiny85_TrafficStopLight.ino
Created Feb 15, 2020
ATtiny85 Traffic Stop Light - 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.
View ATtiny85_TrafficStopLight.ino
/* ATtiny85 Traffic Stop Light - Version 0.1.2 - 2020-02-15
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* This is a simple Traffic Stop Light program written for an ATtiny85 using
* Arduino IDE and the 'attiny' board found at: https://github.com/damellis/attiny
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*
@mattrude
mattrude / gnupg-updater.sh
Last active Jul 27, 2020
A simple script build for Ubuntu to download and install the current version of GnuPG.
View gnupg-updater.sh
#!/bin/bash
# ---------
# Script to build and install GnuPG 2.2.x
GNUPG='2.2.21'
LIBGPGERROR='1.38'
LIBGCRYPT='1.8.6'
LIBKSBA='1.4.0'
LIBASSUAN='2.5.3'
NTBTLS='0.1.2'
View gpg-wks-server.1.patch
diff --git a/tools/gpg-wks-server.c b/tools/gpg-wks-server.c
index 2082fb8..c159df8 100644
--- a/tools/gpg-wks-server.c
+++ b/tools/gpg-wks-server.c
@@ -1264,20 +1264,18 @@ send_congratulation_message (const char *mbox, const char *keyfile)
body);
es_fprintf (body,
- "Hello!\n\n"
- "The key for your address '%s' has been published\n"
@mattrude
mattrude / test-gpg-key-lookup.sh
Created Jun 11, 2019
A simple script that test if an address has a working GnuPG; DANE, PKA and WKD lookup key.
View test-gpg-key-lookup.sh
#!/bin/bash
Email=${1}
echo ""
echo "#############################################"
echo "Running for ${Email}"
for TEST in dane pka wkd
do
rm -f /tmp/test.gpg
echo ""
@mattrude
mattrude / update-gnupg.sh
Created May 28, 2019
Script to build and install GnuPG 2.2.x on Ubuntu
View update-gnupg.sh
#!/bin/bash
# ---------
# Script to build and install GnuPG 2.2.x
GNUPG='2.2.16'
LIBGPGERROR='1.36'
LIBGCRYPT='1.8.4'
LIBKSBA='1.3.5'
LIBASSUAN='2.5.3'
NTBTLS='0.1.2'