Skip to content

Instantly share code, notes, and snippets.

View Gapstare's full-sized avatar
💭
Building stuff

Snakecharmer Gapstare

💭
Building stuff
View GitHub Profile
@Gapstare
Gapstare / fu2.py
Created March 17, 2022 18:24
Python port of MS-DOS program SUXX.COM.
#!/usr/bin/python3
#
# Python port of SUXX.COM (https://www.pouet.net/prod.php?which=76778),
# sans music. Preferably used with a black background.
#
# Dependencies: ansicolors, click
# Bugs: Will not restore cursor state when shut down.
# Ported by El Topo 2022. License CC0.
from colors import color
@Gapstare
Gapstare / pouetnetavatarreplacer.js
Created August 25, 2021 17:18
pouet.net avatar replacer for Greasemonkey
// ==UserScript==
// @name pouet.net avatar replacer
// @namespace https://github.com/Farow/userscripts
// @version 1
// @include https://*pouet.net/*
// @grant none
// ==/UserScript==
let lookup_table = {
'https://content.pouet.net/avatars/bass_.gif': 'https://eltopo.untergrund.net/funny_stuff/wild.png',
@Gapstare
Gapstare / boardcount.py
Created February 7, 2021 14:20
pouet.net board stats script
#!/usr/bin/python3
# by El Topo 2021 CC-BY-SA
#
# Requirements: pip3 install phone-iso3166
import urllib.request
import json
import sys
import time
import csv