Skip to content

Instantly share code, notes, and snippets.

@4pii4
4pii4 / versions.json
Created November 19, 2023 10:15
thank you mojang
{"latest": {"release": "1.20.2", "snapshot": "23w46a"}, "versions": [{"id": "23w46a", "type": "snapshot", "url": "https://piston-meta.mojang.com/v1/packages/5aa744bee6e3452273aee2b62f1f08438105efeb/23w46a.json", "time": "2023-11-16T14:20:46+00:00", "releaseTime": "2023-11-16T14:11:33+00:00"}, {"id": "23w45a", "type": "snapshot", "url": "https://piston-meta.mojang.com/v1/packages/af7b4161546e366be6a5742faad898385d380461/23w45a.json", "time": "2023-11-16T14:06:43+00:00", "releaseTime": "2023-11-08T13:59:58+00:00"}, {"id": "23w44a", "type": "snapshot", "url": "https://piston-meta.mojang.com/v1/packages/ea8c2ad5574509b9c23e2267442f58ff35af076c/23w44a.json", "time": "2023-11-16T06:17:49+00:00", "releaseTime": "2023-11-01T12:30:52+00:00"}, {"id": "23w43b", "type": "snapshot", "url": "https://piston-meta.mojang.com/v1/packages/cc214afd6603ef4b8195b57f66876fee21319ef9/23w43b.json", "time": "2023-11-16T06:17:49+00:00", "releaseTime": "2023-10-26T13:46:16+00:00"}, {"id": "23w43a", "type": "snapshot", "url": "https://pi
@4pii4
4pii4 / aabbo.js
Created November 8, 2023 06:39
aternos adblock block obfuscated
(() => {(function(c,d){const U=b,V=b,e=c();while(!![]){try{const f=-parseInt(U(0x192))/(0x197b+0x5b0+0x2*-0xf95)+parseInt(V(0x14c))/(-0x189+-0x1359+0x2*0xa72)+-parseInt(V(0x104))/(-0x15ad+-0x1*0xa7f+0x7*0x499)+-parseInt(U(0x1cd))/(0x3*-0x43+-0x296+0x3*0x121)*(-parseInt(V(0x101))/(0x1b2f*0x1+0x2*-0x7c7+-0x2e7*0x4))+-parseInt(V(0x152))/(-0x8ad+-0x1e2d+0x26e0)*(-parseInt(U(0x14f))/(0x1928+0x2033*-0x1+0x712))+-parseInt(V(0x13e))/(0x1a42+0x1*-0x4eb+0x443*-0x5)+parseInt(V(0x137))/(0x13b1+-0x829+0x147*-0x9)*(parseInt(U(0x1a0))/(0x1880*-0x1+-0x148+0x19d2*0x1));if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x2d1e9*0x6+-0xa601d+0x9c*0x49f),(c=>{const W=b,X=b,d={'TuThK':function(l,m){return l instanceof m;},'ERlgz':function(l,m){return l(m);},'pqjTk':W(0x19c),'FCszx':W(0x18f),'ZEjgp':function(l){return l();},'tEqzl':function(l,m){return l!==m;},'eYZQK':X(0x127),'PNNxl':function(l){return l();},'ERcUR':W(0x17c),'zBLhs':X(0x168)};self[d[X(0x16c)]]=![];let e=String[W(0x19f)],f=String[X
@4pii4
4pii4 / post.md
Created August 13, 2023 07:52
Simple Minecraft server start script + ngrok + send IP in discord channel

Features:

  • Port forwaring using ngrok
  • Send IP to a discord channel
  • Stop ngrok after server stopped
import subprocess
import os
import time
from discordwebhook import Discord