Skip to content

Instantly share code, notes, and snippets.

@ickas
ickas / generate_funny_name.js
Created March 7, 2023 10:48
Generate funny names based on a list
const names = [
"Bumfuzzle",
"Cattywampus",
"Brouhaha",
"Malarkey",
"Gobbledygook",
"Kerfuffle",
"Flummox",
"Bamboozle",
"Flibbertigibbet",
@ickas
ickas / twitter_check_original_tweet.py
Created January 16, 2023 10:04
Check if the original tweet you replied was deleted
# Tweepy is an easy-to-use Python library for accessing the Twitter API
# https://www.tweepy.org
from datetime import datetime, timedelta
import tweepy
import sys, os, time
import json
# The best way to manage your Twitter data is through the archive of all your account data
# Request archive at https://twitter.com/settings/download_your_data
@ickas
ickas / twitter_delete_older_than_x.py
Last active September 2, 2023 18:06
Delete tweets older than X
# Tweepy is an easy-to-use Python library for accessing the Twitter API
# https://www.tweepy.org
from datetime import datetime, timedelta
import tweepy
import sys, os, time
import json
# The best way to manage your Twitter data is through the archive of all your account data
# Request archive at https://twitter.com/settings/download_your_data
var Twit = require("twit");
var T = new Twit({
consumer_key: "####",
consumer_secret: "####",
access_token: "####",
access_token_secret: "####",
});
var stream = T.stream("statuses/filter", {