摘要:
部署nodejs项目,虽然跑起来了,但是在装插件的时候又出问题了,所以决定弄个版本管理 在 Windows 上管理 Node.js 版本 https://github.com/coreybutler/nvm-windows/releases 下载nvm-setup.zip 运行 nvm-setup. 阅读全文
摘要:
Web Speech API 是一个浏览器提供的用于语音识别和语音合成的API 包括 SpeechSynthesis语音合成 和 SpeechRecognition语音识别 https://developer.mozilla.org/zh-CN/docs/Web/API/SpeechSynthesi 阅读全文
摘要:
pyttsx3是一个功能强大的 Python 文本转语音(TTS)库,支持离线语音合成 pip install pyttsx3 文本转语音 import pyttsx3 # 初始化语音引擎 engine = pyttsx3.init() # 设置需要朗读的文本 engine.say("你好,世界!" 阅读全文
摘要:
Ollama 是一个开源的大型语言模型(LLM)平台,用于简化大语言模型的本地部署和使用 通过容器化技术封装模型,并提供命令行工具和 RESTful API,使得用户可以在本地快速启动和管理模型 ollama 官网(https://ollama.com/)以提供常用的大模型,可直接拉取,也支持三方模 阅读全文
摘要:
pipreqs 是一个轻量级的开源工具,用于自动生成 Python 项目的 requirements.txt 文件。 它通过分析项目中的导入语句,精确地列出项目运行所需的第三方库及其版本,使得环境配置变得简单明了 1.安装 pip install pipreqs 2.生成requirements.t 阅读全文
摘要:
Netcat 简称 nc 是一款简单的 Unix 工具,可以用来读写网络连接,使用TCP或UDP协议。 安装 centos sudo yum install nc Ubuntu sudo apt-get install netcat Usage: ncat [options] [hostname] 阅读全文
摘要:
package com.example; import org.apache.flink.api.common.typeinfo.TypeInformation; import org.apache.flink.api.java.typeutils.RowTypeInfo; import org.a 阅读全文
摘要:
在 Bash 中进行语法检查 使用 bash -n script.sh 阅读全文
摘要:
GDAS(Global Data Assimilation System)全球数据同化系统,是美国国家气象局(National Weather Service, NWS)的一部分,它是一个复杂的系统,用于生成全球范围的气象分析数据。 1.FNL大气再分析数据集 是GDAS的最终分析产品,用于历史和气 阅读全文
摘要:
scp是cure copy的缩写,用于在linux下进行远程文件拷贝 基于ssh登录,确保数据的安全性和完整性 usage: scp [-C][-r][-F ssh_config] [-l limit] [-P port] [[user@]host1:]file1 ... [[user@]host2 阅读全文
摘要:
1.下载并安装netCDF-C https://downloads.unidata.ucar.edu/netcdf/ 安装目录D:\software\netCDF4.9.2 2.下载netCDF-Fortran 3.编译netCDF-Fortran (1)解压源代码netcdf-fortran-4. 阅读全文
摘要:
1.下载并安装 Visual Studio2022 选择选择了C++桌面开发 2.下载并安装 Intel oneAPI Base Toolkit https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-d 阅读全文
摘要:
linux下统计文件数量使用命令 ls -1 | wc -l 或 find . -type f | wc -l 阅读全文
摘要:
Python 的 apscheduler 今天出现 skipped: maximum number of running instances reached (1) 问题产生的原因: 前一个任务未完成, 在只有一个线程的情况下,max_instances 默认值为 1 解决方法: 调整APSched 阅读全文
摘要:
今天将程序部署到服务器,遇到 mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported 问题产生的原因: 从MySQL 8.0开始,默认的用户认证插 阅读全文