Skip to content

Instantly share code, notes, and snippets.

View jepler's full-sized avatar
💭
I may be slow to respond.

Jeff Epler jepler

💭
I may be slow to respond.
View GitHub Profile
#!/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);
#include <gmpxx.h>
#include <charconv>
#include <string>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
for(int i=1; i<argc; i++) {
#include <gmpxx.h>
#include <charconv>
#include <string>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
for(int i=1; i<argc; i++) {
// ==UserScript==
// @name Fix category height
// @namespace http://tampermonkey.net/
// @version 2024-07-17
// @description try to take over the world!
// @author You
// @match https://blog.adafruit.com/wp/wp-admin/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=adafruit.com
// @grant none
// ==/UserScript==
extend-select = [
"D419", # empty-docstring
"E501", # line-too-long
"W291", # trailing-whitespace
"PLC0414", # useless-import-alias
"PLC2401", # non-ascii-name
"PLC2801", # unnecessary-dunder-call
"PLC3002", # unnecessary-direct-lambda-call
"E999", # syntax-error
"PLE0101", # return-in-init
extend-select = [
"D419", # empty-docstring
"E501", # line-too-long
"W291", # trailing-whitespace
"PLC0414", # useless-import-alias
"PLC2401", # non-ascii-name
"PLC2801", # unnecessary-dunder-call
"PLC3002", # unnecessary-direct-lambda-call
"E999", # syntax-error
"PLE0101", # return-in-init
1: b5a0c28 ! 1: 3da4e38 make sure installed version passes test too
@@ Makefile: STEPECHO = @echo
endif
PYTHON ?= python3
++ifeq ($(OS),Windows_NT)
++ENVPYTHON ?= _env/Scripts/python.exe
++else
+ENVPYTHON ?= _env/bin/python3
++endif
-: ---------- > 1: ed1b9a4902 fixed frozen modules
-: ---------- > 2: bfa536f300 use board-LED as status-LED (sic!)
-: ---------- > 3: 957d011949 use board-LED as status-LED (sic!)
-: ---------- > 4: 3c10409708 support enable-pin as DigitalInOut (Badger2040W compatibility)
-: ---------- > 5: 123aad7607 optimize parameters
-: ---------- > 6: 2d30d6d2e2 add support for keycodes to make inky-buttons usable
-: ---------- > 7: 767be33b0a use GPIO6 as status led and and add PICO_LED for onboard-led
-: ---------- > 8: 0af689d542 added defines for VOLTAGE_MONITOR/A3
-: ---------- > 9: d905ac0916 add board.LED
-: ---------- > 10: 9f9dcd013c Add Cardputer keyboard support
-: ---------- > 1: ed1b9a4902 fixed frozen modules
-: ---------- > 2: bfa536f300 use board-LED as status-LED (sic!)
-: ---------- > 3: 957d011949 use board-LED as status-LED (sic!)
-: ---------- > 4: 3c10409708 support enable-pin as DigitalInOut (Badger2040W compatibility)
-: ---------- > 5: 123aad7607 optimize parameters
-: ---------- > 6: 2d30d6d2e2 add support for keycodes to make inky-buttons usable
-: ---------- > 7: 767be33b0a use GPIO6 as status led and and add PICO_LED for onboard-led
-: ---------- > 8: 0af689d542 added defines for VOLTAGE_MONITOR/A3
-: ---------- > 9: d905ac0916 add board.LED
-: ---------- > 10: 9f9dcd013c Add Cardputer keyboard support