目录 | 上一节 (1.1 Python) | 下一节 (1.3 数字) 1.2 第一个程序 本节讨论有关如何创建一个程序、运行解释器和调试的基础知识。 运行 Python Python 程序始终在解释器中运行。 解释器是一个“基于控制台”的应用程序,通常从命令行 shell 启动。 python3 ...
分类:
编程语言 时间:
2021-02-16 12:31:49
阅读次数:
0
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
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
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
1.开启对应Windows功能(适用于linux的Windows子系统) 2.微软商店对应下载 Windows terminal 、 ubantu 3.设置 Windows terminal ubantu:把下面这个加到/root/.bashrc里 #Fix mkdir command has wr ...
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
VUE3官方推荐使用vite来构建项目,但是并不是说之前使用vue-cli创建项目就不行了。 使用vue-cli创建项目,要确保你的vue-cli的版本要大于4.5.6. 一:安装vue-cli 建议使用 npm 安装 Yarn 安装不会默认安装 vue 命令。 1:命令 npm install - ...
分类:
其他好文 时间:
2021-02-09 12:34:51
阅读次数:
0