Skip to content

Instantly share code, notes, and snippets.

View rafacampoamor's full-sized avatar

Rafa Campoamor rafacampoamor

View GitHub Profile
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active December 11, 2024 08:28
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
# Defaults / Configuration options for homebridge
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others)
HOMEBRIDGE_OPTS=-U /var/lib/homebridge
# If you uncomment the following line, homebridge will log more
# You can display this via systemd's journalctl: journalctl -f -u homebridge
# DEBUG=*
@bracca95
bracca95 / delete-likes-from-twitter.md
Last active April 5, 2023 13:03 — forked from aymericbeaumet/delete-likes-from-twitter.md
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
/* define a function to delete likes */
function unLike() {
	for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
 d.click();
@bracca95
bracca95 / delete-retweets-from-twitter.md
Last active March 12, 2023 06:39
delete-retweets-from-twitter.md

Ever wanted to delete all your retweets from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/with_replies
  2. Open the console and run the following JavaScript code:
/* define a function to delete retweets */
function unRetweet() {
	for (const d of document.querySelectorAll('div[data-testid="unretweet"]')) {
 d.click();
@bracca95
bracca95 / delete-tweets.md
Last active February 6, 2023 13:39
delete-tweets.md

Ever wanted to delete all your tweets from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/with_replies
  2. Open the console and run the following JavaScript code:
/* define a function to delete tweets */
var myName = "INSERT YOUR TWITTER NAME HERE"

function unTweet() {