Skip to content

Instantly share code, notes, and snippets.

View H3wastooshort's full-sized avatar
:octocat:
probably screaming at code rn

H3 H3wastooshort

:octocat:
probably screaming at code rn
View GitHub Profile
@H3wastooshort
H3wastooshort / ms93_music_users.js
Created August 5, 2023 21:57
show usernames on the MS93 music page. made this on 18.9.2021
// ==UserScript==
// @name MS93 Music Filename Shower
// @version 0.3
// @description Shows the MP3s filename on the MS93 music.php page.
// @author hacker3000.cf
// @match https://myspace*/music.php
// @match https://myspace.windows93.net/music.php
// @match https://myspace93a.osyu.sh/music.php
// @match https://myspace-a.ziad87.net/music.php
// @grant none
@H3wastooshort
H3wastooshort / secret.h
Last active May 19, 2024 13:44
esp32 telegram security cam
const String CHAT_ID = "-000000";
const String BOTtoken = "xxx:xxxxxxx";
@H3wastooshort
H3wastooshort / reddit_to_lemmy.py
Last active June 19, 2023 21:17
Search the lemmyverse for the subreddits you are subscribed to on reddit.
lemmy_communities_url = "https://browse.feddit.de/communities.json?nocache="
import json, urllib.request, time, sys, os
print("H3's Reddit to Lemmy script v0.4.1")
savefile_name = ""
use_savefile = 0
savefile_data = {}
@H3wastooshort
H3wastooshort / youtube_timestamp_to_ffmeta.html
Last active April 4, 2023 01:18
Convert youtube comment timestamps to FFMETADATA
<!DOCTYPE html>
<html>
<head>
<style>.half{width:95%;height:40vh;}</style>
</head>
<body>
Title:<input id="title_text"> Artist:<input id="artist_text">
<textarea id="in_text" class="half"></textarea><br>
<textarea id="out_text" class="half"></textarea>
<script>
@H3wastooshort
H3wastooshort / spaceapi_led.ino
Created September 22, 2022 14:35
LED Thingie to show if your favorite Makerspace is open.
/*
Hardware: one ESP01 Module, 2 LEDs, 1 resistor roughly 500Ohm
GPIO in RED_LED to red led anode (+)
GPIO in GREEN_LED to green led anode (+)
both LEDs cathodes to one side of resistor
other side of resistor to 3.3V
*/
#include <ESP8266WiFi.h>
@H3wastooshort
H3wastooshort / mediakeys_board.ino
Created June 17, 2022 20:41
shitty copied together mediakeys buttons thing for an ESP32-S2
#include "Adafruit_TinyUSB.h"
#define MUTE_PIN 4
#define V_UP_PIN 7
#define V_DOWN_PIN 8
#define SKIP_PIN 10
#define PREV_PIN 11
#define PP_PIN 12
#define RID_CONSUMER_CONTROL 1
@H3wastooshort
H3wastooshort / MySpace93_Notifications.py
Last active June 13, 2021 05:31
Get an audible and visible notification for [MySpace93](https://myspace.windows93.net/index.php?id=77990). Based off of [sophiezhng/myspace_93_check_notifs.py](https://gist.github.com/sophiezhng/89e1f887202da95d92f4b49e1fba7236)
import json
import requests
import time
from playsound import playsound
user_IDs = ["77990", "82448"] #Enter you user IDs here. Put them in quotes and seperate them by commas
user_id = ""
last_state = [False] * len(user_IDs)
@H3wastooshort
H3wastooshort / howami.c
Last active January 5, 2021 12:11
howami. Because everyone always asks who i am, but never how i am :(
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <time.h>
int main () {
srand ( time(NULL) );
bool yes_no = rand() & 1;
if (yes_no) {
printf("im fine\n");
return 0;
#include <DigiKeyboardDe.h>
void setup() {
// put your setup code here, to run once:
pinMode(0, INPUT);
pinMode(1, INPUT);
pinMode(5, INPUT);
DigiKeyboardDe.delay(1);
}
@H3wastooshort
H3wastooshort / autocdrip.sh
Created February 9, 2019 14:56
rips inserted cd's
#/bin/bash
while :; do
if /usr/bin/trayopen /dev/sr0; then
sleep 20
until abcde -c /home/hacker3000/.abcde.conf; do
beep -l 10000 -f 100
done
beep -f 1000 -n -f 1500 -n -f 600 -n -f 500 -n -f 100 -r 2 -l 10 -n -f 50 -r 2 -l 200 -n -f 40 -r 2 -l 300 -n -f 60 -r 3 -n -f 50 -r 3
until ! /usr/bin/trayopen /dev/sr0; do
printf "close tray\n"