初级命令 搜索镜像 docker search ubuntu //一般靠前的是官方镜像,其他是用户自己创建并分享的 下载镜像 docker pull ubuntu //默认下载最新版本的 列出下载的镜像 docker images 创建并使用容器 docker run -i -t --name he ...
分类:
其他好文 时间:
2021-05-24 14:34:45
阅读次数:
0
let list = [] let arr = {'a':'1','b':'2','c':'3','d':'4'} for(var key in arr){ console.log("key:"+key+",value:"+arr[key]) list.push({ 'key':key, 'valu ...
分类:
Web程序 时间:
2021-05-24 14:32:47
阅读次数:
0
撤消操作 在任何一个阶段,你都有可能想要撤消某些操作。 这里,我们将会学习几个撤消你所做修改的基本工具。 注意,有些撤消操作是不可逆的。 这是在使用 Git 的过程中,会因为操作失误而导致之前的工作丢失的少有的几个地方之一。 有时候我们提交完了才发现漏掉了几个文件没有添加,或者提交信息(commit ...
分类:
其他好文 时间:
2021-05-24 14:31:08
阅读次数:
0
将@click改为@click.native='logoutHandle';即可监听选项的点击事件。 1 2 3 4 5 6 7 8 <el-dropdown class="pull-right" > <span class="el-dropdown-link"> <img src="./img/h ...
分类:
其他好文 时间:
2021-05-24 14:13:59
阅读次数:
0
多文件合并下载 依赖于 https://github.com/feross/multistream const streams = []; for (const file of files) { streams.push(fs.createReadStream(file)); } this.ctx. ...
分类:
Web程序 时间:
2021-05-24 14:10:30
阅读次数:
0
需求:我在A分支上面开发了一个功能,突然B分支说也需要这个功能,但是不想要合并A分支上所有的代码;只需要合并这一个功能对应的代码 方案: 1. 在A分支上通过git log 查看日志;将自己提交的该功能对应的hash值整理出来; git log 2.如果本地没有B分支,需要先将B分支从远程仓库拉到本 ...
分类:
其他好文 时间:
2021-05-24 14:02:44
阅读次数:
0
解决Teamcity VCS git-upload-pack not permitted on ...
分类:
Web程序 时间:
2021-05-24 13:51:18
阅读次数:
0
1.git下载与安装 https://gitforwindows.org/ 一般一直下一步即可 任务栏 打开Git Bash,输入: # 配置用户名 git config --global user.name "username" //( "username"是自己的账户名,) # 配置邮箱 git ...
分类:
Web程序 时间:
2021-05-24 13:46:15
阅读次数:
0
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s ...
分类:
其他好文 时间:
2021-05-24 13:43:08
阅读次数:
0
简介 使用队列实现队列哈哈. code class MyQueue { public: queue<int> q; public: /** Initialize your data structure here. */ MyQueue() { } /** Push element x to the ...
分类:
其他好文 时间:
2021-05-24 13:17:52
阅读次数:
0