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
// ==UserScript== | |
// @name remove play list suffix | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-21 | |
// @description 移除JRLS 歌单的前缀 | |
// @author Les1ie | |
// @match https://www.bilibili.com/video/BV* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name ucas-course-console-helper | |
// @namespace https://les1ie.com/ | |
// @version 0.2 | |
// @description 去除中国科学院大学课程网站对进入控制台的限制 | |
// @author Les1ie | |
// @match https://course.ucas.ac.cn/portal/* | |
// @grant none | |
// ==/UserScript== |
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
import json | |
from concurrent.futures import ThreadPoolExecutor | |
import requests | |
pool = ThreadPoolExecutor(10) | |
sample = "http://v20.tp.wkread.com/index.php/WeiXin/Focus/getColumnList/id/103" | |
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
黄污亮的爸爸是宇宇 | |
宇宇的儿子是黄污亮 | |
黄污亮的爸爸是谁 | |
宇宇的儿子是谁 | |
宇宇的儿砸 | |
宇宇的傻儿砸 | |
2019-3-25 10:26:57 编辑于gist |
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
// ==UserScript== | |
// @name 51cto 关闭全屏广告 | |
// @namespace https://gist.github.com/IanSmith123/5012b1c1c6ca3b7d19b2064e2c3a5bf4 | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Les1ie | |
// @match *://blog.51cto.com/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
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
port: 7890 | |
socks-port: 7891 | |
redir-port: 7892 | |
allow-lan: false | |
mode: Rule | |
log-level: info | |
external-controller: '127.0.0.1:9090' | |
secret: '' | |
cfw-bypass: | |
- localhost |
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
import os | |
import sys | |
import json | |
import argparse | |
from time import sleep | |
from random import randint, shuffle | |
from selenium import webdriver | |
site_url = "https://www.v2ex.com" | |
driver_dumpfile = 'cookie.txt' |
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
import os | |
folders = os.listdir() | |
# folders = [f for f in listdir(mypath) if not isfile(join(mypath, f))] | |
for folder in folders: | |
if "store" in folder.lower(): | |
print("skip ", folder) | |
continue | |
try: | |
os.system( | |
f"ffmpeg -framerate 2 -i {folder}/{folder}_%d.png -c:v libx264 -r 30 -pix_fmt yuv420p after_{folder}.mp4" |
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
// 新裴波那契数列 | |
/* | |
Time Limit: 1000ms | |
Memory Limit: 64M | |
Description: |
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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
NewerOlder