I hereby claim:
- I am ladyada on github.
- I am ladyada (https://keybase.io/ladyada) on keybase.
- I have a public key ASBl1-cokjGT52e6QFsXIXbUGwEWIGJTpJZdV5cToeYMIQo
To claim this, I am signing this object:
SSH_KEY_PATH = "C:\\\\Users\\\\ladyada\\\\github.ppk" # change path to your ppk or other pubkey file! | |
import os | |
import re | |
import subprocess | |
def sanitize_name(name): | |
return re.sub(r'[^a-zA-Z0-9]', '_', name) | |
def git_actions(folder_path): |
# AdAway default blocklist | |
# Blocking mobile ad providers and some analytics providers | |
# | |
# Project home page: | |
# https://github.com/AdAway/adaway.github.io/ | |
# | |
# Fetch the latest version of this file: | |
# https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt | |
# | |
# License: |
import serial | |
import io | |
import struct | |
from adafruit_debouncer import Debouncer | |
PORT = "COM7" # update me to match your setup! | |
BUTTON_0_MASK = 0b000000000010000 | |
BUTTON_1_MASK = 0b000000100000000 | |
BUTTON_2_MASK = 0b000001000000000 |
#include <SPI.h> | |
#include "Adafruit_GFX.h" | |
#include "Adafruit_ILI9341.h" | |
#include "Adafruit_MCP9808.h" | |
#include <Fonts/FreeSans18pt7b.h> | |
// These are 'flexible' lines that can be changed | |
#define TFT_CS 9 | |
#define TFT_DC 10 |
import sys | |
import time | |
import board | |
import wifi | |
import socketpool | |
import adafruit_requests | |
import ssl | |
import rtc | |
import displayio | |
import terminalio |
I hereby claim:
To claim this, I am signing this object:
#include <Adafruit_GPS.h> | |
#include <SoftwareSerial.h> | |
SoftwareSerial gpsSerial(12, 11); | |
Adafruit_GPS GPS(&gpsSerial); | |
#define JOY_X A4 | |
#define JOY_Y A5 | |
#define MOVE_INCR 0.001 // how much to move per tick |
// Uses library https://github.com/gauravmm/HT1632-for-Arduino | |
#include <HT1632.h> | |
#include <font_5x4.h> | |
#include <images.h> | |
int i = 0; | |
#define DISPLAY_CLK 13 | |
#define DISPLAY_CS1 12 // first panel's CS pin |
# uncomment if you get no picture on HDMI for a default "safe" mode | |
#hdmi_safe=1 | |
# uncomment this if your display has a black border of unused pixels visible | |
# and your display can output without overscan | |
#disable_overscan=1 | |
# uncomment the following to adjust overscan. Use positive numbers if console | |
# goes off screen, and negative if there is too much border | |
#overscan_left=16 |
#include <SPI.h> | |
#include <SD.h> | |
// Set the pins used | |
#define cardSelect 4 | |
File logfile; | |
// blink out an error code | |
void error(uint8_t errno) { |