会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逆水行舟,不进则退
路漫漫其修远兮,吾将上下而求索
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
···
42
下一页
2025年3月3日
使用js实现文字转语音
摘要: Web Speech API 是一个浏览器提供的用于语音识别和语音合成的API 包括 SpeechSynthesis语音合成 和 SpeechRecognition语音识别 https://developer.mozilla.org/zh-CN/docs/Web/API/SpeechSynthesi
阅读全文
posted @ 2025-03-03 22:35 慕尘
阅读(299)
评论(0)
推荐(0)
2025年2月28日
pyttsx3
摘要: pyttsx3是一个功能强大的 Python 文本转语音(TTS)库,支持离线语音合成 pip install pyttsx3 文本转语音 import pyttsx3 # 初始化语音引擎 engine = pyttsx3.init() # 设置需要朗读的文本 engine.say("你好,世界!"
阅读全文
posted @ 2025-02-28 23:39 慕尘
阅读(176)
评论(0)
推荐(0)
2025年2月21日
Ollama笔记
摘要: Ollama 是一个开源的大型语言模型(LLM)平台,用于简化大语言模型的本地部署和使用 通过容器化技术封装模型,并提供命令行工具和 RESTful API,使得用户可以在本地快速启动和管理模型 ollama 官网(https://ollama.com/)以提供常用的大模型,可直接拉取,也支持三方模
阅读全文
posted @ 2025-02-21 15:00 慕尘
阅读(204)
评论(0)
推荐(0)
2025年1月17日
python的 pipreqs
摘要: pipreqs 是一个轻量级的开源工具,用于自动生成 Python 项目的 requirements.txt 文件。 它通过分析项目中的导入语句,精确地列出项目运行所需的第三方库及其版本,使得环境配置变得简单明了 1.安装 pip install pipreqs 2.生成requirements.t
阅读全文
posted @ 2025-01-17 15:36 慕尘
阅读(708)
评论(0)
推荐(0)
2024年12月27日
Netcat
摘要: Netcat 简称 nc 是一款简单的 Unix 工具,可以用来读写网络连接,使用TCP或UDP协议。 安装 centos sudo yum install nc Ubuntu sudo apt-get install netcat Usage: ncat [options] [hostname]
阅读全文
posted @ 2024-12-27 09:34 慕尘
阅读(59)
评论(0)
推荐(0)
2024年12月9日
Flink Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Long
摘要: package com.example; import org.apache.flink.api.common.typeinfo.TypeInformation; import org.apache.flink.api.java.typeutils.RowTypeInfo; import org.a
阅读全文
posted @ 2024-12-09 14:29 慕尘
阅读(203)
评论(0)
推荐(0)
2024年9月23日
检查Bash脚本文件中的语法错误
摘要: 在 Bash 中进行语法检查 使用 bash -n script.sh
阅读全文
posted @ 2024-09-23 14:02 慕尘
阅读(52)
评论(0)
推荐(0)
2024年9月20日
气象数据
摘要: GDAS(Global Data Assimilation System)全球数据同化系统,是美国国家气象局(National Weather Service, NWS)的一部分,它是一个复杂的系统,用于生成全球范围的气象分析数据。 1.FNL大气再分析数据集 是GDAS的最终分析产品,用于历史和气
阅读全文
posted @ 2024-09-20 13:31 慕尘
阅读(600)
评论(0)
推荐(0)
2024年8月22日
scp命令
摘要: scp是cure copy的缩写,用于在linux下进行远程文件拷贝 基于ssh登录,确保数据的安全性和完整性 usage: scp [-C][-r][-F ssh_config] [-l limit] [-P port] [[user@]host1:]file1 ... [[user@]host2
阅读全文
posted @ 2024-08-22 14:26 慕尘
阅读(1370)
评论(0)
推荐(0)
2024年8月20日
Windows上用Intel编译netCDF-Fortran
摘要: 1.下载并安装netCDF-C https://downloads.unidata.ucar.edu/netcdf/ 安装目录D:\software\netCDF4.9.2 2.下载netCDF-Fortran 3.编译netCDF-Fortran (1)解压源代码netcdf-fortran-4.
阅读全文
posted @ 2024-08-20 22:50 慕尘
阅读(570)
评论(0)
推荐(0)
2024年8月15日
Windows上编译calpuff
摘要: 1.下载并安装 Visual Studio2022 选择选择了C++桌面开发 2.下载并安装 Intel oneAPI Base Toolkit https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-d
阅读全文
posted @ 2024-08-15 23:47 慕尘
阅读(147)
评论(0)
推荐(0)
2024年7月18日
linux下统计文件数量
摘要: linux下统计文件数量使用命令 ls -1 | wc -l 或 find . -type f | wc -l
阅读全文
posted @ 2024-07-18 09:04 慕尘
阅读(133)
评论(0)
推荐(0)
2024年5月13日
skipped: maximum number of running instances reached (1)
摘要: Python 的 apscheduler 今天出现 skipped: maximum number of running instances reached (1) 问题产生的原因: 前一个任务未完成, 在只有一个线程的情况下,max_instances 默认值为 1 解决方法: 调整APSched
阅读全文
posted @ 2024-05-13 23:39 慕尘
阅读(1858)
评论(0)
推荐(0)
mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported
摘要: 今天将程序部署到服务器,遇到 mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported 问题产生的原因: 从MySQL 8.0开始,默认的用户认证插
阅读全文
posted @ 2024-05-13 23:25 慕尘
阅读(495)
评论(0)
推荐(1)
2024年5月11日
java MySQL的in查询两个字段同时相等的多个数据查询
摘要: 在Java中想进行下面的查询,不想写循环一条条查 select id,name,address,age from users where name='A' and address='addr1' select id,name,address,age from users where name='B'
阅读全文
posted @ 2024-05-11 23:27 慕尘
阅读(415)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
42
下一页
公告