Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
wenerme committed Apr 17, 2024
1 parent f6f5925 commit 3eb28b5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions notes/economics/accounting/README.md
Expand Up @@ -3,3 +3,7 @@ title: 会计学
---

# 会计学

- [Awesome](./accounting-awesome.md)
- [常见问题](./accounting-faq.md)
- [术语](./accounting-glossary.md)
10 changes: 8 additions & 2 deletions notes/service/network/proxy/sing-box.md
Expand Up @@ -14,17 +14,23 @@ title: sing-box
- [SagerNet/sing-box-for-apple](https://github.com/SagerNet/sing-box-for-apple)

```bash
brew install sfm # macOS Homebrew
# macOS Homebrew
brew install sing-box # 命令行 /opt/homebrew/etc/sing-box/config.json
brew install sfm # 桌面应用

/opt/homebrew/opt/sing-box/bin/sing-box version

# AlpineLinux
# /usr/bin/sing-box
# -D /var/lib/sing-box -C /etc/sing-box run
# sing-box -D /var/lib/sing-box -C /etc/sing-box run
apk add -X https://mirrors.tuna.tsinghua.edu.cn/alpine/edge/testing/ --no-cache sing-box
kill -HUP $(pgrep sing-box) # reload

curl -L -o sing-box.tar.gz https://github.com/SagerNet/sing-box/releases/download/v1.8.11/sing-box-1.8.11-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/amd64/').tar.gz
tar zxvf sing-box.tar.gz --strip-components=1 --wildcards '*/sing-box'
./sing-box version
sudo mv sing-box /usr/local/bin/
# sudo mv sing-box /usr/bin/ # 配合 sing-box-openrc

docker run -d \
-v /etc/sing-box:/etc/sing-box/ \
Expand Down
2 changes: 1 addition & 1 deletion site/docusaurus.config.js
Expand Up @@ -32,7 +32,7 @@ const rehypePlugins = [
rehypeExtendedTable,
{
// default: right
mergeTo: ['right', 'left'],
mergeTo: 'right',
},
],
[katex, { strict: (code) => (code === 'unicodeTextInMathMode' ? 'ignore' : 'error') }],
Expand Down

0 comments on commit 3eb28b5

Please sign in to comment.