Skip to content

Instantly share code, notes, and snippets.

View theelous3's full-sized avatar

M.J. theelous3

  • Dublin, Ireland
View GitHub Profile
from typing import List
from dataclasses import dataclass
from numbers import Number
@dataclass
class Liquid:
volume: int
mg_per_ml: Number
import asyncio
from random import randint
from httpx import AsyncClient
async_client = AsyncClient()
async def handler(handler_id):
6452 ** randint(1, 10)
print(handler_id, 1)
Erin Sylis > Hello!
Erin Sylis > Are you interested in a session? Or just curious?
Kurgill > A session
Kurgill > I will pay you double your hours rate, 30 mins in to the session. Your topic is the sexualisation of processed meats. I will masturbate for the entire session, and eat dry crackers.
(We then debate pricing, and I offer 10m per 10 mins which he accepts, though I tipped too.)
@theelous3
theelous3 / x.cpp
Last active August 29, 2021 14:04
// lol sup
#include <AccelStepper.h>
#include <AccelStepper.h>
// STEPPER INIT
AccelStepper quill_stepper(AccelStepper::DRIVER, 2, 3);
const int max_speed = 4000;
sum([(lambda x: x ** x)(i) for i in takewhile(lambda x: x != -1, (int(input("give thing")) for _ in repeat("lol fuk u python")))])
{
"five_w":[
"flyer",
"gored",
"dandy",
"idiot",
"suing",
"hales",
"yowed",
"hands",
import json
from random import sample
_ALL_WORDS = []
with open("words.json", 'r') as word_file:
word_dict = json.load(word_file)
for key, word_list in word_dict.items():
_ALL_WORDS.extend(word_list)
>>> from collections import deque
>>>
>>> def ldp(n, current=60):
... # largest_divisible_power
... s = 1
... while n > current:
... current = current ** s
... s += 1
... return s - 2
...
'--8banana133744910kmmr13a56!102!2405\r\nContent-Disposition: form-data; name="file_1"; filename="test_file1.txt"; Content-Type: application/octet-stream\r\n\r\nCompooper\r\n--8banana133744910kmmr13a56!102!2405--\r\n'
class LastLoopCacherNoFinal:
pass
class LastLoopCacher:
"""
An iterable context manager that stores the last value it loops as
an attribute, `final`.
Final falls out of scope upon exiting the context manager.