Skip to content

Instantly share code, notes, and snippets.

View kotx's full-sized avatar

Kot C kotx

View GitHub Profile
@gabe565
gabe565 / change-arc-icon.md
Last active November 15, 2024 05:38
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 November 5, 2024 23:13
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 October 6, 2024 09:12
Official Release Notes for Waifu Diffusion 1.3
@XielQs
XielQs / Get_Discord_Token.md
Created May 3, 2022 15:43
Get self discord token using console

How to get self 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
(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()

It returns your current discord account token

@ihsangan
ihsangan / index.js
Last active August 30, 2024 08:42
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];
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.