Windows 安装 Dify
软硬件要求硬件: CPU >= 2Core ; RAM >= 4GiB软件: 操作系统 Windows with WSL 2 enabled; Docker DesktopWSL 2 仅在 Windows 11 或 Windows 10 版本 1903、内部版本 18362 或更高版本中...
Linux 安装 Dify
在线安装安装 docker在终端执行如下命令bash <(curl -sSL https://linuxmirrors.cn/docker.sh) 选择 安装最新版本的 Docker Engine选择使用的 Docker CE 源选择 Docker Register 源是否关闭...
Github 访问慢解决方案
修改 host 文件host 文件位置host 文件在每个系统上的位置不一样Windows:C:\Windows\System32\drivers\etc\hostsLinux:/etc/hostsmacOS:/etc/hostswindows 使用记事本打开,Linux 以及 macOS...
macOS Python 多版本管理
安装 Homebrew Homebrew 的官网 https://brew.sh/ 在终端输入以下命令进行安装 /bin/bash -c '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)' 安装完成后...
Ubuntu 24.04 LTS 安装 Python
PPA 安装 Python更新 Ubuntu安装 Python 之前,将 Ubuntu 更新到最新。# 更新软件包列表 sudo apt update # 升级软件包 sudo apt upgrade 导入 Python 的 PPAdeadsnakes 团队维护了一个专门的 L...
macOS 实现 DOC 批量转 DOCX
本文主要利用 macOS 的 自动操作 以及 AppleScript 来实现 DOC 批量转 DOCX。 AppleScript 的运行脚本 on run {input, parameters} tell application 'Microsoft Word' repeat with docFile in ...
macOS 实现 PPT 批量转 PDF
本文主要利用 macOS 的 自动操作 以及 AppleScript 来实现 PPT 批量转 PDF。 AppleScript 的运行脚本 on run {input, parameters} set theOutput to {} tell application 'Microsoft PowerPoint...
太空操作符 <=>
spaceship operator <=> (太空操作符) 它是二目运算符,并非三目运算符。 进行三向比较,>、=、<。 常见的运算符分为前缀(prefix)运算符、中缀(infix)运算符、后缀(postfix)运算...