Reversing Linked List Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, give ...
分类:
其他好文 时间:
2020-06-25 14:13:09
阅读次数:
56
1、查看Linux硬盘信息: sudo fdisk -l 2、格式化新硬盘(很危险,注意操作时确定硬盘分区的位置): sudo mkfs.ext4 /dev/sdb1 3、创建/data目录(/data目录为硬盘将挂载的地方): sudo mkdir /data 4、挂载分区: sudo mount ...
分类:
其他好文 时间:
2020-06-24 23:38:26
阅读次数:
63
One user feedback: I have KTM Bench ECU programmer to test with different ecms And always with the same message "Bosch MEDC17 (TC1724 /1728 / 1767 / 1 ...
分类:
其他好文 时间:
2020-06-24 16:31:44
阅读次数:
82
明确概念 Dockerfile 是拿来构建自定义镜像的,并没有直接生成容器。只是可以在运行镜像时运行容器而已。 做容器编排以部署环境,是使用 docker-compose.yml 文件进行的,里面可能会需要用到 Dockerfile 。 总结 Dockerfile是用来构建镜像的,若是想使用这个镜像 ...
分类:
其他好文 时间:
2020-06-24 14:28:18
阅读次数:
138
docker-compose 一、什么是docker-compose Docker-compose是一个定义及运行多个Docker容器的工具,它自身我们可以简单的理解为就是一个二进制文件(命令),是我们可以更方便易于管理的构建基于docker的复杂应用。 使用compose的过程: 1.使用Dock ...
分类:
其他好文 时间:
2020-06-23 21:34:17
阅读次数:
56
题目传送门:AtCoder Grand Contest 006。 A - Prefix and Suffix #include <iostream> #include <string> int N; std::string s, t; int main() { std::cin >> N >> s ...
分类:
其他好文 时间:
2020-06-23 19:17:25
阅读次数:
60
很多年前就知道我软的WebApi的路由模板配置方法不支持namespaces参数的事,所以也追随我软的脚步在程序中不再造namespaces参数的设计与实现,最近小组里有人思维不够开源,想着使用namespaces参数把启动项目和Api具体实现分成两个项目,目的大概是为了保护源码,我极度排斥这种老旧 ...
starts-with 顾名思义,匹配一个属性开始位置的关键字 contains 匹配一个属性值中包含的字符串 text() 匹配的是显示文本信息,此处也可以用来做定位用 eg //input[starts-with(@name,'name1')] 查找name属性中开始位置包含'name1'关键字 ...
分类:
其他好文 时间:
2020-06-21 13:32:00
阅读次数:
45
dnf install -y yum-utils dnf config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo dnf install docker-ce docker-ce-cli ...
分类:
其他好文 时间:
2020-06-21 13:26:10
阅读次数:
77
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating ...
分类:
其他好文 时间:
2020-06-21 10:09:51
阅读次数:
35