Skip to content

Instantly share code, notes, and snippets.

View meksor's full-sized avatar

Max Wolschlager meksor

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mekspwnschlager on github.
  • I am meks (https://keybase.io/meks) on keybase.
  • I have a public key ASCqHqalPgk5KbjXsn6KdBQb8xNXqEHuHMalcFNWV2CeoAo

To claim this, I am signing this object:

import java.net.SocketException;
import java.util.List;
import java.net.InetAddress;
import artnet4j.ArtNet;
import artnet4j.ArtNetException;
import artnet4j.ArtNetNode;
import artnet4j.events.ArtNetDiscoveryListener;
import artnet4j.packets.ArtDmxPacket;
The Vanity of Humanity.
I was nobody even when I was somebody. What do we have to lose?
Shadilay.
True expression is reserved just for the slender.
So much hypocrisy. No one actually speak their mind.
Hebrew sounds just like Arabic.
America 1st!
Practicing Nationalism while talking America into Globalism.
Total Hypocrisy: They talk about globalism yet they protect their borders with zeal and passion.
Globalism is impossible as long as there are passports.
import cv2
import numpy as np
from random import randint, random
intensity = 10
glitch_row_size = 20
img = cv2.imread('/tmp/screenshot.png')
org_rows, org_cols, cnls = img.shape
OPERATORS = {
('OR', '||'): '||',
('AND', '&&'): '&&',
('<=>', ' '): '<=>',
}
class Parser(object):
@property
def operator_reprs(self):
import itertools
import time
class Sieve:
primes = [2, 3, 5, 7]
def __init__(self, end=-1):
self.end = end
def __iter__(self):
set nocompatible
#include <ESP8266WiFi.h>
#include <NTPClient.h>
#include <FS.h>
#include <WiFiUdp.h>
#include <ESP8266WebServer.h>
#define DEBUG true
#define PIN_TRIGGER D5
#define PIN_ECHO D6
@meksor
meksor / rofl.py
Last active March 24, 2021 02:07
rofl.py
import dis
class BaseA(type):
def __init__(self, name, bases, attrs):
foo_bytecode = [i.opcode for i in dis.Bytecode(attrs["foo"])]
if not 125 in foo_bytecode:
raise Exception(
f"The foo function in class {name} must assign at least one variable."

Observations

Setup Message

0x69 
0x34 

Seem to be at the beginning of every setup(?) message from the driver.