容器生命周期管理 run start/stop/restart kill rm pause/unpause create exec 容器操作 ps inspect top attach events logs wait export port 容器rootfs命令 commit cp diff 镜像 ...
分类:
其他好文 时间:
2021-01-20 11:47:15
阅读次数:
0
用history.push,和history.go或者replace其他方式去改变当前的location有什么特别的区别 history.push 这个方法会向history栈里面添加一条新记录,这个时候用户点击浏览器的回退按钮可以回到之前的路径。 history.go 这个方法的参数是一个整数,意 ...
分类:
其他好文 时间:
2021-01-19 12:07:34
阅读次数:
0
查看远程仓库地址别名 git remote -v $ git remote -v origin https://github.com/qingzhuan/demo01.git (fetch) origin https://github.com/qingzhuan/demo01.git (push) ...
分类:
其他好文 时间:
2021-01-18 11:23:59
阅读次数:
0
call()、apply()、bind() 都是用来重定义 this 这个对象的 bind 返回的是一个新的函数,必须调用它才会被执行 var name = 'rannie', age = 17; var obj={ name: 'coolin', objage: this.age, muFun: ...
分类:
移动开发 时间:
2021-01-18 10:47:36
阅读次数:
0
DockerFile DockerFile介绍 DockeFile使用来构建docker镜像文件!命令参数脚本 构建步骤 编写一个dockerfile文件 docker build 构建成为一个镜像 docker run 运行镜像 docker push 发布镜像(DockerHub, 阿里云镜像) ...
分类:
其他好文 时间:
2021-01-18 10:44:11
阅读次数:
0
题目 题目链接:https://codeforces.com/problemset/problem/757/F 给定一个 \(n\) 个点,\(m\) 条边的带权无向图,和起点 \(s\)。 选择一个点 \(u\)(\(u \neq S\)),使在图中删掉点 \(u\) 后,有尽可能多的点到 \(s ...
分类:
其他好文 时间:
2021-01-18 10:37:30
阅读次数:
0
#!/bin/bash # #******************************************************************** #Author: will #QQ: 1052165684 #Date: 2021-01-16 #FileName: push_ss ...
分类:
其他好文 时间:
2021-01-18 10:31:34
阅读次数:
0
内容来自官方文档,主要是一个学习 创建项目 go mod init github.com/k6io/xk6-redis 参考代码 需要push github package redis ? import ( "context" "time" ? "github.com/go-redis/redis/ ...
分类:
其他好文 时间:
2021-01-16 12:05:41
阅读次数:
0
思路:维护一个K大小的最小堆,堆顶就是最小的元素,新元素都比堆顶小,当堆中元素个数小于K时,直接进入堆,当堆顶小于新元素时,弹出堆顶,新元素加入堆。 #include <iostream> #include <vector> #include <queue> using namespace std; ...
分类:
其他好文 时间:
2021-01-13 11:29:41
阅读次数:
0
#include <iostream> #include <stack> using namespace std; class GetMinStack{ public: void push(int x); void pop(); int top(); int getmin(); private: s ...
分类:
其他好文 时间:
2021-01-13 11:27:28
阅读次数:
0