摘要: 单例模式 单例模式(Singleton Pattern)是一种常用的软件设计模式,该模式的主要目的是确保某一个类只有一个实例存在。当你希望在整个系统中,某个类只能出现一个实例时,单例对象就能派上用场。 比如,某个服务器程序的配置信息存放在一个文件中,客户端通过一个 AppConfig 的类来读取配置 阅读全文
posted @ 2018-05-03 15:37 强仔必胜 阅读(261) 评论(0) 推荐(0) 编辑
摘要: https://baijiahao.baidu.com/s?id=1765200415437032854&wfr=spider&for=pc mysqld --remove 阅读全文
posted @ 2024-04-24 14:42 强仔必胜 阅读(1) 评论(0) 推荐(0) 编辑
摘要: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/a 阅读全文
posted @ 2024-04-22 23:05 强仔必胜 阅读(1) 评论(0) 推荐(0) 编辑
摘要: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip install torch torchvision torchaudio --index-url http 阅读全文
posted @ 2024-04-14 18:08 强仔必胜 阅读(3) 评论(0) 推荐(0) 编辑
摘要: # -*- mode: python ; coding: utf-8 -*- from pathlib import Path import PyInstaller.utils.hooks import monai from PyInstaller.utils.hooks import collec 阅读全文
posted @ 2024-03-31 08:13 强仔必胜 阅读(6) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_41631913/article/details/135403236 中文版本 https://we-yun.com/doc/neo4j-chs/ 阅读全文
posted @ 2024-03-28 22:41 强仔必胜 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-03-24 21:48 强仔必胜 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-03-24 17:47 强仔必胜 阅读(1) 评论(0) 推荐(0) 编辑
摘要: cd /etc/yum.repos.d/ wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import https://pkg.jenkins.io/redh 阅读全文
posted @ 2024-03-20 23:05 强仔必胜 阅读(1) 评论(0) 推荐(0) 编辑
摘要: sudo yum install -y https://dl.grafana.com/oss/release/grafana-8.0.6-1.x86_64.rpm systemctl daemon-reloadsystemctl start grafana-serversystemctl statu 阅读全文
posted @ 2024-03-20 22:14 强仔必胜 阅读(4) 评论(0) 推荐(0) 编辑
摘要: jdk17添加到目录 update-alternatives --install /usr/bin/java java /root/software/jdk-17.0.10//bin/java 2 显示当前所有的java版本 alternatives --list 切换java版本 alternat 阅读全文
posted @ 2024-03-03 23:38 强仔必胜 阅读(39) 评论(0) 推荐(0) 编辑