以下是一些关于python 集成docker 的文章,很不错 The basics Broken by default: why you should avoid most Dockerfile examplesMost Dockerfile examples you’ll find on the ...
分类:
编程语言 时间:
2020-01-30 12:46:48
阅读次数:
79
一、消息重复现象 在 MQTT 协议中,给出了三种传递消息时能够提供的服务质量标准: At most once:最多一次,这种情况会丢失部分数据,一般日志收集这种对数据不严格的可以使用 At least once:最少一次,这种会导致一条消息重复发送 Exactly once:正好一次,一条消息只会 ...
分类:
其他好文 时间:
2020-01-30 09:14:17
阅读次数:
500
| 分类 leetcode | Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],You... ...
分类:
其他好文 时间:
2020-01-29 12:53:10
阅读次数:
91
| 分类 leetcode | Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most signifi... ...
分类:
其他好文 时间:
2020-01-29 12:44:58
阅读次数:
82
一、题目说明 11.Container With Most Water,这个题目难度是 Medium 。 二、我的做法 乍一看,简单啊,两个for循环就可以了,我在本地写的。 真是亮瞎我的钛合金狗眼啊。醉了! ...
分类:
其他好文 时间:
2020-01-28 09:18:29
阅读次数:
339
Python2 >>> >>> isinstance(b'abc', bytes) True >>> >>> isinstance(b'abc', str) True >>> >>> isinstance('abc', str) True >>> >>> isinstance('abc', byte ...
分类:
编程语言 时间:
2020-01-28 00:07:03
阅读次数:
128
week1 每日推荐 拿到Wireshark capture file后,按常规思路,用foremost命令拿到一个加密的压缩包,之后文件 导出对象 http,看到最大的一个文件里面最后提示密码是6位数字,修复了加密压缩包,爆破,暴不出来,菜就完了。 赛后看了大佬wp 1、用HxD打开最大的文件,注 ...
分类:
其他好文 时间:
2020-01-27 18:52:03
阅读次数:
122
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number ...
分类:
其他好文 时间:
2020-01-27 13:55:18
阅读次数:
58
题意: 一条线段上有n张骨牌(n=1e7), 相邻骨牌距离为1,每张骨牌有其高度和推倒的花费,问最少的花费推倒所有的骨牌。 题解: 首先用单调栈维护每个位置往左(右)推能推倒的最远的骨牌 dp[i]表示1-i倒下的最小花费 转移显然只有两种 一种是第i张往左推动 另一种是找到往右推动能推倒i的最小花 ...
分类:
其他好文 时间:
2020-01-26 16:02:35
阅读次数:
75
具体错误日志如下:The resulting error log is as followsTraceback (most recent call last): File "train.py", line 441, in train() # train normally File "train.py... ...
分类:
其他好文 时间:
2020-01-25 10:19:41
阅读次数:
313