background picture of the home page

Hi,Friend

技术宅拯救世界~

docker中启动bun项目

1.本地安装docker 下载地址:https://docs.docker.com/desktop/setup/install/windows-install/ 2. 在项目源目录中创建一下文件 2.1.Dockerfile 构建镜像文件 # --------

thumbnail of the cover of the post

安装docker 、docker-compose

1: 移除旧版 Docker 如果系统中已经安装了旧版的 Docker,最好先卸载它: sudo yum remove docker docker-common docker-snapshot 2: 设置 Docker 仓库 安装 Docker 前,首先需要确保已添加 Docker 的官方仓库。如果

thumbnail of the cover of the post

windows电脑通过网线共享wifi网络

连接网线 用网线将两台电脑的以太网接口连接起来。 启用网络共享(主机端操作) 打开 控制面板 > 网络和Internet > 网络和共享中心。 点击左侧的 更改适配器设置。 右键单击已连接的 Wi-Fi网络适配器

thumbnail of the cover of the post

java-web3项目

1.将合约编译成java class Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercont

thumbnail of the cover of the post

批次同步优化方案

1.将任务提交给异步redis Map<String, CompletableFuture<Boolean>> futureMap = new ConcurrentHashMap<>(); List<String> pwss = CipherUtils.generatePasswordsBulk(e

thumbnail of the cover of the post

查看redis日志

1.修改redis.config文件 # 开启日志 loglevel debug 2. 开启日志 2.1 RedisSion客户端 logback.xml <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">

thumbnail of the cover of the post

ai model

1.自创模型和以现有模型开始训练区别 1. 训练时间和资源消耗 自己创建一个模型: 优点:如果你有足够的领域知识,并且数据较为简单,自己从头训练模型可能会让你完全掌控训练过程,能够针对特定任务做最优化。

thumbnail of the cover of the post