-
This script will check each of the user from user_list if the user in the followers_list it will remove the user from your followers
-
For that first it will block the matching user one by one and then unblock them. If you are following your matching followers, you won't be subscribed to them anymore once you run this job.
-
Install tweepy module using pip. To install tweepy run below command in your terminal.
-
pip install tweepy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
theme = "monokai_pro" | |
[editor] | |
line-number = "relative" | |
mouse = false | |
bufferline = "always" | |
[editor.cursor-shape] | |
insert = "bar" | |
normal = "block" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from yahoofinancials import YahooFinancials | |
import pprint | |
import ssl | |
try: | |
_create_unverified_https_context = ssl._create_unverified_context | |
except AttributeError: | |
# Legacy Python that doesn't verify HTTPS certificates by default | |
pass | |
else: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyEventEmitter { | |
constructor() { | |
this._events = {}; | |
} | |
on(name, listener) { | |
if (!this._events[name]) { | |
this._events[name] = []; | |
} |
export CF_Key="sdfsdfsdfljlbjkljlkjsdfoiwje"
export CF_Email="xxxx@sss.com"
~/.acme.sh/acme.sh --issue -d 'example.com' -d '*.example.com' --dns dns_cf -k ec-256
~/.acme.sh/acme.sh --issue --dns dns_cf -d subdomain.example.com
Freenode IRC
/server chat.freenode.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create nginx user | |
sudo adduser --system --home /nonexistent --shell /bin/false --no-create-home --disabled-login --disabled-password --gecos "nginx user" --group nginx | |
sudo chown nginx:nginx /var/log/nginx/access.log /var/log/nginx/error.log | |
# check if neccesary files exist | |
cat /etc/systemd/system/multi-user.target.wants/nginx.service | |
cat /etc/logrotate.d/nginx | |
cat /etc/init.d/nginx | |
ls -l /etc/nginx/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
Automatically deletes old emails that match the specified label.
- Create a new Google Apps Script at https://script.google.com
- Overwrite the placeholder with the javascript below
- Update the following constants:
LABEL_TO_DELETE
: the label that should be have old messages deleted
NewerOlder