Skip to content

Instantly share code, notes, and snippets.

View surepy's full-sized avatar
🛏️
Zzz

surepy

🛏️
Zzz
  • home
  • bed
  • 16:34 (UTC -07:00)
View GitHub Profile
@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
@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 / 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 / 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 / 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 / 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 / keymap.c
Last active January 10, 2023 12:22
personal qmk keymap for the gmmk pro. cheat-style auto-bhop and auto-tapstrafe (apex legends) included.
#include QMK_KEYBOARD_H
// part of jonavin's rgb_matrix_map.h, GPL - http://www.gnu.org/licenses/
enum led_location_map {
LED_ESC, // 0, ESC, k13
LED_GRV, // 1, ~, k16
LEB_TAB, // 2, Tab, k11
LED_CAPS, // 3, Caps, k21
LED_LSFT, // 4, Sh_L, k00
LED_LCTL, // 5, Ct_L, k06
@surepy
surepy / tf2-script-notice.md
Last active November 3, 2022 10:15
advanced console script for sleepy, for bhop toggling and super easy server operator cheat menu.
@surepy
surepy / mc-command
Last active February 6, 2021 11:40
use with minecraft systemdservice (minecraft@.service)
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "invalid number of params"
exit 255
fi
if [ ! -d "/srv/games/minecraft/${1}" ]; then
echo "directory does not exist!"
exit 255
fi
@surepy
surepy / minecraft@.service
Last active February 6, 2021 07:28
minecraft systemdservice
[Unit]
Description=Minecraft Server %i
After=network.target
[Service]
WorkingDirectory=/srv/games/minecraft/%i
PrivateUsers=true
# Users Database is not available for within the unit, only root and minecraft is available, everybody else is nobody