摘要: go开发环境下载:https://golang.google.cn/dl/ 设置国内源 vs code下载:https://code.visualstudio.com/ vs code 安装go插件vs code安装vscode-go-syntax 插件 阅读全文
posted @ 2024-04-25 19:16 你看起来真的很好吃 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1:合并整个源分支的改动,但希望合并后只有一个新的提交,不引入源分支的完整提交历史。git merge --squash temp_merge 2:设置git url替换规则 git config --global url."http://gitlab.alibaba-inc.com/".inste 阅读全文
posted @ 2024-04-11 10:52 你看起来真的很好吃 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 必知必会 工作标准和规范 系统运维 功能设计 使用说明文档 专项任务(目标、当前正在做的专项任务) 工具 总结复盘 周会周报 日常文档 阅读全文
posted @ 2024-04-03 14:04 你看起来真的很好吃 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # This is a sample Python script.from pynput import mousefrom pynput import keyboardimport threadingimport time# Press Shift+F10 to execute it or repl 阅读全文
posted @ 2023-12-21 00:53 你看起来真的很好吃 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1:安装Nvidia显卡驱动、cuda和cuDNN 1.1下载安装Navida显卡驱动 NAVIDIA驱动下载地址:https://www.nvidia.cn/Download/index.aspx 下载完成后,在CMD中输入 nvidia-smi 验证是否安装成功 如果有错误 2:下载CUDA(本 阅读全文
posted @ 2023-12-13 00:51 你看起来真的很好吃 阅读(125) 评论(0) 推荐(0) 编辑
摘要: # -*-coding:utf-8-*-# IP proxyimport jsonimport timeimport requestsfrom threading import Lockclass IpProxy(object): _local = Lock() _instance = None # 阅读全文
posted @ 2023-11-13 19:24 你看起来真的很好吃 阅读(10) 评论(0) 推荐(0) 编辑
摘要: import logging # 创建logger实例 logger = logging.getLogger('example') logger.setLevel(logging.INFO) # 创建格式化器 formatter = logging.Formatter('%(asctime)s - 阅读全文
posted @ 2023-11-10 19:17 你看起来真的很好吃 阅读(36) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.webdrive 阅读全文
posted @ 2023-09-23 16:37 你看起来真的很好吃 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1:引入日志模块 from simple_history.admin import SimpleHistoryAdmin 2:admin类继承 SimpleHistoryAdmin 3:对应model添加字段历史记录字段 history = HistoricalRecords(excluded_fi 阅读全文
posted @ 2023-09-05 17:53 你看起来真的很好吃 阅读(48) 评论(0) 推荐(0) 编辑
摘要: from facenet_pytorch import MTCNN, InceptionResnetV1from PIL import Image, ImageDrawimport cv2import timeimport numpy as npimport torchimport faisscla 阅读全文
posted @ 2023-08-16 16:26 你看起来真的很好吃 阅读(110) 评论(0) 推荐(0) 编辑