Skip to content

Instantly share code, notes, and snippets.

@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active June 24, 2024 21:29
[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()
 }
@carlessanagustin
carlessanagustin / README.md
Last active January 13, 2019 15:29
Testing: Install Consul in Vagrant machines

forked from https://github.com/hashicorp/consul/tree/master/demo/vagrant-cluster

Vagrant Consul Demo

This demo provides a very simple Vagrantfile that creates 3 nodes, one at "172.20.20.10", "172.20.20.11" and "172.20.20.12". Both are running a standard Ubuntu distribution and the script will install Consul and Web UI in all of them.

To get started, you can start the cluster by just doing:

@paydro
paydro / git-rsync.sh
Created February 15, 2011 02:16
rsync changed files in a git repo to a remote server
git status -s | awk '{print $2}' | sed 's/\(.*\)/rsync -cav \1 user@remote.server.com:~\/\1/' | sh