Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
adoyle-h committed Aug 23, 2024
1 parent a5c1f60 commit 4c87bbd
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/weekly-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,37 @@ jobs:

- name: Scan
id: report
continue-on-error: true
run: |
echo "OK=false" >> "$GITHUB_OUTPUT"
c=$(git rev-list --all --since '1 week ago' --reverse | head -n1 || true)
[ -z ${c:-} ] && exit 31
if [ -z "${c:-}" ]; then
echo "[Warn] No any changed"
exit 0
fi
git --no-pager diff --no-color -U0 "$c" HEAD -- '*.md' ':!index.md' |
grep -v -E '^(index|new file mode|deleted file mode|\-\-\-) ' |
sed -E -e 's|^diff --git a/(.+) b/.+|```\n\n### \1\n|g' -e 's/^\+\+\+.+/```diff/' |
tail +2 > _report
[ -s _report ] || exit 32
if [ ! -s _report ]; then
echo "[Warn] report is empty"
exit 0
fi
{
echo 'What changed in last week:'
cat _report
printf '```\n\n%s\n' 'Details in https://tools.adoyle.me/'
} > ./new_report
echo "OK=true" >> "$GITHUB_OUTPUT"
- name: Create a new GitHub Discussion
uses: abirismyname/create-discussion@main
id: create-discussion
if: ${{ steps.report.conclusion == 'success' }}
if: ${{ steps.report.outputs.OK == 'true' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
1 change: 1 addition & 0 deletions Mac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
- [CmdTap](http://www.yingdev.com/projects/cmdtap): 任务切换器增强 ``
- [Contexts](https://contexts.co/): 这个看起来更好用,但是更贵 ``
- [skhd](https://github.com/koekeishiya/skhd): simple hotkey daemon for macOS
- [ShortcutDetective](https://www.irradiatedsoftware.com/labs/): 查看快捷键被哪个程序监听了

## 硬盘

Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Read the [NOTICE][] file distributed with this work for additional information r

- https://jsonplaceholder.typicode.com/
- http://dummy.restapiexample.com/
- [使用 Lua 强大功能的模拟 API](https://mockae.com/)
- https://mockae.com/ : 基于 db.json 和 lua 脚本构建 mock 服务器

## 政务信息

Expand Down Expand Up @@ -981,7 +981,7 @@ Read the [NOTICE][] file distributed with this work for additional information r
交流学习使用,请勿用于非法用途。

- https://zh.singlelogin.re/ : zlibrary 官方网站
- https://zh.annas-archive.gs/ : 安娜的档案,下载链接分付费和免费,付费会员下载速度快,免费的下载要排队几分钟,但下载速度也不慢。
- https://zh.annas-archive.org/ : 安娜的档案,下载链接分付费和免费,付费会员下载速度快,免费的下载要排队几分钟,但下载速度也不慢。
- https://bookpan.net/
- https://ylibrary.org/
- https://search.zhelper.net/ : 搜索前端,调用其他电子书平台的 API。直接打开链接是不可用的。需查阅[使用帮助](https://docs.zhelper.net/search/)
Expand Down Expand Up @@ -1319,6 +1319,7 @@ Read the [NOTICE][] file distributed with this work for additional information r
- [notion-sdk-js](https://github.com/makenotion/notion-sdk-js)
- [wiki.js](https://github.com/Requarks/wiki): 现代化的 WIKI。AGPL-3.0 License
- [sphinx-doc](https://www.sphinx-doc.org): reStructuredText 文档渲染工具
- [memos](https://github.com/usememos/memos): 轻笔记服务,功能类似 Flomo。简单好用易部署

### 文档处理

Expand Down Expand Up @@ -1398,8 +1399,8 @@ Read the [NOTICE][] file distributed with this work for additional information r
- [iShot](https://apps.apple.com/cn/app/ishot-%E6%88%AA%E5%9B%BE-%E9%95%BF%E6%88%AA%E5%9B%BE-%E6%A0%87%E6%B3%A8%E5%B7%A5%E5%85%B7/id1485844094): 支持截图/截屏/滚动截屏/录屏/录音/OCR 识别/标注。过了试用期后能用,但是图片会带水印。
- Mac 系统自带截图工具。不支持滚动截屏,其他功能都有。Safari 支持滚动截屏。
- screencapture: Mac 自带命令,截图/截屏工具。
- [Snipaste](https://zh.snipaste.com/): windows 截图/截屏工具 ``
- [ShareX](https://getsharex.com/): 「待评价」开源的截图、截屏、颜色提取、OCR 工具 for windows ``
- [PixPin](https://pixpinapp.com/): 截图/截屏工具,支持长截图,GIF 截图,颜色提取,标注,OCR(先截图,固定到屏幕,然后复制图片文字)。`` ``
- [ShareX](https://getsharex.com/): 开源的截图、截屏、录屏、颜色提取、OCR、滚动截图。交互设计一般 ``
- [kap](https://github.com/wulkano/kap/): 用户体验很好的,开源的录屏工具,支持 GIF, MP4, WebM, APNG `` ``

## 漫画
Expand Down
5 changes: 3 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@

## 镜像加速

- [南京大学镜像站](https://doc.nju.edu.cn/books/35f4a): 支持 Docker Hub, GCR, GHCR, NGC, QUAY。
- [Docker Proxy](https://dockerproxy.com/docs): 支持 Docker Hub, GCR, K8S.GCR, GHCR, QUAY。
- https://dockerhub.icu/
<!-- - [南京大学镜像站](https://doc.nju.edu.cn/books/35f4a): 支持 Docker Hub, GCR, GHCR, NGC, QUAY。 -->
<!-- - [Docker Proxy](https://dockerproxy.com/docs): 支持 Docker Hub, GCR, K8S.GCR, GHCR, QUAY。 -->
- 更多详见 https://gist.github.com/y0ngb1n/7e8f16af3242c7815e7ca2f0833d3ea6

## CLI
Expand Down
2 changes: 1 addition & 1 deletion for-china.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
### 机场

- https://duangks.com/ : 很好用机场评测网站。提供节点分析、流媒体解锁分析、测速图。
- [xfltd](https://xfltd.org/#/register?code=y8yKhElL): 便宜,性价比高,提供不限时按量套餐,延迟有点高。
- [xfltd](https://xfltd.org/#/register?code=y8yKhElL): 便宜,性价比高,提供不限时按量套餐,延迟有点高。有审计名单,某些涉政网站无法访问。
- [苏打云](https://v2.suda.moe/): 价格亲民。速度挺快。不稳定,在不能说的日子会必挂。
- 免费机场,后果自负
- https://github.com/ermaozi/get_subscribe
Expand Down

0 comments on commit 4c87bbd

Please sign in to comment.