Skip to content

Instantly share code, notes, and snippets.

View Yuffster's full-sized avatar
🕳️
ᕕ( ᐛ ) ᕗ

Michelle Steigerwalt Yuffster

🕳️
ᕕ( ᐛ ) ᕗ
View GitHub Profile
IP ASSERTION & COPYRIGHT NOTICE
================================
File: IP-ASSERTION-Michelle-Steigerwalt.txt
Author: Michelle Steigerwalt
Date: 2025-10-06
Reference gist: https://gist.github.com/Yuffster/52a387475e62a865d32ca5a1d4bdbbd0
1) Declaration of Ownership
I, Michelle Steigerwalt, hereby assert sole and exclusive copyright, moral rights, and all applicable intellectual property rights in and to the works, records, evidence tar files, manifests, and related materials referenced in the above gist and any file names or SHA-256 digests contained therein.
I, Michelle Steigerwalt, am the author and owner of Pumpkin_Town.md
Nonce: marmalade-arcade-1977:event-4f2a
SHA3-256: 2cc148e86146d60ec9179efaf95d71ffe09e8ee188a65ca1cc3cd4b77b15029a
Date: 2025-09-24T21:03:00Z
Note: I will sign this claim from a secure offline device. This signed claim will be used to verify authorship.
@Yuffster
Yuffster / Base.py
Created December 18, 2019 01:13
sqlalchemy base model
class DBModel():
def save(self):
try:
s = get_session()
s.add(self)
s.commit()
except (sa.exc.IntegrityError):
raise x.ValidationError("Invalid data.")
.sprite {
background: url('./zombies.png');
--sprite-width: 32px;
--sprite-height: 48px;
--sprite-x: 0;
--sprite-y: 0;
--sheet-x: 0;
--sheet-y: 0;
--offset-x: calc((var(--sheet-x) * var(--sprite-width) * 3));
--offset-y: calc((var(--sheet-y) * var(--sprite-height) * 4));
Array.prototype.smoosh = (...a) => 'arbitrary extension yay';
Array.prototype.map = (...a) => 'native overload boo';
for (let i in []) console.log(i); // only smoosh
package main
import "fmt"
import "time"
import "syscall"
import "os"
import "os/signal"
type fn func(os.Signal)
func catchSigterm(fun fn) {
class Magic {
constructor(fn, a) {
this.__chain = [[fn, a]];
}
get(t, a) {
if (a == "✨✨MAGIC✨✨") return true;
if (a == "resolve") {
return () => Magic.chain(this.__chain);
}
return (...b) => {
import os.path
import json
import sqlite3
from contextlib import contextmanager
__data_path = None
def get_data_path(file):
return os.path.join(
os.path.dirname(__file__),
@Yuffster
Yuffster / require.js
Created July 10, 2017 03:19
require.js
// Global object to hold modules by their path names.
Modules = {};
Modules.__loaded__ = {};
// Give all the other scripts access to the module hierarchy.
function require(p) {
if (Modules.__loaded__[p]) {
// Only initialize each module once.
return Modules.__loaded__[p];
}
from pydub import AudioSegment
def chunks(l, n):
for i in range(0, len(l), n):
yield l[i:i + n]
def convertAudio(f):
sound = AudioSegment.from_mp3(f)