This file contains hidden or 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 | |
| # encoding=utf-8 | |
| # pip install pyaudio and pip install SpeechRecognition | |
| import speech_recognition as sr | |
| r = sr.Recognizer() | |
| with sr.Microphone() as source: | |
| print("Speak Anything :") | |
| audio = r.listen(source) | |
| try: |
This file contains hidden or 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 threading | |
| import time | |
| from functools import wraps | |
| def thread(printd): | |
| def wrapper(function): | |
| def pw(*args, **kwargs): | |
| def process(*args, **kwargs): | |
| print("Started") | |
| function(*args, **kwargs) | |
| t=threading.Thread(target=process,args=args, kwargs=kwargs) |
This file contains hidden or 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 time import ctime,sleep | |
| while True: | |
| print(ctime(),end="\r") | |
| sleep(0.1) |
This file contains hidden or 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
| code=''' | |
| import hashlib | |
| result = hashlib.sha256(b"Password") | |
| print("The byte equivalent of hash is : ", end ="") | |
| print(result.hexdigest()) | |
| ''' | |
| import requests | |
| from time import sleep | |
| data={"lang":"python3","typed_code":str(code[1:-1].replace('"','\"').replace("'","\'")),"data_input":"[1, 2, 3]"} | |
| url="https://leetcode.com/playground/api/runcode" |
This file contains hidden or 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 | |
| import requests | |
| def upload(filename): | |
| URL = "http://api.anonfile.com/upload" | |
| with open(filename) as f: | |
| r = requests.post(url=URL, files={'file': f}) | |
| print(r.json()) | |
| def info(id): | |
| URL="https://api.anonfile.com/v2/file/{id}/info".format(id=id) | |
| r = requests.get(url=URL) |
This file contains hidden or 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 time | |
| import random | |
| import ctypes | |
| import platform | |
| if platform.system() == 'Windows': | |
| kernel32 = ctypes.windll.kernel32 | |
| kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 7) | |
| col=[30,31,32,33,34,35,36,37,38,39,90,91,92,93,94,95,96,97] | |
| while True: | |
| print('\033[{}m{}\033[0m'.format(random.choice(col),time.ctime()),end="\r") |
This file contains hidden or 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 requests,re | |
| pinid="116671446577537458" | |
| print(["https://i.pinimg.com/originals/"+n for n in re.findall('"url":"https://i.pinimg.com/originals/(.*?)"',str(re.findall('<script id="initial-state" type="application/json">(.*?)</script>',requests.get("https://www.pinterest.com/pin/{}/".format(pinid)).text)[0]))][0]) |
This file contains hidden or 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 requests,re | |
| pinid="116671446577537458" | |
| html=requests.get("https://www.pinterest.com/pin/{}/".format(pinid)).text | |
| ok=str(re.findall('<script id="initial-state" type="application/json">(.*?)</script>',html)[0]) | |
| data=["https://i.pinimg.com/originals/"+n for n in re.findall('"url":"https://i.pinimg.com/originals/(.*?)"',ok)][0] | |
| print(data) |
This file contains hidden or 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 -*- | |
| __author__ = 'Mayank Gupta' | |
| __version__ = '1.0P1' | |
| __license__ = 'License :: MIT License' | |
| import socket | |
| import threading,ssl | |
| import re | |
| class porn(): |
This file contains hidden or 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
| ''' | |
| Credit : https://temp-mail.io/en | |
| ''' | |
| __author__='Mayank Gupta' | |
| import requests | |
| from time import sleep | |
| class TempMail(object): | |
| def __init__(self): | |
| self.Handle() | |
| def Handle(self): |