使用 npm i pdf-stream-cli
安装pdf转文本工具
需要jq工具,macOS可以使用 brew install jq
安装
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
package cc.yihy.util; | |
import java.lang.reflect.ParameterizedType; | |
import java.lang.reflect.Type; | |
import java.text.MessageFormat; | |
import java.util.*; | |
import java.util.concurrent.ConcurrentHashMap; | |
import java.util.stream.Stream; | |
/** |
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 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 |
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 微信读书下载(已失效) | |
// @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 |
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
#!/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 |
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
#!/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(){ |
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
/* | |
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] |
wget --no-check-certificate https://fastly.jsdelivr.net/gh/pocopico/rp-ext@main/dtbpatch/releases/dtc
chmod a+x dtc
- banner内容 ban-haier-ad.json hack https://zj.haier.net/omsappapi/ad/v1/rotation 的返回结果,
正则url https:\/\/zj\.haier\.net\/omsappapi\/ad\/v1\/rotation
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
[ | |
{ | |
"id": "749efa89-d429-4a4e-8295-6ae9e01226d4", | |
"Top": true, | |
"note": "粤语港剧社区平台", | |
"GEO": "Only-China", | |
"Search": true, | |
"title": "埋堆堆", | |
"name": "SyncnextMDD", | |
"api": "Syncnext://MDD" |
OlderNewer