Skip to content

Instantly share code, notes, and snippets.

View ramsey's full-sized avatar

Ben Ramsey ramsey

View GitHub Profile
@ramsey
ramsey / remove-likes.js
Last active June 8, 2026 03:04
Remove all of your likes on twitter.com
// Remove all of your likes on twitter.com
// https://gist.github.com/ramsey/d26cbb27e763f17bf32a6a476e86fa24
//
// 1. Go to https://twitter.com/YOUR_USER_NAME/likes
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
//
// If you start seeing error messages in the console with the code
// "429," this means Twitter is rate-limiting you. Stop the script
// (i.e., reload or close the browser tab), and try again later.
php-8.1.6.tar.bz2
SHA256 hash: 7b353304b7407554f70d3e101a226a1fc22decae5c4c42ed270c4e389bfa1b66
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmJ7DtoACgkQ+cOdwLlp
hUSR1xAAgiMZJGOMMf9fiFR3bFlmYQjRXhQn91JnfeRU+6RR4X5dMGi+3zFAsBZF
TZPXrmhdXDjnQrLmn55NKQV6AiedhdYIgvLtldpI/Pyeq5smHwiqRBj4TA9dCNy1
0mtA8wln9mu5oEgNhOnolZs2zlao6KdHTXJTOtx7yKJzctQpjV08DXsxAXskW841
WR9/fFaQxfbHLqMLDHZuUy5gongT3Q/foVJHeyZdQITKs6TJpuKG7S5i4W1rGOvV
php-8.1.6RC1.tar.bz2
SHA256 hash: b36b6de375ea3b19098154ed39e81c2b60207140b0b58e7e41317d05f384f171
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmJojmEACgkQ+cOdwLlp
hURN/Q/+KEwoKJjvaRIE/g4g2dr/gy8xvGa2w3wg5EPpncureSSA/McANpDXkqgD
2epzv2wENl1eRrcBVBobzFjjQ/BQFMQnI6/x1u6TD0Di9B6TrlLYCWseO/Y7nqOZ
tapVLNwQQMtK65YHhG4SWCj273IhHF1TFiiqJ20j8qmfSw4T2m6B7lNUCpa0takr
sCPDU9dJKqF2HHqX4mC91P8ZFTXRnEaW5B5l+eWI9f2bgKLOIoxM+l//b8zyFtBU
@ramsey
ramsey / remove-followers.js
Last active March 1, 2026 13:48 — forked from JamieMason/unfollow.js.md
Remove everyone following you on twitter.com
// Remove everyone following you on twitter.com
// https://gist.github.com/ramsey/bdeefda66d6e2294d3466edcea30187b
//
// 1. Go to https://twitter.com/YOUR_USER_NAME/followers
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
//
// If you start seeing error messages in the console with the code
// "429," this means Twitter is rate-limiting you. Stop the script
// (i.e., reload or close the browser tab), and try again later.
@ramsey
ramsey / microgpt.py
Created February 25, 2026 16:26 — forked from karpathy/microgpt.py
microgpt
"""
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
@ramsey
ramsey / hello1.c
Last active January 29, 2026 04:01
Hello, World in C
#include <stdio.h>
int main()
{
printf("hello, world\n");
}
// Compile, then run `./a.out 1>stdout.txt 2>stderr.txt`
// Then run `echo $?`
// stdout.txt should contain "hello, world"
php-8.1.34.tar.bz2
SHA256 hash: 98e0a08a0fae37d08dfcca2f5ff6664863097dde4b1d360af2acc8c3542f2a0f
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmlBp4UACgkQ+cOdwLlp
hUSgZBAAmDyZeio9VSvAiHGfXdKeYPHC2mxkW6oXjj+JudseVmtXrlh/i9E49VkE
tjlopIUHgYlg9SaYRQdbFcGlB0iGCQTITuaZJuskq1X8rS5SJngTkdNndrnVNTdv
ySkM1wQ9xh2XqLjc8ck7ZNKyvvVo1ZYY660g1cKDzS7v9kdOqI8r1V9PopAcvYnX
G7jKA3pBujG/Hr3hmy6I8YkxtTdqUtbYLdD1X+9bETguo1DWlCb7JvrjJ7RQ+2li
php-8.1.33.tar.bz2
SHA256 hash: b6553451841c1a569865d7fdc83024621ee4434cd8fbfeb0a31588ac9c70685f
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmhkUWoACgkQ+cOdwLlp
hUS2Kg//RAjCmNoxx2msOhZ4Ds0SDBHvEkjuzMZY9dND0wQ6auQz3D1XFzwnBmVo
/AmJQpDWGbqdfyPOIiXHG8iLGIKIGczqGAVLS576zS7CGK2wh8nQfgLX4dGisjO8
rh77sefHEd7cm5GrfoBMuTDGQxu8sKi9+Me9y2ula+tIeLzVA4h4tPtVvllRSQw7
Qn/K6hTCcOpVlLj5UBupxw3Vcy0lOE4Zadyq7J1m5QaGF6XisRIEDjXVv02N2/gz
php-8.1.32.tar.bz2
SHA256 hash: a04fdd3df05f948df8a8f2c5d27ab54c1f43822c525f31fd20c19a282452d07c
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmfQtQoACgkQ+cOdwLlp
hUQo6g/6A9b9+WcU3cIQu8FkrJp1cHSGUSXJvyh7yLZ3psELOT7u6Hw3dsUOwGmC
Hn2/7cpYXGMNdWEroVKPul6AWgJO9ihde1xyTLEXYAFtPZG9B1n0SiZkPd8BXRYo
ruffR9ZjaoL2zfgDwqKMwV0r/cKb9ooKU2Wxx0B3LPqKfcXNvG79m3T/ag2Tb/r3
NJyT8OICbpPkoDqW0mD2Gwk6f9uQVrjIJL3n591ug/oUiyGERM+5n+3TxuaaKD82
php-8.1.30.tar.bz2
SHA256 hash: cb1625e5ac49b91037477e3e7767bb0624343971aeb992f4791b618af571d23e
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmb1nM8ACgkQ+cOdwLlp
hUTXNw/+M9UI3Au6CJ90tllQrIiQsKxHDm7rG0aKQcS9T5kYZdds1uziAjRb2yty
GOd8ZNrD1xYCv/SIeUFKyHNP3N0JFTwkdmzf3yA0oVYC5LDSkfO1YS5OVK9mclVy
OBZKBSL/ZXOUGofhAR8XlrSqZC1QD2IGLEIokVfbtuNORXPwqCpoY75XnoIVQ1rk
UENBMndKIIHt545750WLpAl/V7vwow3meYjN26+TJtSVFASZGhCl92QZGel9zkur