Skip to content

Instantly share code, notes, and snippets.

View Stehlampe2020's full-sized avatar

Stehlampe2020 Stehlampe2020

View GitHub Profile
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
{N/D}code n~m_b encoded text • Script written by Lampe2020 <kontakt@lampe2020.de> (GitHub:Stehlampe2020)
Encoding definition: n~m_b → n=n bits; m=m'th to last bit flipped; b=binary code that can be decoded to ASCII text if transformations applied
"""
from sys import stderr as STDERR # Make it easy to give output as error
@Stehlampe2020
Stehlampe2020 / autoclicker.py
Last active March 19, 2023 21:58
Simple python autoclicker for Linux with `xdotool`
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import gi, time, os, random, multiprocessing
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
class MainWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self, title="Autoclicker")