Exception managing chrome: error sending request for url
今天在运行一个自动化脚本的时候,提示:
1 |
Exception managing chrome: error sending request for url (https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json): error trying to connect: Connection reset by peer (os error 54) |
这显然是selenium在访问*.github.io的时候出现了问题~ 解决方案: pip install selenium==4.5 […]
如何隐藏macOS下Dock栏中的某个图标?
主要是用于隐藏PushDeer,当然,该方法也适用于其他应用~ 步骤: 在访达的应用程序中找到待隐藏的程序–右键显示包内容,打开Contents/Info.plist文件,在这里加上两句话: <key>LSUIEle […]
Tun模式和系统代理的区别
有时候可能需要远程访问学校的资源,这时候就需要使用代理了,注意哈,这种是正规代理。下面介绍下代理软件中的两种代理模式区别: 代理软件中的TUN模式和系统代理是两种不同的网络流量转发机制,它们在实现上和适用场景上各有特点。下面是它们之间的一些 […]
群晖网速突然由1000M降为100M | 群晖如何重启网卡
今天发现群晖的网速突然由千兆变成百兆了,但是硬件没有动过,这种基本上可以确定是自动协商出现问题了~ 一个简单的解决方法是重启NAS,不过如果你有一些服务是不想重启的,那就需要另一种方法了。 重启网络服务: 先ssh连接NAS,然后输入: s […]
macOS下Tailscale如何通过命令行进行操作
通过安装包安装的Tailscale是无法直接使用命令行的,因为Tailscale的命令行工具没有被添加到系统的PATH环境变量中~ 所以在命令行中使用Tailscale的两种方式是: 第一种: /Applications/Tailscale […]
macOS如何打开FPS监控
Windows系统下有许多FPS帧率监测软件,但是mac下不多~ 如果你想拥有上面这种监测窗口,只需要在终端输入以下命令即可: /bin/launchctl setenv MTL_HUD_ENABLED 1 这是mac自带的,非常好用~ 关 […]
macOS中访达支持的远程服务器类型汇总
目前访达支持的类型有:afp:// cifs:// ftp:// ftps:// http:// https:// nfs:// smb:// vnc:// 下面是对每种类型的解释: afp://:Apple Filing Protocol […]
阿里云域名追加备案需要注意的地方
手里有个新域名,打算进行追加备案,结果初审未通过,主要是备案的名字和介绍部分,由于距离上次备案已经是很久远的事了,在此记录下这次的备案过程~ 打开我的备案:ICP代备案管理系统 (aliyun.com) 新增网站: 填写个人信息即可,注意网 […]
macOS如何原生挂载webdav?
之前挂载webdav的时候都是用moutain duck,就是太贵了~如果你也搭建了Alist,那么可以考虑使用macOS自带的访达来挂载webdav~ 访达支持的服务器有很多种,具体见: 使用访达挂载Alist也很简单,使用快捷键cmd+ […]
macOS更新Git版本
1、安装Homebrew 2、安装Git 命令:brew install git
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# mcj @ M1_Max in ~ [15:40:08] $ brew install git Warning: No remote 'origin' in /opt/homebrew/Library/Taps/homebrew/homebrew-services, skipping update! Running `brew update --auto-update`... ==> Homebrew collects anonymous analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics have been recorded yet (nor will be during this `brew` run). ==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations Installing from the API is now the default behaviour! You can save space and time by running: brew untap homebrew/core brew untap homebrew/cask ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Formulae deadfinder flowpipe icloudpd mtm openjph tfautomv ==> New Casks cleanupbuddy easydevo mumuplayer nrfutil You have 1 outdated formula installed. ==> Fetching dependencies for git: gettext ==> Fetching gettext ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/gettext-0.22.4.arm6 ######################################################################### 100.0% ==> Fetching git ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/git-2.43.0.arm64_ve ######################################################################### 100.0% ==> Installing dependencies for git: gettext ==> Installing git dependency: gettext ==> Pouring gettext-0.22.4.arm64_ventura.bottle.tar.gz 🍺 /opt/homebrew/Cellar/gettext/0.22.4: 2,042 files, 24.3MB ==> Installing git ==> Pouring git-2.43.0.arm64_ventura.bottle.tar.gz ==> Caveats The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. zsh completions and functions have been installed to: /opt/homebrew/share/zsh/site-functions ==> Summary 🍺 /opt/homebrew/Cellar/git/2.43.0: 1,638 files, 50.5MB ==> Running `brew cleanup git`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). ==> Caveats ==> git The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. zsh completions and functions have been installed to: /opt/homebrew/share/zsh/site-functions |
重新打开一个终端,输入:git version,就会发现已经是最新了~ [crayon-68 […]