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包,有时候会断流
2024/03/19 17:43:00
就我司这屎山上堆屎的本事,做出来的东西不垃圾都特么奇怪了
2024/03/12 18:59:36
antd input组件,如果只设置了defaultValue,重新设置值不生效,添加一个key属性即可