Install the OpenSSL on Debian based systems
sudo apt-get install openssl| //a script to unfollow everyone on fb | |
| //copy everything below into the console and when you are ready, | |
| //type unfollowEveryone(); into the JS console and hit enter. | |
| //Not going to include actually running the command in this script. | |
| //Running the script is ultimately your choice, and I bear no responsibility | |
| //for this script unfollowing all pages, friends, groups, etc that you follow | |
| //on FB and I make no guarantees about its correctness beyond saying | |
| //it worked for me. | |
| function sleep(ms){ |
| { | |
| "presets": [ | |
| { | |
| "Name": "Major", | |
| "Value": "1;3;5;6;8;10;12", | |
| "Group": "Common" | |
| }, | |
| { | |
| "Name": "Minor", | |
| "Value": "1;3;4;6;8;9;11", |
| server { | |
| server_name house.example.net; | |
| listen 1.2.3.4:80 default_server; | |
| listen [2001:1234:ffff::1]:80 default_server; | |
| add_header Cache-Control "public,max-age=31536000"; | |
| return 301 https://$server_name$request_uri; | |
| } | |
| map $ssl_client_s_dn $ssl_username { |
| # dropping a database via pymongo | |
| from pymongo import Connection | |
| c = Connection() | |
| c.drop_database('mydatabase') | |
| # drop a collection via pymongo | |
| from pymongo import Connection | |
| c = Connection() | |
| c['mydatabase'].drop_collection('mycollection') |