Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
from requests.adapters import HTTPAdapter, Retry | |
from requests import Session | |
retries = Retry( | |
total=5, backoff_factor=1, status_forcelist=[502, 503, 504] | |
) | |
session = Session() # reuse tcp connection | |
session.mount("http://", HTTPAdapter(max_retries=retries)) | |
session.mount("https://", HTTPAdapter(max_retries=retries)) |
frida -U --no-pause -l xx.js -f pkgname (or -p pid) | |
# PrintStack 输出当前调用堆栈 | |
var Throwable = null; | |
Java.perform(function () { | |
Throwable = Java.use("java.lang.Throwable"); | |
}); | |
function PrintStack() { | |
var stackElements = Throwable.$new().getStackTrace(); |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
Download and install the latest AviSynth+ (with vcredist)
https://github.com/AviSynth/AviSynthPlus/releases
Download the latest MvTools
https://github.com/pinterf/mvtools/releases
Extract x64
from the archive (DePan.dll, DePanEstimate.dll, mvtools2.dll) to C:\Program Files (x86)\AviSynth+\plugins64\
(adjust the avs script if avisynth is not installed in this directory)
// ==UserScript== | |
// @name 微信读书下载 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description 下载微信读书的书籍资源 | |
// @author tang | |
// @match https://weread.qq.com/web/reader/* | |
// @grant unsafeWindow | |
// @grant GM_setValue | |
// @grant GM_getValue |
"""Information Retrieval metrics | |
Useful Resources: | |
http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt | |
http://www.nii.ac.jp/TechReports/05-014E.pdf | |
http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf | |
http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf | |
Learning to Rank for Information Retrieval (Tie-Yan Liu) | |
""" | |
import numpy as np |
import onnx | |
from onnx_tf.backend import prepare | |
import tensorflow as tf | |
import onnxruntime | |
from PIL import Image | |
import numpy as np | |
import sys | |
#You need to have model.onnx and neuralhash_128x96_seed1.dat in your working directory |
scholar.example.com { | |
timeouts 5m | |
proxy / https://scholar.google.com.hk { | |
except /robots.txt /usercontent | |
header_upstream X-Real-IP {remote} | |
header_upstream X-Forwarded-For {remote} | |
header_upstream User-Agent {>User-Agent} | |
# header_upstream X-Real-IP {>CF-Connecting-IP} | |
# header_upstream X-Forwarded-For {>CF-Connecting-IP} | |
header_upstream Accept-Language zh-HK |
from itertools import islice | |
def next_n_lines(file_opened, N): | |
return [x.strip() for x in islice(file_opened, N)] | |
with open("samplefile", 'r') as f: | |
x = "" | |
while x != []: |