Skip to content

Instantly share code, notes, and snippets.

@Changaco
Changaco / en.md
Last active March 22, 2026 14:28 — forked from gmolveau/twitter_reset.md
X/Twitter reset script

Emptying your X/Twitter account

The first script below deletes your tweets, retweets and likes. Be careful! The deleted elements can't be restored!

The second script empties the list of accounts you follow.

Before proceeding, you should request and download your data archive : https://x.com/settings/download_your_data

Once you're ready:

@kyhwana
kyhwana / blocksigners.sh
Last active March 26, 2026 23:34
Block RMS support letter signers
#replace "<PAT TOKEN>" with your github PAT token, tested with "Update ALL user data" PAT token.
curl -q https://rms-support-letter.github.io/ | grep "href" | grep "github.com" | grep -v "\/\[" | awk -F "https://github.com/" '{ print $2 }' | awk -F "\"\>" '{ print $1 }' | sed 's/\///g' | sed '/^$/d' | xargs -I USER curl -i -X PUT -H "Authorization: token <pat token here>" -H "Accept: application/vnd.github.v3+json" https://api.github.com/user/blocks/USER
@muffinresearch
muffinresearch / gist:7676683
Last active August 18, 2016 22:52
Building simg2img
git clone https://android.googlesource.com/platform/system/extras
cd extras/ext4_utils
git checkout android-4.1.1_r1
gcc -o simg2img -lz sparse_crc32.c simg2img.c
ln -s ${PWD}/simg2img ~/bin/simg2img
# Last step make sure ~/bin is in your $PATH.