2021年5月4日

python通过递归将多维字典转化为二维

摘要: 输入多维字典 person = {"male":{"name":"Shawn"}, "female":{"name":"Betty","age":[{"aaaa":123},{"bbbb":234}]},"children":{"name":{"first_name":"李", "last_name 阅读全文

posted @ 2021-05-04 21:35 BionExit 阅读(340) 评论(0) 推荐(0) 编辑

2021年2月7日

python venv flask gunicorn 部署与 pycharm 连接

摘要: 创建venv 安装virtualenv pip install virtualenv 配置venv 路径 /home/flask/venv_flask_dev ##开发环境 venv名称为 venv_flask_dev cd /home/flask/ python3 -m venv venv_fla 阅读全文

posted @ 2021-02-07 14:45 BionExit 阅读(358) 评论(0) 推荐(0) 编辑

2020年7月30日

Nagios(centos 6.5)调用NSClient++/NRPE+Powershell脚本(windows server 2008 r2)监控网络情况

摘要: 版本情况 Nagios Server 10.0.8.252 [root@network-minitor libexec]# ./check_nrpe -V NRPE Plugin for Nagios Version: 4.0.3 Client 10.0.8.253 PS C:\Program Fi 阅读全文

posted @ 2020-07-30 21:05 BionExit 阅读(275) 评论(0) 推荐(0) 编辑

2020年7月21日

Nagios 调用华为云短信平台进行报警

摘要: 1.创建 /usr/local/nagios/script/hwc_sms.py """ @author: @contact: @version: """ # -*- coding: utf-8 -*- import time import uuid import hashlib import ba 阅读全文

posted @ 2020-07-21 13:31 BionExit 阅读(209) 评论(0) 推荐(0) 编辑

2020年7月14日

Python 调用定点软件LiveBos 接口

摘要: LiveBos的WSDL模式下有通用的接口 execBizProcess(xs:string sessionId, xs:string bizProcessName, xs:string id, lbParameter[] params, lbParameter[] variables, ) 但是上 阅读全文

posted @ 2020-07-14 18:36 BionExit 阅读(279) 评论(0) 推荐(0) 编辑

Centos 6.5 Python 3.5 PIP TLS/SSL报错

摘要: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 下载python3.5源代码 sudo ./configure --enable-opt 阅读全文

posted @ 2020-07-14 17:54 BionExit 阅读(165) 评论(0) 推荐(0) 编辑

2018年6月20日

Pycharm-Git 连接 Alicode(阿里云Code)要点

摘要: 环境 Windows 10 Pycharm 2018.1 Pro Git 2.17.1.2 64 bit 准备工作 Alicode注册 1. 前往 https://code.aliyun.com/ 注册Git账户 可以直接使用淘宝账号登录,根据官网提示注册登录即可。推荐使用绑定了邮箱的淘宝账号,这样 阅读全文

posted @ 2018-06-20 10:05 BionExit 阅读(1079) 评论(0) 推荐(0) 编辑

2018年6月1日

Python Selenium Chrome Headless 爬取企查查数据

摘要: 本地配置文件 本地企业列表 CompanyList.txt,每行放置一个企业名称或统一信用代码 阅读全文

posted @ 2018-06-01 09:24 BionExit 阅读(2908) 评论(3) 推荐(0) 编辑

2017年11月12日

Mysql 分组聚合实现 over partition by 功能

摘要: 本文转自 https://www.cnblogs.com/zhwbqd/p/4205821.html mysql中没有类似oracle和postgreSQL的 OVER(PARTITION BY)功能. 那么如何在MYSQL中搞定分组聚合的查询呢 先说结论: 利用 group_concat + su 阅读全文

posted @ 2017-11-12 22:34 BionExit 阅读(620) 评论(0) 推荐(0) 编辑

2017年11月1日

SugarCRM CE 部署除错

摘要: 部署环境 Centos 6.5 Xampp php/6.5 Apache/2.4.26 SugarCE V6.5.9 Build 8653 GAP 1 安装完毕后报错 Creating default Sugar data Creating default users... Notice: cryp 阅读全文

posted @ 2017-11-01 13:00 BionExit 阅读(496) 评论(0) 推荐(0) 编辑

导航