Skip to content

Instantly share code, notes, and snippets.

View vladimircicovic's full-sized avatar

Vladimir Cicovic vladimircicovic

View GitHub Profile
@vladimircicovic
vladimircicovic / tmux.conf
Created August 18, 2022 21:54
tmux.conf from book Tmux Taster (fixed)
# Bindings {{{
# Remap prefix
unbind C-b
#set -g prefix C-Space
set -g prefix C-a
# Quick key for moving back to the previous window
bind-key L last-window
# Vim style bindings for pane movement
@vladimircicovic
vladimircicovic / setup_twint.sh
Created August 9, 2022 17:38
twint installation and run
docker run -ti --rm kalilinux/kali-rolling:latest bash
apt update && apt -y install git python3.9 python3-pip
pip3 install virtualenv
virtualenv --python=python3.9 py39
cd py39
source bin/activate
pip3 install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
twint -u vladimircicovic --user-full
@vladimircicovic
vladimircicovic / deletealltweets.py
Created July 1, 2022 08:35
Deleting all tweets with tweepy 4.10.0
import tweepy
# tweepy version 4.10.0
# This script remove all tweets
# go to https://developer.twitter.com/en/portal/projects-and-apps
# Add app, then click on app name, find Keys and Tokens
# Generate Access Token and Secret
# Replace all information with proper in <> and USERNAME of your developer account that using this tokens and keys
# reminder: you need to run more times bcs of Twitter limits