Skip to content

Instantly share code, notes, and snippets.

@pog5
pog5 / lastModifiedHeaderTracker.v
Created May 28, 2024 02:36
Checks the Last-Modified response header of a URL every 60 seconds, if it changes, it sends a alert to a discord webhook.
module main
import time
import net.http
const webhook_url = "https://discord.com/api/webhooks/channelid/webhookid"
const target_url = "https://www.website.com/index.html"
fn main() {
mut last_modified_header := ""
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: pog5 <pixelnightly@proton.me>
Date: Thu, 14 Mar 2024 20:23:00 +0200
Subject: [PATCH] HOLY COW I'M TOTALLY GOING SO FAST OH F***
diff --git a/src/main/java/io/papermc/paper/chunk/system/io/RegionFileIOThread.java b/src/main/java/io/papermc/paper/chunk/system/io/RegionFileIOThread.java
index be10a534a8e58e0f96c3b28dc74513e4cfff2464..c4b6092651d2abcfcc99cb9d8c47e90187330da6 100644
--- a/src/main/java/io/papermc/paper/chunk/system/io/RegionFileIOThread.java
+++ b/src/main/java/io/papermc/paper/chunk/system/io/RegionFileIOThread.java
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: pog5 <pixelnightly@proton.me>
Date: Fri, 15 Mar 2024 10:34:14 +0200
Subject: [PATCH] who needs these anyways
diff --git a/src/main/java/net/minecraft/server/Eula.java b/src/main/java/net/minecraft/server/Eula.java
index b9403a3eafc1b30b33ac654f253d0849cacadd03..42e89dea5f53d5e5d3f333644f5ad0b26b859b5a 100644
--- a/src/main/java/net/minecraft/server/Eula.java
+++ b/src/main/java/net/minecraft/server/Eula.java

Removed:

Features:

  • Screen Magnifier (In Accesibility)
  • Narrator
  • Action Center
  • Backup and Restore
  • Ease of Access Themes
  • Microsoft Edge (Browser & Update Service)
  • Device Lockdown and Embedded Mode
@pog5
pog5 / Quiz.java
Created September 30, 2023 21:37
Randomized Quiz made in Java 17 using nothing but built in utils and a hashmap
import java.util.*;
public class Quiz {
private static Map<String, String> getQuestions() {
Map<String, String> questions = new HashMap<>(); // create questions map
// questions.put("Question", "Answer");
questions.put("What is the main benefit of using IOPSX?\n A. Increased performance \n B. Reduced latency \n C. Improved scalability \n D. All of the above", "b");
questions.put("What is the full name of IOPSX?\n A. Input/Output Parallel Storage Accelerator\n B. Input/Output Parallel Storage Extension\n C. Input/Output Parallel Storage Exchange\n D. Input/Output Parallel Storage Extractor\n", "a");
return questions;
@pog5
pog5 / gome.go
Created September 29, 2023 18:39
Basic unfinished TrustedUninstaller (AME Wizard) implementation in Go
// FLOW FILE FORMAT (file.toml)
// version = "24.09"
//name = "Example Flow"
//info = "An example description that will appear!"
//author = "Pixel"
//steps = ["1", "2"]
//
//[1]
//status = "Messaging hi"
@pog5
pog5 / server.go
Created September 26, 2023 19:29
Basic HTTP File Upload server written in Go without JavaScript, saving files as their MD5 hash + extention (if it exists)
package main
import (
"crypto/md5"
"encoding/hex"
"io"
"net/http"
"os"
"strings"
)
@pog5
pog5 / VMware_Keys.md
Created November 28, 2022 19:13 — forked from Vichingo455/VMware_Keys.md
VMware Workstation Pro Serial Keys

VMware Workstation Pro Serial Keys

Updated: 2022-11-18

NOTE: I DON'T GUARANTEE THE KEYS WORK, DON'T CONTACT ME IF ONE IS NOT WORKING, JUST TRY ANOTHER ONE OR QUIT THE PAGE

VMware Workstation 4.x.x

ZHDH1-UR90N-W844G-4PTN6

G1NP0-T88AL-M016F-4P8N2

ZC14J-4U16A-0A04G-4MEZP