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
Valid Anagram (E) 题目 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" ...
分类:
其他好文 时间:
2021-02-15 12:41:17
阅读次数:
0
0x00 实验环境 攻击机:Win 10 靶机也可作为攻击机:Ubuntu18 (docker搭建的vulhub靶场) 0x01 影响版本 Apache ActiveMQ 5.13.0之前的5.x版本 0x02 漏洞复现 (1)实验环境:docker运行的vulhub漏洞环境首先,可直接访问到页面的 ...
分类:
其他好文 时间:
2021-02-15 11:48:02
阅读次数:
0
linux下配置邮件发送器postfix 开始之前必须先配置 dns域名解析 详见另一篇博客 安装postfix服务器并进行配置 可能postfix在系统安装过程中已经安装了此服务,可以使用下面的命令查询 rpm -q postfix 如果没有可以手动安装: yum install -y postf ...
分类:
系统相关 时间:
2021-02-10 13:17:31
阅读次数:
0
打开CMD的方式 开始+系统+命令提示符 Win+R +CMD打开控制台 任意文件夹 按住shift+右键,打开powershell窗口 文件地址栏前面加上cmd路径 常用的DOS命令 #盘符切换 #查看当前目录下的所有文件 dir #切换目录 cd /d (change directory) cd ...
分类:
其他好文 时间:
2021-02-10 13:06:21
阅读次数:
0
前言 用过pytest的小伙伴都知道,pytest的运行方式是非常丰富的,可以说是你想怎么运行怎么运行,想运行哪些运行哪些,那httprunner是否同样可以呢? 运行用例的各种方式 运行指定路径的用例 格式:hrun + case路径 (httprunner_env) ? hrun hrun hr ...
分类:
Web程序 时间:
2021-02-10 13:06:06
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0
ReentrantLock,英文意思是可重入锁。从实际代码实现来说,ReentrantLock也是互斥锁(Node.EXCLUSIVE)。与互斥锁对应的的,还有共享锁Node.SHARED ReentrantLock 集成了Lock接口,Lock接口主要功能有上锁lock()、尝试上锁tryLock ...
分类:
其他好文 时间:
2021-02-09 12:01:31
阅读次数:
0
Problem Description For decades, scientists have wondered whether each of the numbers from 0 to 100 could be represented as the sum of three cubes, wh ...
分类:
其他好文 时间:
2021-02-08 12:44:17
阅读次数:
0
用过linux系统的朋友,基本肯定会用过ssh。因为大部分的linux登录都是通过ssh将进行登录,除非你用的是类似windows的桌面版。 一、什么是SSH SSH 为 Secure Shell 的缩写,由 IETF 的网络小组(Network Working Group)所制定;SSH 为建立在 ...
分类:
其他好文 时间:
2021-02-08 12:22:12
阅读次数:
0