Skip to content

Instantly share code, notes, and snippets.

@TapiocaFox
TapiocaFox / twitter_unliker.js
Last active February 7, 2025 07:53
Twitter unliker based on criteria. By TapiocaFox.
// Twitter unliker based on criteria, such as keywords, languages, userid. By TapiocaFox 2025.
class FixedLengthQueue {
constructor(capacity) {
this.capacity = capacity;
this.queue = [];
}
enqueue(item) {
if (this.isFull()) {
echo -e " *** Making temporary directory… ***\n"
cd "$(mktemp -d)"
echo -e " *** Making temporary directory… Done ***\n"
echo -e " *** Downloading vc_redist… ***\n"
wget "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe"
echo -e " *** Downloading vc_redist… Done ***\n"
echo -e " *** Extracting vc_redist… ***\n"
cabextract vc_redist.x64.exe