- 博客(257)
- 收藏
- 关注
转载 router-路由中的冒号:的含义.md
express routingRoute parametersRoute parameters are named URL segments that are used to capture the values specified at their position in the URL. The captured values are populated in the req.params object, with the name of the route parameter specified
2022-05-27 09:18:13
1531
1
原创 gitlab,tag重建后,拉取的还是旧tag的代码
RT这个是gitlab的一个bug,貌似是因为缓存问题, 规避的方式就是不要进行tag重建,而是打个新的tag目前已知存在该bug的版本GitLab Community Edition 14.5.2
2022-05-17 12:59:00
708
原创 私有git仓库只支持http情况下go mod tidy 和 go get 默认走https的问题处理
私有git仓库只支持http情况下go mod tidy 和 go get 默认走https的问题处理1. 假定git仓库的ip是10.1.1.1, 仓库名称是git-repo-name, 仓库的go module名称是 10.1.1.1/your-user-name/git-repo-name, 该仓库目录下有go-utils文件夹, go-utils文件夹下是utils包, utils包有函数"IntToString(i int) string"2. git 全局配置, 强制git https走ht
2022-05-17 11:39:35
3560
原创 golang 多模块如何使用的相关链接
Proposal: Multi-Module Workspaces in cmd/gohttps://github.com/golang/tools/blob/master/gopls/doc/workspace.md#multiple-moduleshttps://github.com/golang/tools/blob/master/gopls/doc/settings.md#experimentaluseinvalidmetadata-boolhttps://github.com/golang/
2022-05-14 19:41:56
230
原创 docker重命名镜像名称和tag
docker tag IMAGEID(镜像id) REPOSITORY:TAG(仓库:标签)example:docker tag 07891asc test/test:1.0.0
2022-05-10 14:47:32
915
原创 ~/.vimrc 修改后不重启生效方法
~/.vimrc 修改完后直接在vim命令模式下:source ~/.vimrc在bash下执行"source ~/.vimrc"会报错因为vimrc是vim自己的脚本语言,bash无法理解,所以bash就会报语法错误Vimrc error: “syntax: command not found”
2022-05-08 18:29:03
6554
原创 Docker - 本地镜像的导出、导入(export、import、save、load)
Docker - 本地镜像的导出、导入(export、import、save、load)
2022-05-02 21:32:31
2268
原创 docker ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
2022-05-02 19:01:00
1004
原创 linux用户和组以及文件和目录的权限相关解释
## linux 迭代修改目录下所有文件的所属者chown -R 所有者 : 所属组 目录名## linux 修改目录文件下所有文件的权限## 以下命令行修改指定目录下的所有文件的权限为全体可读、可修改、可执行chmod -R 777 apache-tomcat-8.5.20/Linux下的用户、组和权限的详细解释...
2022-05-02 18:43:46
293
原创 atlassian产品confluence-jira等的相关链接
Confluence 文档和手册(中文)旧版confluence镜像 cptactionhank/atlassian-confluence旧版confluence镜像 cptactionhank/atlassian-confluence的dockerfileConfluence与Jira整合之统一用户管理confluence与jira账号对接、查看到期时间及问题总结搭建 Jira + Confluence 用于公司项目流程管理Jira Software 和 Confluence 集成基于con
2022-05-01 23:35:08
375
原创 git提交空目录约定俗成的方法
空目录在commit时,因为不会被git跟踪(跟踪文件而不是跟踪目录),所以无法将这个空目录提交到仓库,但有时又必须将这个空目录提交到仓库,所以就产生以下这个约定俗成的方法:还是利用git跟踪文件的特性,在空目录下创建.gitkeep文件,然后在项目的.gitignore中设置不忽略.gitkeep即在.gitignore文件中增加下面一行!.gitkeep.gitkeep 是一个约定俗成的文件名并不会带有特殊规则参考Git提交空目录...
2022-04-30 19:30:41
679
原创 docker-compose 网络设置及docker-compose.yml文件详解
docker-compose 网络设置及docker-compose.yml文件详解
2022-04-30 19:16:19
2230
原创 docker 网络模式详解和容器使用主机网络代理和容器指定运行的用户身份和卷分离
Docker:网络模式详解使用主机网络代理docker run -it -u <user-id> :<group-id><image-name> <command>容器指定运行的用户身份和卷分离
2022-04-24 09:38:19
1252
原创 shell 将shell脚本参数作为脚本文本里的某条命令的参数
Shell 传递参数使用$@print.shecho $@example:./print.sh $@
2022-04-24 09:30:52
392
原创 shell 利用 osascript 脚本调用某个程序打开某个文件 和 osascript不返回 “missing value“
这里以 draw.io 为例########################################################################## File Name: use-draw.io-open-file.sh# Author: xiaoyang.chen# mail: xiaoyang.chen@???.com# Created Time: 五 4/22 12:00:11 2022#####################################
2022-04-24 08:41:21
800
原创 SHELL 相对路径转化为绝对路径
########################################################################## File Name: transform-relative-path-to-absolute-path.sh# Author: xiaoyang.chen# mail: xiaoyang.chen@???.com# Created Time: 五 4/22 13:35:19 2022#################################
2022-04-24 08:26:28
2509
1
原创 3 simple tricks for smaller Docker images
3 simple tricks for smaller Docker images
2022-04-24 08:17:28
605
原创 docker镜像反推dockerfile
https://github.com/cucker0/DockerImage2Dfhttps://hub.docker.com/r/cucker/image2dfdocker—通过images的镜像反推出Dockerfiledocker镜像逆向Dockerfile
2022-04-23 23:47:01
2026
原创 通过ssh公钥访问linux服务器
How To Set Up SSH Keys on CentOS 71 生成密钥(可以rsa或者ed25519,推荐25519)ssh-keygen -t ed25519 -C "xxx@???.com" -f yourEd25519NameyourEd25519Name你的密钥名称2 复制公钥到linux服务器ssh-copy-id -i ./yourEd25519Name.pub remoteUserName@RemoteHostremoteUserName@RemoteHost 你要访
2022-04-16 09:29:23
981
原创 plantuml 学习链接
plantuml.github.ioPlantUMLHitchhikersGuideCreole 1.0-Creole 1.0Creole 1.0
2022-04-10 14:24:33
267
原创 Mac OS X 终端下怎么获取当前使用的network service? 例如当前使用的连接服务名是「Wi-Fi」,终端中怎么获取?
Mac OS X 终端下怎么获取当前使用的network service? 例如当前使用的连接服务名是「Wi-Fi」,终端中怎么获取?
2022-04-10 14:03:53
661
原创 macos 设置“忽略这些主机与域的代理设置
How to configure webproxy settings to bypass hosts and networks in the shell?
2022-04-10 14:01:15
2760
原创 在docker容器中使用easyconnect
用docker封印EasyConnect并连接远程桌面和数据库使用 docker 封印 EasyConnectM1 Mac 用不了深信服 easyconnet? 用 docker+clash封印它
2022-04-09 20:09:11
4573
原创 kubeedge keadm reset命令逻辑详解,keadm-reset-v1.10.0
puml格式,装plant uml查看@startuml keadm-reset-v1.10.0' Author: xiaoyang.chen' mail: xiaoyang.chen@???.comstart: keadm reset args (基于v1.10.0);note leftargs: kube-config, kubeedge的配置文件路径, 默认"/root/.kube/config"force, 强制重制节点, 默认falseexample: kead
2022-04-07 15:27:27
996
原创 kubeedge keadm join命令逻辑详解,keadm-join-v1.10.0
puml格式,装plant uml查看@startuml keadm-join-v1.10.0' Author: xiaoyang.chen' mail: xiaoyang.chen@???.comstart: keadm join args (基于v1.10.0);note leftargs: kubeedge-version, kubeedge的版本cgroupdriver, cgroup驱动器, 默认"cgroupfs"certPath, 证书文件路径, 默认"/etc/kube
2022-04-06 11:14:00
917
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人