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
| /* | |
| [rewrite_local] | |
| ^https:\/\/education\.github\.com\/api\/user$ url script-response-body https://gist.github.com/iwatchme/a9e21ff2407eb168da4076b63142dfc1/raw/65e572599931ceaa6705a8358c4c81eff543b027/workingcopy.js | |
| [mitm] | |
| hostname=education.github.com | |
| */ | |
| $done({body: '{"student": true}'}) |
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
| :<<BLOCK | |
| Get frida-tools version shell script v1.0 | |
| AUTHOR: westinyang | |
| USAGE: | |
| curl -sL https://gitee.com/westinyang/codelabs/raw/master/get-frida-tools-version.sh | bash -s <frida-version> # default: main | |
| curl -sL https://raw.githubusercontent.com/westinyang/codelabs/master/get-frida-tools-version.sh | bash -s <frida-version> # default: main | |
| curl -sL https://gist.github.com/westinyang/9815e4b94361a2ad9169650f89f31efc/raw/0b0c805b2b5e0455fc4afe9620669fbe7b7cdbb6/get-frida-tools-version.sh | bash -s <frida-version> # default: main | |
| BLOCK |
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 ast import Str | |
| import os | |
| from turtle import pd | |
| from typing import List | |
| from PyPDF2 import PdfMerger | |
| import argparse | |
| def findFile(rootDir, pdfs, cache): | |
| for root, dirs, files in os.walk(rootDir): |
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 ast import main | |
| from cmath import e | |
| import os | |
| import img2pdf | |
| def convertImgsToPdf(dir_name, result_pdf): | |
| imgs =[] | |
| for fname in os.listdir(dir_name): | |
| if fname.lower().endswith(".png") and not fname.lower().startswith("._"): | |
| imgs.append(os.path.join(dir_name, fname)) |
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 ast import main | |
| from cmath import e | |
| import os | |
| import img2pdf | |
| def convertImgsToPdf(dir_name, result_pdf): | |
| imgs =[] | |
| for fname in os.listdir(dir_name): | |
| if fname.lower().endswith(".png") and not fname.lower().startswith("._"): | |
| imgs.append(os.path.join(dir_name, fname)) |
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 | |
| # -*- coding: UTF-8 -*- | |
| import os | |
| import sys | |
| import os.path | |
| import click | |
| import tinify | |
| tinify.key = "GyCpoOlL-tm8NuEmZfxynqACavFkrzTR" # API KEY |