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
# -*- coding: utf-8 -*- | |
from tinydb import TinyDB | |
from tinydb import Query | |
db = TinyDB('db.json') | |
def fake(): | |
from faker import Faker | |
f = Faker() |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Use mycli (http://mycli.net/) through ssh | |
Usage: | |
$ mycli-ssh yourhost [extra args passed to mycli] | |
""" |
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
# -*- coding: utf-8 -*- | |
# pip install "requests[socks]" | |
import requests | |
proxies = { | |
"http": "socks5://localhost:9150", | |
"https": "socks5://localhost:9150" | |
} |
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
" IDE module for vim |
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
import re | |
import time | |
from locust import User | |
from locust.exception import LocustError | |
import httpx | |
from httpx import Request, Response | |
from requests.auth import HTTPBasicAuth | |
from httpx import InvalidURL, RequestError |
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
import irc3 | |
from irc3.plugins.command import Commands | |
class Custom: | |
def __init__(self, context): | |
self.context = context | |
self.command = context.get_plugin(Commands) |
OlderNewer