Skip to content

Instantly share code, notes, and snippets.

@rafaelcalleja
rafaelcalleja / discord-verification-workarounds.md
Created October 24, 2023 15:50
Discord E-Mail & Phone Number/SMS Verification Workarounds

Discord E-Mail & Phone Number/SMS Verification Workarounds

Info

Useful links:

As some of these sites are a bit sketchy, make sure to keep privacy & security measures. Learn more here: https://www.privacyguides.org/en/desktop-browsers/

Phone

UPDATE - I now just use https://5sim.net and choose England as the country (it works the best for me)!

Activate Windows with PowerShell

This method demonstrates how to activate Windows using PowerShell in administrator mode.

Steps to Activate Windows:

  1. Open PowerShell as an administrator:

    • Press Win + S, type "PowerShell," then right-click on Windows PowerShell and select Run as administrator.
  2. Run the following command:

@burakorkmez
burakorkmez / bookmark-saver.md
Last active May 27, 2026 18:10
HTML/CSS/JS PROJECTS
const addBookmarkBtn = document.getElementById("add-bookmark");
const bookmarkList = document.getElementById("bookmark-list");
const bookmarkNameInput = document.getElementById("bookmark-name");
const bookmarkUrlInput = document.getElementById("bookmark-url");
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@rkharsan
rkharsan / whatsapp-fix-unknown-error.md
Last active May 27, 2026 18:09
A guide to fix “Unknown error” faced when transferring WhatsApp data from Android to iOS.

You can jump straight to the steps here.

Background

Recently I bought my first ever iPhone, and wanted to transfer everything from my (not so) old Android phone. I tried to transfer WhatsApp chats over from my Android phone to iOS, using the official Move to iOS app by Apple.

image

An image I stole from Google Images showing the same problem.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active May 27, 2026 18:01
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174, 87.245.223.97
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
@paulirish
paulirish / what-forces-layout.md
Last active May 27, 2026 17:55
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent