Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 14:32
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@eRQee
eRQee / indonesia-radio.m3u
Last active April 26, 2024 14:31
Indonesian Online Radio Playlists (Supported Player: Radio++, GoodVibes). More lists is coming.
#EXTM3U
#EXTINF:0,Andika FM
#EXTVLCOPT:network-caching=1000
http://stream2.andikafm.com:1057/andikafm
#EXTINF:0,Ardan Radio
#EXTVLCOPT:network-caching=1000
http://listento.ardanradio.com:1059/;
#EXTINF:0,Attaqwa FM
#EXTVLCOPT:network-caching=1000
http://103.28.148.18:8840/;
@alexanderson1993
alexanderson1993 / createR2UploadHandler.ts
Created April 5, 2024 15:22
A Remix upload handler for R2 buckets
import type { UploadHandlerPart } from "@remix-run/cloudflare";
export class MaxPartSizeExceededError extends Error {
constructor(public field: string, public maxBytes: number) {
super(`Field "${field}" exceeded upload size of ${maxBytes} bytes.`);
}
}
export function createR2UploadHandler({
bucket,
@Dih5
Dih5 / compile.sh
Created December 5, 2017 15:01
Compile with lualatex + biber
#!/bin/bash
OUTDIR=/tmp/ramdisk
FILENAME=foobar
OPTIONS="--synctex=1 -interaction=nonstopmode"
mkdir -p $OUTDIR
lualatex $OPTIONS --output-directory=$OUTDIR $FILENAME.tex
@smx-smx
smx-smx / XZ Backdoor Analysis
Last active April 26, 2024 14:30
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress