Skip to content

Instantly share code, notes, and snippets.

View crates's full-sized avatar
❤️‍🔥
Crates is CEO of llnnll.com, Athames.com, Crates.Media / Cr8s.Net : 844-CR8S-NET

Crates McDade crates

❤️‍🔥
Crates is CEO of llnnll.com, Athames.com, Crates.Media / Cr8s.Net : 844-CR8S-NET
View GitHub Profile
@ravarcheon
ravarcheon / spectralRotation.py
Last active April 12, 2025 04:35
rotates an audio file by 90 degrees in the spectrum while being a reversible process with minimal loss (only floating point errors which are like -150 dB but thats literally silence ahaha~)
import numpy as np
import soundfile as sf
from scipy.fftpack import fft, ifft
def rotateSignal(signal,flip):
if flip:
signal = signal[::-1]
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft
rotSig = ifft(x)
@juanmc2005
juanmc2005 / diart_whisper.py
Last active April 1, 2025 08:17
Code for my tutorial "Color Your Captions: Streamlining Live Transcriptions with Diart and OpenAI's Whisper". Available at https://medium.com/@juanmc2005/color-your-captions-streamlining-live-transcriptions-with-diart-and-openais-whisper-6203350234ef
import logging
import os
import sys
import traceback
from contextlib import contextmanager
import diart.operators as dops
import numpy as np
import rich
import rx.operators as ops
@maxspero
maxspero / wordle_variants.md
Last active April 16, 2025 21:06
Comprehensive list of Wordle variants

Original

  • Wordle - Guess a five-letter word in six guesses. Each guess must be real words.

Clones

Multiplayer

@dangeredwolf
dangeredwolf / lewdle.txt
Last active May 17, 2022 15:53
Every Lewdle game that will ever exist (SPOILERS) https://twitter.com/dangeredwolf/status/1485897751879634954
2022-01-19 1 BONER
2022-01-20 2 FELCH
2022-01-21 3 PUSSY
2022-01-22 4 TAINT
2022-01-23 5 SEMEN
2022-01-24 6 DILDO
2022-01-25 7 FARTS
2022-01-26 8 CHODE
2022-01-27 9 FUCKS
2022-01-28 10 TWATS
@dangeredwolf
dangeredwolf / wordle.txt
Last active May 17, 2022 15:53
Every Wordle game that will ever exist (SPOILERS) https://twitter.com/dangeredwolf/status/1480661843064598530
2021-06-19 0 cigar
2021-06-20 1 rebut
2021-06-21 2 sissy
2021-06-22 3 humph
2021-06-23 4 awake
2021-06-24 5 blush
2021-06-25 6 focal
2021-06-26 7 evade
2021-06-27 8 naval
2021-06-28 9 serve
@crates
crates / safeObjectProxy.js
Created March 17, 2020 02:03
Wrap your JS objects in a Proxy so that you can safely access their properties (ES2015+)
const proxyObj = (obj) {
return new Proxy(obj, {
get: function(target, name) {
const result = target[name];
if (!!result) {
return (result instanceof Object)? proxyObj(result) : result;
}
return proxyObj({});
}
});
@Neo23x0
Neo23x0 / gen_godmode_rule.yml
Last active March 6, 2023 19:07
God Mode Sigma Rule
# ################################################################################
# IMPORTANT NOTE
# The most recent version of this POC rule can now be found in the main repository
# https://github.com/Neo23x0/sigma/blob/master/other/godmode_sigma_rule.yml
# ################################################################################
# _____ __ __ ___ __
# / ___/__ ___/ / / |/ /__ ___/ /__
# / (_ / _ \/ _ / / /|_/ / _ \/ _ / -_)
# \___/\___/\_,_/ /_/ /_/\___/\_,_/\__/_
# / __(_)__ ___ _ ___ _ / _ \__ __/ /__
// This will safely check a value to make sure it has been declared and assigned a value other than null or undefined:
console.log(typeof undeclaredVariable !== "undefined" &&
(typeof undeclaredVariable !== "object" || !undeclaredVariable)) // false
// Compare to checking for null using ==, which will only work for declared variables:
try { undeclaredVariable == null } catch(e) { console.log(e) } // ReferenceError: undeclaredVariable is not defined
try { undeclaredVariable === null } catch(e) { console.log(e) } // ReferenceError: undeclaredVariable is not defined
try { undeclaredVariable === undefined } catch(e) { console.log(e) } // ReferenceError: undeclaredVariable is not defined
let declaredButUndefinedVariable
@Neo23x0
Neo23x0 / Base64_CheatSheet.md
Last active March 31, 2025 08:27
Learning Aid - Top Base64 Encodings Table

Base64 Patterns - Learning Aid

Base64 Code Mnemonic Aid Decoded* Description
JAB 🗣 Jabber $. Variable declaration (UTF-16), e.g. JABlAG4AdgA for $env:
TVq 📺 Television MZ MZ header
SUVY 🚙 SUV IEX PowerShell Invoke Expression
SQBFAF 🐣 Squab favorite I.E. PowerShell Invoke Expression (UTF-16)
SQBuAH 🐣 Squab uahhh I.n. PowerShell Invoke string (UTF-16) e.g. Invoke-Mimikatz
PAA 💪 "Pah!" <. Often used by Emotet (UTF-16)