2025年08月12日 14:26:18


ubuntu node版本不匹配问题,快速安装n

curl -fsSL https://raw.githubusercontent.com/mklement0/n-install/stable/bin/n-install | bash -s 22

2025年07月28日 17:50:13

最近想学习一下AI相关的,准备用AI做一个摄影类的网站或者小程序

2025年05月07日 16:43:17

ohmyzsh无法更新:

omz update

fatal: unable to access 'https://github.com/ohmyzsh/ohmyzsh.git/': Failed to connect to github.com port 443 after 1 ms: Couldn't connect to server

打开:https://site.ip138.com/github.com/,查看github ip地址,配置host即可

2025年04月29日 16:51:07

docker开启API访问,在ExecStart后面添加 -H tcp://0.0.0.0:2375即可

vim /usr/lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -H tcp://0.0.0.0:2375

添加保存以后,重载配置,重启docker即可

systemctl daemon-reload

systemctl restart docker

2025年02月24日 18:19:56

群晖删除quickconnect

sudo vi /usr/syno/etc/certificate/_archive/INFO

将user_deletable参数改为true, 就可以删除了

2024年12月31日 16:29:36

强制卸载群晖套件

ssh登录群晖,切换root用户

cd /var/packages

rm -rf 对应的套件目录即可

2024年10月17日 09:04:19

iPhone 无法开机或死机,如果屏幕显示黑屏或冻结

1、按下调高音量按钮再快速松开。

2、按下调低音量按钮再快速松开。

3、按住侧边按钮,直到看到 Apple 标志(这个过程大约需要 10 秒钟)。

2024年10月08日 09:23:02

Webstorm升级提示

Connection failed (Remote host terminated the handshake). Please check network connection and try again.

在webstorm.vmoptions中添加

-Djava.NET.preferIPv4Stack=true
-Didea.updates.url=https://dl.google.com/android/studio/patches/updates.xml
-Didea.patches.url=https://dl.google.com/android/studio/patches/

重启升级即可

2024年05月07日 10:37:06

在谷歌浏览器中,可以通过以下步骤切换为高精度模式(获取当前位置信息)

1.打开谷歌浏览器,并输入"chrome://flags"在地址栏中。

2.在搜索框中输入"Core Location Backend或WinRT Geolocation lmplementation"后打开该项、并将其状态改为启用

3.重启浏览器。

2024年04月28日 20:52:10

Openwrt日志报错:
No interfaces found for source 222.123.123.33

删除igmpproxy包,有时候会断流