Docker学习之Docker容器基本使用 新建容器并启动 命令格式: docker run options repository:tag 后台运行 命令格式: d 已存在的容器相关操作 启动: docker container start containerid 停止: docker contai ...
分类:
其他好文 时间:
2018-01-24 20:02:48
阅读次数:
147
原题链接在这里:https://leetcode.com/problems/permutation-in-string/description/ 题目: Given two strings s1 and s2, write a function to return true if s2 contai ...
分类:
其他好文 时间:
2018-01-17 10:10:44
阅读次数:
133
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2018-01-13 00:18:36
阅读次数:
112
bower还会帮我们去检查版本之间的兼容性。 这个工具一般小型的项目中不会用到,因为总共就是那么十几个js文件,用到它反而需要很多的配置文件,所以,大型的项目中会使用,但是小项目没有用到。 karma-coverage:代码覆盖率检查 ...
分类:
其他好文 时间:
2018-01-06 22:05:58
阅读次数:
192
一、什么是partial update?PUT /index/type/id,创建文档&替换文档,就是一样的语法一般对应到应用程序中,每次的执行流程基本是这样的:(1)应用程序先发起一个get请求,获取到document,展示到前台界面,供用户查看和修改(2)用户在前台界面修改数据,发送到后台(3)... ...
分类:
其他好文 时间:
2017-12-31 12:53:05
阅读次数:
204
题目描述 一个 m * n 的棋盘,有的格子存在障碍,求经过所有非障碍格子的哈密顿回路个数。 输入 The first line contains the integer numbers N and M (2 ≤ N, M ≤ 12). Each of the next N lines contai ...
分类:
其他好文 时间:
2017-12-27 19:41:20
阅读次数:
149
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2017-12-24 14:46:34
阅读次数:
162
引入背景图片: background: image url("路径")设置背景尺寸: background-size: auto自动大小,默认 background-size: cover保持图片大小,等比例缩放,平铺整个区域,如果尺寸大于容器则会超出 background-size: contai ...
分类:
Web程序 时间:
2017-12-17 15:52:12
阅读次数:
192
A message containing letters from A-Z is being encoded to numbers using the following mapping way: Beyond that, now the encoded string can also contai ...
分类:
其他好文 时间:
2017-12-16 17:13:05
阅读次数:
115
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2017-12-14 00:01:15
阅读次数:
136