Skip to content

Instantly share code, notes, and snippets.

View jianyun8023's full-sized avatar
:octocat:

Jian Yun jianyun8023

:octocat:
View GitHub Profile
#!/bin/bash
#fonts color
yellow() {
echo -e "\033[33m\033[01m$1\033[0m"
}
green() {
echo -e "\033[32m\033[01m$1\033[0m"
}
red() {
@jianyun8023
jianyun8023 / sourcesv3.json
Last active September 17, 2024 06:54
syncnext 过滤成人内容
[
{
"id": "749efa89-d429-4a4e-8295-6ae9e01226d4",
"Top": true,
"note": "粤语港剧社区平台",
"GEO": "Only-China",
"Search": true,
"title": "埋堆堆",
"name": "SyncnextMDD",
"api": "Syncnext://MDD"
@jianyun8023
jianyun8023 / README.md
Last active June 19, 2023 06:15
hack海尔智家app的一些广告
@jianyun8023
jianyun8023 / README.md
Last active April 23, 2023 09:57
黑群晖的dts定义文件

说明

dts相关信息可以参考

wjz304/Redpill_CustomBuild#47

dts编译

wget --no-check-certificate https://fastly.jsdelivr.net/gh/pocopico/rp-ext@main/dtbpatch/releases/dtc
chmod a+x dtc
@jianyun8023
jianyun8023 / readme.md
Created January 6, 2023 01:41
招商信用卡账单 PDF解析

招商信用卡账单解析

1. PDF转JSON

使用 npm i pdf-stream-cli 安装pdf转文本工具 需要jq工具,macOS可以使用 brew install jq 安装

/*
Surge配置参考注释,感谢@congcong.
示例↓↓↓
----------------------------------------
[Script]
Sub_info = type=generic,timeout=10,script-path=https://raw.githubusercontent.com/mieqq/mieqq/master/sub_info_panel.js,script-update-interval=0,argument=url=[URL encode 后的机场节点链接]&reset_day=1&title=AmyInfo&icon=bonjour&color=#007aff
[Panel]
#!/bin/bash
#fonts color
yellow(){
echo -e "\033[33m\033[01m$1\033[0m"
}
green(){
echo -e "\033[32m\033[01m$1\033[0m"
}
red(){
@jianyun8023
jianyun8023 / book-convert.sh
Created April 21, 2022 10:36
ebook convert base on eCore
#!/bin/bash
workdir=$(pwd)
filepath=$1
format=$2
outdir=$3
book_convert(){
filepath=$1
format=$2
tmp_dir="$HOME/Downloads/eCoreCmdtmp/$(uuidgen)"
mkdir -p $tmp_dir
@jianyun8023
jianyun8023 / weread.user.js
Last active March 3, 2024 15:01
weread download,直接生成epub。仅用于技术研究。目前已失效
// ==UserScript==
// @name 微信读书下载(已失效)
// @namespace http://tampermonkey.net/
// @version 0.5.2
// @description 下载微信读书的书籍资源
// @author tang
// @match https://weread.qq.com/web/reader/*
// @grant unsafeWindow
// @grant GM_setValue
// @grant GM_getValue
// ==UserScript==
// @name Processon下载脑图
// @namespace http://www.yihy.cc/
// @version 0.2
// @description 导出Processon脑图 km格式
// @author yihy
// @match *://www.processon.com/view/link/*
// @match *://www.processon.com/view/*
// @require http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js
// @grant none