摘要: 1. 使用自带终端或iterm2,iterm2界面和用户体验更好一点 2. 服务端:/etc/profile文件中配置TMOUT=0, export TMOUT=0 设置变量 source /etc/profile生效,重新登录用户 3. 客户端:~/.ssh/config文件中配置 Host Se 阅读全文
posted @ 2018-02-08 22:20 geek程序员 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 安装python3 ============= 安装仓库软件 sudo apt get install software properties common python software properties 添加仓库 sudo add apt repository ppa:jonathonf/p 阅读全文
posted @ 2018-02-08 20:24 geek程序员 阅读(926) 评论(0) 推荐(0) 编辑
摘要: ``` import requests import os import time url = 'http://www.ydyigo.com/findPwd.php' def get_server_status(url): try: res = requests.head(url,timeout=30) return res.status_code ... 阅读全文
posted @ 2018-02-08 19:10 geek程序员 阅读(322) 评论(0) 推荐(0) 编辑