原创 python flask study

################### 1 MVC mode ###############MVC 流程: 用Hello.py函數最流程的控制-就是MVC中的contoller內容 Hello.py函數指定了一個路由函數app.route(

原创 linux 防止***和 dedecms系統安全設置建議

last -f /var/log/wtmp /var/run/utmplast -f /var/log/secure 在/etc/profile裏面加入以下代碼就可以實現: PS1="whoami@hostname:"'[$PWD]'hi

原创 python re 正則表達式彙總

import re # text = "1a+_1hello\n" # text1 = '0731-8888888 abc' # ret = re.match('he',text) # ret = re.match('.',text)

原创 python snmp switch port state

# -*- coding:utf-8 -*- import re import os import time import platform import sys import importlib,sys importlib.reloa

原创 Python monitor SSH Telnet SNMP command Material

First, refer https://blog.csdn.net/yannanxiu/article/details/55045108Scenario:Windows -------- Monitor -------- > Linux

原创 python os path join urlretrieve 文件操作

分析下面的操作: import os from urllib3 import request class file_retrieve(): def __init__(self): self.path = os.pa

原创 python scrapy No module named 'cryptography.hazmat

在windows下面: No module named 'cryptography.hazmat.bindings._constant_time' pip install scrapy 發現了No module named 'crypto

原创 Python pyecharts 導入後 Bar 不能導入

在Pycharm中 導入了 Pyecharts 包後,出現了 Bar不能成功導入的問題。 第一個要檢查的是,在本項目或是其他的文件夾中是否 存在有pyecharts命名的py文件。 pip install pyecharts後會安裝到最新

原创 CentOS7 安裝與配置 MySQL 8.0

https://blog.csdn.net/kuaizisong/article/details/82798002 wget https://repo.mysql.com//mysql80-community-release-el7-1.n

原创 sshd can't start Liunx troubleshooting

reference to: https://www.liangliang.org.cn/?p=2548 systemctl restart sshd.service systemctl status sshd.service very

原创 cisco ASA PNAT sample

PNAT in ASA after os version 8.6:object network obj-Telnet-Inside-172.30.129.254host 172.30.129.254nat (inside,outside)

原创 windows install Telnet client command

How windows install Telnet client via command line: dism /online /Enable-Feature /FeatureName:TelnetClient 參考:https://ww

原创 windows install Telnet client command

How windows install Telnet client via command line: dism /online /Enable-Feature /FeatureName:TelnetClient 參考:https://ww

原创 enable centos 7 RDP and Teamview install Chorme

Others:https://blog.csdn.net/Kasumi_yuki/article/details/90721037 install Chrome: https://www.cnblogs.com/vae860514/p/82

原创 msi 管理員運行administrator run

https://blog.csdn.net/yuekunge/article/details/14121711這個時候 就這樣: 1、已管理員身份 命令提示符``` 2、在cmd裏面 找到你的安裝包路徑 3、輸入 msiexec /i 程序