1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd ...
分类:
编程语言 时间:
2021-02-16 12:27:26
阅读次数:
0
The connection to the server 192.168.1.11:6443 was refused - did you specify the right host or port? 怀疑是不是kubelet挂了,检查 [root@master1 prometheus]# syst ...
分类:
移动开发 时间:
2021-02-16 12:26:05
阅读次数:
0
Schedule timed jobs on macOS with launchd launchd is a robust scheduled job automation tool on macOS that allows you to schedule a task to be run at r ...
分类:
系统相关 时间:
2021-02-16 12:18:49
阅读次数:
0
回溯算法 这部分主要是学习了 labuladong 公众号中对于回溯算法的讲解 刷了些 leetcode 题,在此做一些记录,不然没几天就忘光光了 总结 概述 回溯是 DFS 中的一种技巧。回溯法采用 试错 的思想,尝试分步的去解决一个问题,在分步解决问题的过程中,当它通过尝试发现现有的分步答案不能 ...
分类:
编程语言 时间:
2021-02-16 12:14:33
阅读次数:
0
Problem Description Due to the increase in the number of students of Berland State University it was decided to equip a new computer room. You were gi ...
分类:
其他好文 时间:
2021-02-16 12:07:01
阅读次数:
0
原题链接 考察:容斥原理+完全背包+计数dp 本蒟蒻是打死都想不到怎么用容斥原理... 错误思路: 乍看一下是多重背包,时间复杂度80*105*103(采用二进制优化)显然T了 正确思路: 采取完全背包预处理的方法,时间复杂度105 ,求出不限数量的取法.答案就是所有取法-不合法的取法.这里就可以想 ...
分类:
其他好文 时间:
2021-02-16 12:06:08
阅读次数:
0
Getopts Let’s say you want to allow a user to pass a -v flag to turn on verbose logging in a script. Manually parsing out options passed to a script i ...
分类:
其他好文 时间:
2021-02-16 12:03:18
阅读次数:
0
jq Bash, unfortunately, doesn’t ship with a command that can work with JSON natively. In this lesson, we’ll learn how to read and do basic queries on ...
分类:
Web程序 时间:
2021-02-15 12:41:34
阅读次数:
0
问题描述 # python3.7 /tmp/demo.py Traceback (most recent call last): File "/tmp/demo.py", line 4, in <module> driver = webdriver.Chrome('/srv/sharing/pack ...
分类:
其他好文 时间:
2021-02-15 12:38:15
阅读次数:
0
\(\text{原题链接}\) \(\text{题目大意}\) 初始有一个长度为 \(n\) 的序列 \(a\),初始全 \(0\)。 共 \(m\) 次修改,每次修改 \((l,r,v)\),让 \(a_i = \max(a_i, v), (l\leq i\leq r)\)。求出所有操作后的 \( ...
分类:
其他好文 时间:
2021-02-15 12:15:44
阅读次数:
0