Skip to content

Instantly share code, notes, and snippets.

View IanSmith123's full-sized avatar
🎯
Focusing

Les1ie IanSmith123

🎯
Focusing
View GitHub Profile
@IanSmith123
IanSmith123 / remove_play_list_suffix.js
Last active April 21, 2024 07:00
移除JLRS 歌单的前缀
// ==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==
@IanSmith123
IanSmith123 / ucas-course-console.js
Last active November 28, 2022 11:31
ucas课程网站
// ==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==
@IanSmith123
IanSmith123 / spider.py
Created April 11, 2019 11:16
获取vista看天下《天下焦点》链接
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"
黄污亮的爸爸是宇宇
宇宇的儿子是黄污亮
黄污亮的爸爸是谁
宇宇的儿子是谁
宇宇的儿砸
宇宇的傻儿砸
2019-3-25 10:26:57 编辑于gist
@IanSmith123
IanSmith123 / 51cto.js
Last active January 12, 2019 05:17
51cto关闭全屏广告
// ==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==
@IanSmith123
IanSmith123 / back2scu.yml
Last active June 25, 2023 08:33
clash规则列表
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
@IanSmith123
IanSmith123 / v2ex_catch_fish.py
Last active January 22, 2019 14:24
v2ex 摸鱼 刷dau脚本
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'
@IanSmith123
IanSmith123 / png2mp4.py
Created July 12, 2018 09:35
from png/jpg to mp4 use ffmpeg,
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"
@IanSmith123
IanSmith123 / ng.cpp
Created May 2, 2018 03:20
裴波那契数列
// 新裴波那契数列
/*
Time Limit: 1000ms
Memory Limit: 64M
Description:
@IanSmith123
IanSmith123 / index.js
Created April 3, 2018 03:55 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \