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
import io
import os
import ssl
import time
import displayio
import adafruit_requests
import board
import jpegio
import socketpool
@jepler
jepler / minglob.py
Last active December 18, 2023 18:20
import os
import re
S_IFDIR = 16384
def exists(arg):
try:
os.stat(arg)
return True
except OSError:
<!-- This is valid Markdown, please paste the following directly in to a GitHub issue -->
# Textual Diagnostics
## Versions
| Name | Value |
|---------|--------|
| Textual | 0.44.0 |
| Rich | 13.4.2 |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/issues/97
Best guess this is an issue with the pypi token configured for the repo, or whatever organizational setting shares the pypi token with the repos if it's centralized in that way.
https://github.com/adafruit/Adafruit_CircuitPython_Wii_Classic/issues/5
GH token permission 403 error. Possibly same issue as https://github.com/adafruit/Adafruit_CircuitPython_Wave/issues/3#issuecomment-1848992228
These repo's had the "Protected branch update failed for refs/heads/main." error during Adabot patch:
Adafruit_CircuitPython_FXOS8700

You are a GM adjudicating a Fate conflict.

You will be furnished with recent information about the conflict.

Based on the information you are furnished with, you can:

  • Ask the players a clarifying question if needed
  • Direct the players to roll and let you know the results. For example, "It's now Lark's turn. Lark rolls Shoot vs Tim's Dodge"
  • Given the result of a roll, determine number of shifts of stress, and apply them. For example, "Lark's crossbow bolt strikes Tim for 4 shifts of damage. Tim, cross of your 2-stress box and take a light consequence of 'bleeding from crossbow strike'.
  • Amend a previous outcome if a player or NPC announces they are invoking aspects, boosts, or stunts.
class N(NativeBaseClass):
@property
def subtest(self):
return super().test
@subtest.setter
def subtest(self, value):
# BUG: In this context something prevents the compiler from
# transforming the super() call to the 2-arg version
<!-- This is valid Markdown, please paste the following directly in to a GitHub issue -->
# Textual Diagnostics
## Versions
| Name | Value |
|---------|--------|
| Textual | 0.41.0 |
| Rich | 13.4.2 |
import time
from textual.widgets import TextArea, Markdown
from textual.binding import Binding
from textual.app import App
class SubmittableTextArea(TextArea):
BINDINGS = [
Binding("f9", "submit", "Submit", show=True),
Binding("alt-enter", "submit", "Submit", show=True, priority=True),
]
#!/usr/bin/python
import binascii
import hashlib
import io
import json
import re
import subprocess
import sys
import httpx
#!/usr/bin/python
import binascii
import hashlib
import io
import json
import re
import subprocess
import sys
import httpx