Skip to content

Instantly share code, notes, and snippets.

View cyan-2048's full-sized avatar
😭
I may be slow to respond.

Cyan cyan-2048

😭
I may be slow to respond.
  • Philippines
View GitHub Profile
@cyan-2048
cyan-2048 / powercord_broke.js
Last active November 7, 2021 09:09
Manually updating all powercord plugins
var plugins = [
"badges-everywhere",
"pc-docs",
"pc-spotify",
"bdCompat",
"pc-emojiUtility",
"pc-tags",
"better-formatting",
"pc-hastebin",
"pc-updater",
@cyan-2048
cyan-2048 / attempt to mimic nodejs repl to work on browser.js
Created August 4, 2022 13:33
i wanted to create a super cool thing for my website where you can run the command "node" and some sort of repl will work
let global$1 = null;
if (typeof document !== "undefined") {
const iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.style.display = "none";
global$1 = iframe.contentWindow;
} else {
global$1 = global;
}
@cyan-2048
cyan-2048 / nodejs-repl-browser-simulator.js
Created August 4, 2022 13:35
a super crappy attempt on making a "repl" to simulate nodejs on the browser... basically you can stringify stuff to look more "console-like".
let global$1 = null;
if (typeof document !== "undefined") {
const iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.style.display = "none";
global$1 = iframe.contentWindow;
} else {
global$1 = global;
}
@cyan-2048
cyan-2048 / dummy_ads.js
Last active January 23, 2024 13:45
DummyKaiAds, simulates KaiAds that always creates an error.
/**
* @name DummyKaiAds
* @description simulates KaiAds that always creates an error.
* @author Cyan <[email protected]> https://cyan-2048.github.io/about/
* @homepageURL https://gist.github.com/cyan-2048/34b87cc4570fed3c9fe6c3cd14d7148e
* @license MIT
* @version 1.0.0
*/
var getKaiAd, KaiAd;
@cyan-2048
cyan-2048 / table.md
Created January 2, 2023 03:43
table.md
tl. / tag. Tagalog
tl-mdu. Marinduque Tagalog
@cyan-2048
cyan-2048 / LICENSE
Last active September 30, 2023 14:05
a fix for bhacker wiki on KaiOS 2.5
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit