相关文章
用pymysql操作数据库
用pymysql操作数据库随笔
from pymysql import Connectioncon True
try:# 创建数据库连接con Connection(hostlocalhost,port3306,userroot,passwordroot,databasedb_python, # 设置要连接的数据库名称autocommitTrue # 设置自动提交)# 创建cursor对象cursor con.cursor(…
建站知识
2025/5/12 13:47:03
Bug日记——实现“日期类”
要求实现日期类以及它的函数:
#include <iostream>
using namespace std;
class Date
{friend ostream& operator<<(ostream& out, const Date& d);friend istream& operator>>(istream& in,Date& d);public:// 获取某年…
建站知识
2025/5/12 13:46:00
虚幻引擎5-Unreal Engine笔记之显卡环境设置使开发流畅
虚幻引擎5-Unreal Engine笔记之显卡环境设置使开发流畅
code review! 文章目录 虚幻引擎5-Unreal Engine笔记之显卡环境设置使开发流畅1.电源管理2.显卡优先设置3.拯救者支持FnQ性能模式切换,建议开发前切至“野兽模式”或高性能模式。4.NVIDIA 驱动设置5.VS2022中…
建站知识
2025/5/12 13:44:59
牛客周赛 Round 92-题解
牛客周赛 Round 92-题解
A-小红的签到题
code
#include<iostream>
#include<string>
using namespace std;
string s;
int main()
{int n;cin >> n;cout << "a_";for (int i 0; i < n - 2; i )cout << b;return 0;
}B-小红的模…
建站知识
2025/5/12 13:43:57
Ollama部署使用以及模型微调和本地部署
ollama是一款开源的本地大语言模型管理工具,专注于简化大语言模型(LLM)的本地部署和使用。以下是关于 Ollama 应用的详细介绍:
Ollama 的主要功能
本地化部署:
Ollama 支持在本地运行模型,无需依赖外部云…
建站知识
2025/5/12 13:42:56
20242817-李臻-课下作业:Qt和Sqlite
实验内容
阅读附件内容,编译运行附件中第一章,第三章的例子。
实验过程
第一章
t1实践
#include <QApplication>
#include <QWidget>
#include <QPushButton>
#include <QVBoxLayout>int main(int argc, char *argv[])
{QA…
建站知识
2025/5/12 13:41:55
FPGA 不兼容故障及处理
目录
1. FPGA 和 FPD
2. FPD 镜像升级的背后逻辑
3. 升级以及排查命令
FPD 升级步骤
升级过程中注意事项
故障排查命令 1. FPGA 和 FPD
FPGA(Field-Programmable Gate Array)是一种存在于大多数路由器硬件组件上的可编程存储器设备。
在 Cisco I…
建站知识
2025/5/12 13:40:53
Windows使用虚拟环境执行sh脚本
在代码文件夹git bash here echo ‘export PATH“/f/anaconda/Scripts:$PATH”’ >> ~/.bashrc echo ‘source /f/anaconda/etc/profile.d/conda.sh’ >> ~/.bashrc source ~/.bashrc
conda路径确认 where conda
conda activate mmt
bash ./online.sh感谢gpt记录…
建站知识
2025/5/12 13:39:52