Skip to content

Instantly share code, notes, and snippets.

View Sebby37's full-sized avatar
πŸ“Ÿ
Learning homebrew dev for Gameboy & NDS

Seb C Sebby37

πŸ“Ÿ
Learning homebrew dev for Gameboy & NDS
  • Adelaide, Australia
View GitHub Profile
@Sebby37
Sebby37 / Youtube UI Nuker.user.js
Created January 14, 2026 06:10
A Userscript that removes just about everything from the YouTube UI in the name of not getting distracted and being productive.
// ==UserScript==
// @name Youtube UI Nuker
// @namespace http://tampermonkey.net/
// @version 2025-06-19
// @description Removes like everything from the YT UI except for the video and title
// @author Sebby37
// @match http*://*.youtube.com/*
// @icon https://www.animatedgif.net/fireexplosions/boomer_e0.gif
// @grant none
// ==/UserScript==
@Sebby37
Sebby37 / rand.s
Created January 2, 2026 15:36
Simple x86_64 assembly program to return a random number upon execution via /dev/urandom!
.intel_syntax noprefix
.global _start
.section .text
_start:
# Open /dev/urandom
mov rax, 2 # sys_open code is 2
lea rdi, [urand] # Load address of urand
xor rsi, rsi # Set the flags to 0
xor rdx, rdx # Set the mode to 0 too
@Sebby37
Sebby37 / glep.sh
Last active March 20, 2024 04:13
glep: A command line utility kinda like grep, but for interacting with LLMs through an OpenAI-compatible API endpoint. I recommend using this with Oobabooga's text-generation-webui or llama.cpp's server example. Made both for personal use and to get more comfortable with bash!
#!/bin/bash
# Hyperparameters
SERVER="http://192.168.20.20:8080" #"http://localhost:8080/v1/chat/completions"
MAX_TOKENS=256
NUM_GENERATE=256
SEED=-1
TEMPERATURE=0.5
TOP_P=0.9