yuminstall-yzsh#安装zshsh-c"$(curl-fsSLhttps://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"#安装ohmyzshorsh-c"$(wgethttps://raw.githubusercontent.com/robbyrussell/oh-my-zsh/m
分类:
其他好文 时间:
2020-07-31 19:20:37
阅读次数:
76
开前准备 Schedule使用方法。 基本的Linux操作 Python3环境 Step1 首先我得先假设你会了如何每十五分钟去运行一次检查这件事情。(后期我会补上如何去做定时任务,相信我!) 代码量比较少,选择在Linux环境下直接写脚本。 import os #使用os的popen执行bash命 ...
分类:
编程语言 时间:
2020-07-30 22:06:49
阅读次数:
101
from __future__ import print_function # 导入相关python库 import os import numpy as np import pandas as pd #设定随机数种子 np.random.seed(36) #使用matplotlib库画图 impo ...
分类:
其他好文 时间:
2020-07-30 16:43:46
阅读次数:
75
2.1 进入 nginx 官网,下载 http://nginx.org/ nginx-1.19.1.tar.gz 2.2 安装 nginx 1)、使用 wget 安装 pcre https://ftp.pcre.org/pub/pcre/pcre2-10.35.tar.gz https://ftp. ...
分类:
其他好文 时间:
2020-07-30 14:25:31
阅读次数:
66
这篇文章附带了由XhorseVVDI2钥匙编程器为2018VWGOLF添加新钥匙的指南。 准备阶段:设备:XhorseVVDI2commander钥匙编程器汽车:2018VWGOLFMQB两把车钥匙:一个原始工作钥匙+一个新钥匙 将原始钥匙插入点火开关运行VVDI2VW软件点击“Diag”阅读车辆信息 1.读取EEPROM/FLASH:注意:必须将EEPROM读取一次
分类:
其他好文 时间:
2020-07-30 14:08:32
阅读次数:
97
一需求分析:excel做公司内部资产记录如下:--但这样不方便 资产编号, ip, 主机名, 使用者, os, mem, cpu, 上架时间, 过保时间 所以开发web版,可以主机进行增,删,改,查 1.添加:方法如下 (1)人手工录入: ssh ip hostname cat /proc/cpui ...
分类:
其他好文 时间:
2020-07-30 01:47:37
阅读次数:
123
1、编写脚本systeminfo.sh,显示当前主机系统信息,包括:主机名,IPv4地址,操作系统版本,内核版本,CPU型号,内存大小,硬盘大小#!/bin/bashecho-e"\e[31mHostname:`hostname`\e[0m"echo-e"\e[32mIP:`hostname-I`\e[0m"echo-e"\e[33mOSVersion:`cat/etc/os-release|gr
分类:
系统相关 时间:
2020-07-30 01:14:27
阅读次数:
194
import HTMLTestRunnerimport unittestimport os# 1. 完成使用discover()方法构造套件的方法 if __name__ == '__main__': current_path = os.path.dirname(__file__) testcase ...
分类:
其他好文 时间:
2020-07-29 21:58:58
阅读次数:
107
import requests; import re; import os; import parsel; 1.请求网页 header = { "user-agent":'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537. ...
分类:
编程语言 时间:
2020-07-29 21:38:42
阅读次数:
68
import concurrent import requests; from concurrent.futures import ThreadPoolExecutor import os; import parsel; def send_request(url): header = { "user ...
分类:
编程语言 时间:
2020-07-29 21:35:20
阅读次数:
91