Skip to content

Instantly share code, notes, and snippets.

View Fweak's full-sized avatar
👁️
Taliban

Fweak

👁️
Taliban
  • DRAIN GANG
  • DRAIN GANG
  • 18:12 (UTC -07:00)
View GitHub Profile
@d4c5d1e0
d4c5d1e0 / px.js
Last active June 3, 2023 17:29
PerimeterX HoldCaptcha value
function UniformSampler(min, max) {
return Math.floor(Math.random() * (max - min)) + min;
}
// 1. generate 8 uuidv4 bytes
// Would have to be actually random
var buffer =
"4cbf32ae3046468b9f62b376ef70f3fd52405d54082f449d82a034585c8b6f599353b89b57bd45dcb13c8b9b7c6f33de9461c59897eb4fa9b63666c9c1e867564f95b63671334b0eacbe3c6ae6f8c2d3ef58ce12ea8d467e9ab202feed5c61144388426fd95f4c808e4de4747042eebdbdfc72817800494f9d6af3eeb02c6990";
// ....-....-1..-....-d787dec486fa
// the px_uuid
@amishshah
amishshah / discordjs.md
Created October 22, 2021 22:36
tl;dr i'm stepping down as owner of discord.js!

Hello! I'm Amish (also known as hydrabolt), and I am the creator of discord.js.

I created discord.js as a hobby/learning project for myself in August 2015 while I was still a teenager in school.

More than 6 years later, discord.js has become more popular than I could ever imagine, and I cannot express how grateful I am to the other contributors and the community for this amazing experience.

A few of my favourite highlights include:

  • The countless voice rewrites (I think we're done with that now 😉)
  • The April Fools' traditions
@swoopae
swoopae / spotify.cc
Last active May 21, 2023 13:31
stupid simple spotify song detection for C++
void spotify ( ) {
const static auto & spotify = CONFIG_GET ( HASH_CT ( "crescent:spotify" ) , bool );
if ( !spotify )
return;
static HWND spotify_hwnd = nullptr;
static float last_hwnd_time = 0.f , last_title_time = 0.f;
/* hilariously overengineered solution to get fucking spotify song name */

Discord API Raid History

  • Total Bans: 3413
  • Total Raids: 33
  • Average Bans Per Raid: 103.42 bans
  • Average Time Between Raids: 8.88 days

All dates are based on CST.