摘要: import os import subprocess from datetime import datetime #记录遍历的时间信息 record_file = 'gitpull.record' #最大遍历深度 max_depth = 3 #是否每次git pull,过后都保存pull_reco 阅读全文
posted @ 2024-06-06 00:16 dx2019 阅读(5) 评论(0) 推荐(0) 编辑
摘要: // 在页面中添加一个 canvas 组件<canvas canvas-id="myCanvas" bindtap="handleTap"></canvas> // 在页面的 js 文件中处理图片Page({ data: { imgUrl: '', // 存储用户选择的图片路径 startX: 0, 阅读全文
posted @ 2024-06-03 14:11 dx2019 阅读(1) 评论(0) 推荐(0) 编辑
摘要: url = 'https://chat18.aichatos8.com'chrome_binary_path = '/Users/baidu/project/script/chromedriver/chrome-mac-arm64/Google Chrome for Testing.app/Cont 阅读全文
posted @ 2024-05-28 18:26 dx2019 阅读(7) 评论(0) 推荐(0) 编辑
摘要: docker建镜像,运行 docker build -t web:v1 -f F:\project\docker\godev\dockerfile F:\project\docker\web docker run --rm -it --name web1 -p 8000:8080 web docke 阅读全文
posted @ 2024-04-25 23:12 dx2019 阅读(1) 评论(0) 推荐(0) 编辑
摘要: ` type IntHeap struct { sort.IntSlice } func (h *IntHeap) Push(v interface{}) { h.IntSlice = append(h.IntSlice, v.(int)) } func (h *IntHeap) push(v in 阅读全文
posted @ 2024-03-05 22:52 dx2019 阅读(3) 评论(0) 推荐(0) 编辑
摘要: bito> TEXT main.main(SB) D:/main.go main.go:12 0xea7580 493b6610 CMPQ 0x10(R14), SP main.go:12 0xea7584 0f8691000000 JBE 0xea761b main.go:12 0xea758a 阅读全文
posted @ 2023-12-27 14:19 dx2019 阅读(11) 评论(0) 推荐(0) 编辑
摘要: git rev-parse git config git submodule git rev-rebose git show-ref git var git for-each-ref --sort=-committerdate --format="%(committername)@%(refname 阅读全文
posted @ 2023-07-26 16:24 dx2019 阅读(5) 评论(0) 推荐(0) 编辑
摘要: docker-compose -f xxx.yml up ``` version: "3" services: redis1: image: 'redis' ports: - '6389:6379' mysql1: image: 'mysql:5.7' restart: always contain 阅读全文
posted @ 2023-06-25 19:31 dx2019 阅读(26) 评论(0) 推荐(0) 编辑
摘要: [2099] 找到和最大的长度为 K 的子序列 Easy (49.05 %) [2080] 区间内查询数字的频率 Medium (26.85 %) [1943] 描述绘画结果 Medium (41.10 %) [1721] 交换链表中的节点 Medium (64.47 %) [1226] 哲学家进餐 阅读全文
posted @ 2021-12-31 15:01 dx2019 阅读(130) 评论(0) 推荐(0) 编辑
摘要: { "version": "0.2.0", "configurations": [ { "name": "LaunchGo", "type": "go", "request": "launch", "mode": "auto", "program": "${workspaceRoot}/main.g 阅读全文
posted @ 2021-12-02 16:05 dx2019 阅读(85) 评论(1) 推荐(0) 编辑