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
// ==UserScript== | |
// @name 强制使用国内镜像访问etherscan.io | |
// @namespace http://hhtjim.com/ | |
// @version 0.1 | |
// @description 强制以太坊浏览器使用国内镜像!避免cf的访问验证以及代理问题。 | |
// @author You | |
// @match http://etherscan.io/* | |
// @match https://etherscan.io/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none |
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 re as regex | |
s = b'\xbb\xbc\xbd\xc7\x01\x07\05\x02\x06\x04\x08\x08)'# (175.2, 64.88) | |
# s = b'\xbb\xbc\xbd\xc7\x01\x07\x06\x06\x06\x05\x02!'# (176.6, 65.2) | |
# s = b'\xbb\xbc\xbd\xc7\x01\x07\x06\x06\x06\x05\x02!' # (176.6, 65.2) | |
# s = b'\xfb\x01\x00\x03\t\x01\x00\x05\x03' # 103.0, 10.53 | |
# s = b'\xfb\x01\x00\x03\t\x00\x06\x08\x06' # (103.0, 06.86) | |
def hyss_hw_parse(series_data,start_position_list = ['c7','fb']): | |
''' | |
解析华扬盛世身高体重数据 | |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: yhtc | |
* Date: 2020/5/28 | |
* Time: 9:45 | |
*/ | |
//phpinfo(); | |
/** | |
* 面试上机题 |
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
""" | |
无用空间的音频下载 | |
time:2020-04-22 | |
Author:pang | |
""" | |
# http://www.timeless-world.org//audio-browse-22.html?s1=30 | |
# http://www.timeless-world.org/svideo-browse-17.html?s1=30 | |
import requests,re as regex |
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://wx.qq.com/ | |
// 打开指定组 -> 点击下拉箭头展示所有成员列表 -> 打开浏览器console控制台执行下面代码: | |
var list = [] | |
$('.member.ng-scope').each(function(){ | |
var title = $(this).attr('title'); | |
title = title.replace(/<img.*?\/>/g,'').trim() | |
list.push(title) | |
}); |
I hereby claim:
- I am hootrix on github.
- I am oiz (https://keybase.io/oiz) on keybase.
- I have a public key ASADDbfjcpaWqS399wTCLkSa1SS9kaFVM79x5SMv1_QPpwo
To claim this, I am signing this object:
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,tempfile, zipfile,os | |
def read_file_for_zip(zip_url, callback=None): | |
""" | |
读取zip包内的文件 | |
:param zip_url:zip路径/url | |
:param callback:读取操作的回调函数 若函数返回false 则不会读取下一个文件 | |
:return: | |
""" | |
with tempfile.TemporaryFile('w+b') as tmpfile: # 生成临时文件 |
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 datetime | |
import time | |
import PyRSS2Gen | |
import requests, pytz | |
class NoOutput: | |
def __init__(self): | |
pass | |
def publish(self, handler): |
NewerOlder