Skip to content

Instantly share code, notes, and snippets.

View 1cadumagalhaes's full-sized avatar

Carlos Eduardo Magalhães 1cadumagalhaes

View GitHub Profile
@1cadumagalhaes
1cadumagalhaes / pyenvs
Created May 26, 2023 18:18
Shell script developed to center python virtual environment commands. To use, just place it on /usr/loca/bin/pyenvs and you can run as: pyenvs list, pyenvs create [environment], source pyenvs activate [environment]
#!/bin/zsh
function create_venv() {
if [ $# -eq 0 ]; then
echo "Please provide the name of the virtual environment to create"
return 1
fi
venv_name="$1"
venv_dir="$HOME/.venvs"
if [ $# -eq 2 ]; then
@felippe-regazio
felippe-regazio / tt-seek-and-destroy.js
Last active May 9, 2024 21:08
Automatically unfollow Twitter users by a given criteria
/**
* ABOUT
*
* This is a Twitter NO-API/Dependency-Free follower sniffer and auto-blocker.
*
* This function performs automatic bulk blocking with NO-API
* and NO-external-dependencies to run. You must run this snippet
* directly on your Console, it will sniff your followers list
* search for previous given keywords, if found on username or description,
* the user will be automatically blocked.