海云青飞 推荐的软件、服务
-
Edge browser
- 设置语言中文,可在右键菜单翻译选中文,可朗读选中文字
- 可选择在关闭时清除浏览数据
- 阅读 PDF,它能记录上次阅读到的位置
- 具有分栏功能
- 可免费使用人工智能 Copilot
-
VS Code 编辑器
-
startPage 搜索。保护用户隐私,搜索质量同 Google。Edge、Chrome 可安装插件
Windows
-
Msys2 在 Windows 上运行 Linux 软件
-
Windows Terminal,我在其中添加了 Msys2 并作为默认 profile
Linux
Android phone
- Duo Mobile (Two-Factor authentication)
Linux Commands
Update nginx/sites-avaliable/site: sudo wget -O site https://cba.com/site
(May lose characters if paste is used),then nginx -s reload
vi delete all lines: ggdG
tail -f log/access.log
(watch log file in real time)
:g/Bot\|pider\|rawler\|bot\/\|bot\"\|bot\-\|\.php\| 404 /d
(Remove lines matching a pattrn in web log file)
VS Code
VS Code navigate back to the last cursor position ALT + ←
Open user settings.json file: Ctrl + Shift + P
, type in "open user settings"
The regular expression [一-龥] matches any Chinese character
Use this regex ^(?!/)(?!/*).[一-龥] in Visual Studio to ignore lines that start with / or //
Git commands
git pull origin master
git add -A
git commit -m ""
git push origin master
git restore file (discard local changes)
git mv fileA fileB
独立思考最难得,赞赏支持是美德!(微信扫描下图)