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 requests | |
cookies = dict( | |
session="", | |
) | |
def crack(answer): | |
data = { | |
"q1": "3A204", |
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 requests | |
cookies = {"session": ""} | |
SESS = requests.session() | |
def crack(): | |
data = {"x": "1", "y": "1"} | |
r = SESS.post("http://202.38.93.111:10077/", cookies=cookies, json=data) | |
print(r.json()) |
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
[Desktop Entry] | |
Name=Steam | |
Comment=Application for managing and playing games on Steam | |
Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam | |
Comment[bg]=Приложение за ръководене и пускане на игри в Steam | |
Comment[cs]=Aplikace pro spravování a hraní her ve službě Steam | |
Comment[da]=Applikation til at håndtere og spille spil på Steam | |
Comment[nl]=Applicatie voor het beheer en het spelen van games op Steam | |
Comment[fi]=Steamin pelien hallintaan ja pelaamiseen tarkoitettu sovellus | |
Comment[fr]=Application de gestion et d'utilisation des jeux sur Steam |
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
# Maintainer: Vily <viflythink@gmail.com> | |
pkgname=my-kde-applications-meta | |
pkgdesc="Vifly's meta package for KDE applications" | |
pkgver=1.0 | |
pkgrel=1 | |
arch=(any) | |
license=(None) | |
url='https://www.archlinux.org/' | |
depends=(colord-kde | |
kamera |
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 requests | |
cookies = dict(session="", | |
PHPSESSID="") | |
def crack(questions, answers): | |
data = {"q1": "20150504", "q2": "1", "q3": "Development Team of Library", "q4": "1", "q5": "/dev/null"} | |
for index, question in enumerate(questions): | |
data[question] = answers[index] |
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 cn2an | |
result = 0 | |
def remove_zero(amount: str) -> str: | |
if amount[0] == "零": | |
return amount[1:] | |
return amount |
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
#使用 https://gist.github.com/theagoliveira/65980c144bf53cf8ee5e351bd827d7e7 | |
#下载 Operating Systems: Three Easy Pieces,然后用此脚本把下载的多个 PDF 文件合并。 | |
#可以使用 https://pypi.org/project/pdfCatalog/ 为 PDF 生成目录,pdfCatalog 只 | |
#考虑到中文章节的情况,为了成功生成目录,需要在运行此脚本后生成的 catalog.txt 首行插入“扉页 1”。 | |
import glob | |
from os.path import * | |
from pdfrw import PdfReader, PdfWriter, IndirectPdfDict |
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
[ | |
{ | |
"content": "千里之行,始于足下" | |
}, | |
{ | |
"content": "与魔鬼战斗的人,应当小心自己不要成为魔鬼。当你凝视深渊时,深渊也在凝视着你" | |
}, | |
{ | |
"content": "自由并非免费赠饮" | |
}, |
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 subprocess | |
import glob | |
def is_need_remove(file_path): | |
with open(file_path, 'r') as f: | |
content = f.readlines() | |
for line in content: | |
if line.split("=")[0] == "Categories": | |
categories = line.split("=")[1] | |
# 如果分类字段里有 Education 或 Game,那么认为是需要删除的 |