This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from json import load | |
from sys import argv | |
import subprocess | |
from time import sleep, monotonic | |
with open(argv[1],"r") as file: | |
config=load(file) | |
def send_nsupdate(ip,domain,keyfile,server,zone,ttl=60): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const String CHAT_ID = "-000000"; | |
const String BOTtoken = "xxx:xxxxxxx"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); | |
} |
NewerOlder