Skip to content

Instantly share code, notes, and snippets.

View SuppliedOrange's full-sized avatar

SuppliedOrange

View GitHub Profile

A couple of days ago, I found this video about the website with 1 million checkboxes. It came out during June (4 months ago) and I didn't really think much of it, except marvel at the optimization.

The video then revealed that a bunch of teens took decided to create art on it, with checkboxes. I felt like I was missing out. I immediately hopped onto their discord server and looked around. The owner was a pretty nice and active person, everyone there seemed to be quite friendly. They told me it wasn't possible to create art with the checkboxes anymore since the API had shut down. I was a bit disappointed, but soon-

I found out that there's a new page with 1 billion checkboxes. Obviously, I went on and decided to take apart all the javascript. It was a vite.js web-page. It was all obsfucated, so I went to the network requests. It was connected to a websocket and I saw that each request was a bunch of binary messages sent to a websocket

@SuppliedOrange
SuppliedOrange / Microsoft.PowerShell_profile.ps1
Created August 26, 2024 20:06
Powershell Directory Username Masker
<#
What this does is replaces a certain word in your directory path with another.
I use this to mask my username.
C:\Users\MyUserName\Documents\WindowsPowerShell becomes C:\Users\MyFakeName\Documents\WindowsPowerShell
Put this in > Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1
#>
function prompt {
$currentPath = (Get-Location).Path
$maskedPath = $currentPath -replace "MyUserName", 'MyFakeName'

I regret not taking the first step

A gush of wind rushed past my face
And withdrew my hair till my forehead was bare
I stood with my eyes closed
As the train flew by with its sweet metal jingle
My ride home receded into the distance

I regret not taking the last step

Asynchronous and patient calls

Waiting for your promise

Resolve for me or I will die

But I will await forevermore


Where did it begin?
The same dull roads
The same boat in the grass
The same sharks in the meadows
But this is the end

A quick phasmo guide (Not maintained anymore)


Map traits:

  • In snow/rain maps, the temperature will be low in most places and will take a while for the actual ghost room to cool to a noticable level

  • Turn on too many lights and the breaker breaks.

  • Ghosts can spawn in hallways, not just rooms (Except on Asylum)

@SuppliedOrange
SuppliedOrange / translate.js
Last active March 10, 2024 10:51
This is probably the longest Discord.js command I ever made. Criticism is welcome
export const translate: MachinaFunction = machinaDecoratorInfo
({monikers: ["translate"], description: "translates."})
("webhook-commands", "translate", async (params: MachinaFunctionParameters) => {
if (!params.msg.member.hasPermission("MANAGE_CHANNELS")) return params.msg.channel.send({embed: { title: "You need the MANAGE_CHANNELS permission to use this, " + params.msg.author.tag, color: "4B0082" }});
if (params.args[0] == "help") {
let transhelp = new MessageEmbed({
title: "Translation Commands",
fields: [