Skip to content

Instantly share code, notes, and snippets.

View jepler's full-sized avatar

Jeff Epler jepler

View GitHub Profile
content/contact/contents.lr: Created or updated redirect to content/about/contact/contents.lr (may need to git add)
content/contact/media/contents.lr: Created or updated redirect to content/about/contact/media/contents.lr (may need to git add)
content/community/team/cflee/contents.lr: Created or updated redirect to content/about/team/cflee/contents.lr (may need to git add)
content/community/team/danyeaw/contents.lr: Created or updated redirect to content/about/team/danyeaw/contents.lr (may need to git add)
content/community/team/elias/contents.lr: Created or updated redirect to content/about/team/elias/contents.lr (may need to git add)
content/community/team/flowerncsu/contents.lr: Created or updated redirect to content/about/team/flowerncsu/contents.lr (may need to git add)
content/community/team/freakboy3742/contents.lr: Created or updated redirect to content/about/team/freakboy3742/contents.lr (may need to git add)
content/community/team/glasnt/contents.lr: Created or updated redirect to content/about/team
❬ \N{MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT} U+276c ❬
❰ \N{HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT} U+2770 ❰
❲ \N{LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT} U+2772 ❲
❴ \N{MEDIUM LEFT CURLY BRACKET ORNAMENT} U+2774 ❴
⟦ \N{MATHEMATICAL LEFT WHITE SQUARE BRACKET} U+27e6 ⟦
⟨ \N{MATHEMATICAL LEFT ANGLE BRACKET} U+27e8 ⟨
⟪ \N{MATHEMATICAL LEFT DOUBLE ANGLE BRACKET} U+27ea ⟪
⟬ \N{MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET} U+27ec ⟬
⦃ \N{LEFT WHITE CURLY BRACKET} U+2983 ⦃
⦇ \N{Z NOTATION LEFT IMAGE BRACKET} U+2987 ⦇
import os
import math
import sys
import time
import alarm
import board
import displayio
import socketpool
import rtc
@jepler
jepler / code_fx.py
Last active September 30, 2024 21:42
# SPDX-FileCopyrightText: Copyright 2024 Jeff Epler for Adafruit Industries
# SPDX-License-Identifier: MIT
import os
import collections
import io
import random
import board
import keypad
import time
import audiobusio
import audiomixer
import audiomp3
import board
decoders = [audiomp3.MP3Decoder("discovered-32.mp3") for _ in range(11)]
mixer_buffer_size = 1536 * 6
mixer = audiomixer.Mixer(
@jepler
jepler / code.py
Last active September 28, 2024 02:31
import array
import rp2pio
import board
import adafruit_pioasm
import time
import supervisor
# MIT licensed https://github.com/No0ne/ps2pico/blob/main/LICENSE
# https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol
#!/usr/bin/python
import os
import datetime
import pytz
now = datetime.datetime.now(datetime.UTC)
sz = set()
for tz in pytz.all_timezones:
zone = pytz.timezone(tz)
import array
import rp2pio
import board
import adafruit_pioasm
import time
# MIT licensed https://github.com/No0ne/ps2pico/blob/main/LICENSE
# https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol
KBD_DATA = board.GP27
#!/usr/bin/env python
import subprocess
import pathlib
import click
def gross_lektor_parser(content):
parsed = {}
for c in content.split("\n---\n"):
if ':' in c:
font="FreeSans:style=Bold";
ww = 64;
hh = 30;
color("#d9d9d9")
linear_extrude(height=.4)
minkowski() {
square([ww, hh], center=true);
circle(d=4, $fn=24);