Skip to content

Instantly share code, notes, and snippets.

View kotx's full-sized avatar

Kot C kotx

View GitHub Profile
@mary-ext
mary-ext / bluesky-osa.md
Last active July 31, 2025 20:17
Bluesky's UK age assurance sucks, here's how to work around it.

Bluesky's UK age assurance sucks, here's how to work around it.

Bluesky recently announced that they're complying with the UK's Online Safety Act, which requires users to provide personal identity verification confirming their age (through Epic Games' Kids Web Services) before accessing certain parts of the platform.

This sucks for privacy reasons, but thankfully there are ways to work around it.

Workaround methods

Method 0. VPN

/* ==UserStyle==
@name unfuck discord
@namespace easrng
@version 0.0.3
@author easrng
==/UserStyle== */
@-moz-document domain("discord.com") {
:root {
--font-primary: "Roboto", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-display: "Roboto", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
@gabe565
gabe565 / change-arc-icon.md
Last active May 26, 2025 02:32
Change Arc Browser Icon

Change Arc Browser Icon

arc

A collection of commands that change the Arc Browser icon on macOS.

Commands

Theme Command
Candy Arc defaults write company.thebrowser.Browser currentAppIconName candy
@TrevTV
TrevTV / ArcOn10.md
Last active December 5, 2024 16:22
Guide to installing Arc Browser on Windows 10

NOTICE: Arc now supports Windows 10 officially. This guide is no longer necessary.

As this is not an official way of installing Arc, if you encounter any issues do NOT report them to the developers, they did not intend for people to be running Arc on Windows 10.

.emoji[alt="🥹"] {
content: url("https://vendicated.github.io/random-files/face_holding_back_tears.svg");
}
.emoji[alt="🥺"] {
content: url("https://vendicated.github.io/random-files/pleading_face.svg");
}
@Erisa
Erisa / repeat.ts
Last active January 7, 2023 17:48
Repeat for clearing out Pages deployments (https://repeat.dev)
const config = [
{
project: "erisa",
days: 180
},
{
project: "super-secret-sauce",
days: 60
}
]
import tweepy, json, time, sys
auth = tweepy.OAuth1UserHandler(
<api keys here>
)
api = tweepy.API(auth)
d = json.loads(open(sys.argv[1]).read().split("=", 1)[1])
@harubaru
harubaru / wd1-3-release.md
Last active June 29, 2025 06:36
Official Release Notes for Waifu Diffusion 1.3
@XielQs
XielQs / Get_Discord_Token.md
Last active June 28, 2025 12:30
Get self discord token using console

How to get your discord token using browser console

  1. Open developer tools in browser (if you using desktop app use Ctrl+Shift+I shortcut)
  2. Switch current tab to Console
  3. Write this code and press enter
// old, not working anymore
(webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()
@ihsangan
ihsangan / index.js
Last active June 25, 2025 13:03
Send email from Workers with MailChannel API
async function readRequestBody(request) {
const { headers } = request;
const contentType = headers.get('content-type') || '';
if (contentType.includes('application/json')) {
return JSON.stringify(await request.json());
} else if (contentType.includes('form')) {
const formData = await request.formData();
const body = {};
for (const entry of formData.entries()) {
body[entry[0]] = entry[1];