Skip to content

Instantly share code, notes, and snippets.

View surepy's full-sized avatar
🛏️
Zzz

surepy

🛏️
Zzz
  • home
  • bed
  • 06:09 (UTC -07:00)
View GitHub Profile
@surepy
surepy / tf2bd_generate_group_bans_chatgpt.py
Created April 29, 2023 06:39
script for fast importing of group into a tf2bd list
# Import the xml and requests modules
import xml.etree.ElementTree as ET
import requests
import json
import time
# surepy's tf2bd import script
# - featuring chatgpt and binggpt
# it's kind of fucking crazy how well this works, i know it works this well but JEEZ
# took me less than 30 minutes to generate a good 80% of this code.
@surepy
surepy / svdx_controller.ino
Created March 11, 2024 14:18
personal sound vortex controller
/*
* sleepy's personal SVDX controller
*
* largely pasted from https://github.com/knuckleslee/RhythmCodes/blob/master/2E10B10LED_sdvx/leo/leo.ino
* made with https://github.com/fabricioanciaes/OpenSDVXCon
*
* Arduino Joystick Library
* https://github.com/MHeironimus/ArduinoJoystickLibrary/
* mon's Arduino-HID-Lighting
* https://github.com/mon/Arduino-HID-Lighting
@surepy
surepy / fresh_windows.ps1
Created October 9, 2024 06:34
whenever i need to reinstall windows and quickly re-setup apps n shit
# sleepy's Windows reinstall script
# run "Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine" first
# idk why winget is sometimes broken
wget https://winget.azureedge.net/cache/source.msix -OutFile winget_sourcefile.msix
Add-AppxPackage -Path winget_sourcefile.msix
# PATH.
# dxvk stuff
setx DXVK_HUD "version,api,frametimes,scale=0.75"
@surepy
surepy / printer-aquilax2-sleepy.cfg
Created November 22, 2024 03:28
Sleepy's Klipper Aquila X2 configuration
# based off https://github.com/SteveGotthardt/klipper/blob/hc32f460_work/config/generic-voxelab-aquila-v1.0.3.cfg
# This file contains pin mappings for the Voxelab Aquila with
# HC32F460 on the 1.0.3 mainboard. To use this config, during
# "make menuconfig" select the the HC32F460.
# FFP0173_Aquila_Main_Board_V1.0.3
# AQUILA X2: select the PA15 & PA09 option
# https://gist.github.com/SteveGotthardt/2ed249f197f5928eaf5c3d3877d55503?permalink_comment_id=4961295#gistcomment-4961295
@surepy
surepy / xitter-debloat.txt
Created February 12, 2025 10:52
ublock filter to debloat some of xitter bullshit
! sidebars
! grock moment
x.com##.r-16y2uox.r-eqz5dr.r-6koalj.css-175oi2r[href="/i/grok"]
! jobs? who the fuck is looking for jobs in twitter?
x.com##.r-16y2uox.r-eqz5dr.r-6koalj.css-175oi2r[href*="/jobs"]
! communities
x.com##.r-16y2uox.r-eqz5dr.r-6koalj.css-175oi2r[href*="/communities"]
! bluecheck
x.com##.r-16y2uox.r-eqz5dr.r-6koalj.css-175oi2r[href="/i/premium_sign_up"]
! "Verified Orgs"
@surepy
surepy / twitter-debloat.js
Last active April 19, 2025 10:21
tampermonkey script to debloat xitter bullshit (ublock is being phased away due to maniv2)
// ==UserScript==
// @name twitter-debloat
// @namespace http://github.com/surepy/
// @version 2025-04-18
// @description debloat twitter to be a little bit less cluttered and more usable
// @author surepy
// @icon data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSI2MHB4IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA2MCA2MCIgd2lkdGg9IjYwcHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48dGl0bGUvPjxkZWZzLz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJibGFjayIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiPjxnIGlkPSJ0d2l0dGVyIj48cGF0aCBkPSJNMzAsNjAgQzQ2LjU2ODU0MzMsNjAgNjAsNDYuNTY4NTQzMyA2MCwzMCBDNjAsMTMuNDMxNDU2NyA0Ni41Njg1NDMzLDAgMzAsMCBDMTMuNDMxNDU2NywwIDAsMTMuNDMxNDU2NyAwLDMwIEMwLDQ2LjU2ODU0MzMgMTMuNDMxNDU2Nyw2MCAzMCw2MCBaIiBmaWxsPSIjMDAwMDAwIiBpZD0iVHdpdHRlciIvPjxwYXRoIGQ9Ik00MS4wNTIxMzg1LDE4LjQzNjY5NDMgQzM5Ljg0MzE4NDYsMTcuMDYyMjAx