Skip to content

Instantly share code, notes, and snippets.

View advaith1's full-sized avatar
πŸ‘¨β€πŸ’»
hi

advaith advaith1

πŸ‘¨β€πŸ’»
hi
View GitHub Profile
@neodix42
neodix42 / install-clang-21.sh
Last active March 19, 2026 05:35
Install clang-21
# TON is moving to clang-21 for very pragmatic reasons β€” not because it's fashionable,
# but because it materially improves what we ship.
# We use clang-21 because we want the best C++ the language currently offers,
# stronger safety guarantees, better diagnostics, better generated code, and a toolchain that won't rot under us.
# Important! Remember, at this time no TON fullnodes or validators should be running on Ubuntu 20.04.
# This guide shows how to install clang-21 on Ubuntu 22.04 and 24.04 only.
# Ubuntu 22.04
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@advaith1
advaith1 / top bots.md
Last active March 23, 2026 13:40
The top Discord bots ranked by server count
Rank Bot Approximate Server Count Library
1 MEE6 21,300,000 Custom Python
2 Rythm 14,900,000 JDA
3 carl-bot πŸ…±οΈ 12,100,000 Pycord
4 Dyno 10,600,000 Eris
5 Midjourney Bot
@skbr1234
skbr1234 / default nginx configuration file
Last active December 17, 2025 23:35
The default nginx configuration file inside /etc/nginx/sites-available/default
# Author: Zameer Ansari
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active March 17, 2026 21:38 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active March 31, 2026 08:02
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S