Skip to content

Instantly share code, notes, and snippets.

View kaveenr's full-sized avatar
🐱
Getting stuff done.

Kaveen kaveenr

🐱
Getting stuff done.
View GitHub Profile
@kiriappeee
kiriappeee / unfolloweveryonefb.js
Last active November 18, 2019 07:11
Unfollow friends fb
//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",
@p3t3r67x0
p3t3r67x0 / openssl_commands.md
Last active February 3, 2024 18:53
Some list of openssl commands for check and verify your keys

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@njh
njh / house.example.net.conf
Created January 21, 2016 13:09
Proxying Node-Red through Nginx
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 {
@vgoklani
vgoklani / mongodb_drop.py
Created January 3, 2012 18:40
drop a database or collection via pymongo
# 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')