会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Rohero
博客园
首页
博问
闪存
新随笔
订阅
管理
随笔 - 32, 文章 - 1, 评论 - 1, 阅读 -
49335
2019年4月4日
elasticsearch索引查询,日志搜素
摘要: 索引查询 http://10.199.137.115:9200/_cat/indices?format=json 返回json字符串的索引状态 增加索引名称过滤 http://10.199.137.115:9200/_cat/indices/sbf*?format=json 增加健康状态过滤 htt
阅读全文
posted @ 2019-04-04 14:26 Rohero
阅读(1119)
评论(0)
推荐(0)
编辑
2019年4月3日
django-sso单点登陆的实现
摘要: 环境准备 环境规格: python3.5 django2.0 django-simple-sso-0.14 环境安装: pip install django-simple-sso-0.14 环境说明: opstest01为django应用,作为服务端使用,端口8001 testsso为django应
阅读全文
posted @ 2019-04-03 21:02 Rohero
阅读(1663)
评论(0)
推荐(0)
编辑
2019年3月29日
django rest_framework swagger使用案例
摘要: 环境准备 环境要求: python3 django2 pip3 模块安装: pip3 install django-rest-framework pip3 install django-rest-swagger 搭建项目: 搭建django项目,创建testapi app 参数配置 setting.
阅读全文
posted @ 2019-03-29 16:41 Rohero
阅读(2478)
评论(0)
推荐(0)
编辑
2018年5月9日
centreon问题总结
摘要: 1.SNMP TABLE ERROR : Requested table is empty or does not exist 这是SNMP的服务端查询客服端失败,失败的原理是权限不足 解决办法: vi /etc/snmp/snmpd.conf 添加下面一行到相似的位置处 view systemvi
阅读全文
posted @ 2018-05-09 20:26 Rohero
阅读(327)
评论(0)
推荐(0)
编辑
2017年12月21日
python selenium实现百度搜索
摘要: 1.环境 python2.7+selenium+phantomjs+linux 2.代码
阅读全文
posted @ 2017-12-21 15:55 Rohero
阅读(551)
评论(1)
推荐(0)
编辑
2017年9月26日
EasyUI+Python-flask实现CRUD应用
摘要: 1.需求分析 需求:应用easyui制作前端表格数据显示,flask制作后端路由 环境搭建略 2.easyui前端实现 2.1 easyui是前端实用的一个框架,这里我们要实现的是easyui的CRUD数据网格,参考资料:http://www.runoob.com/jeasyui/jeasyui-a
阅读全文
posted @ 2017-09-26 15:30 Rohero
阅读(1816)
评论(0)
推荐(0)
编辑
2017年8月22日
python模拟登陆discuz论坛
摘要: #! /usr/bin/env python # -*- coding: utf-8 -*- import urllib2, urllib, cookielib, re, time class Robot(object): def __init__(self, forumUrl, userName, password, proxy = None): ''' 初始化论坛u...
阅读全文
posted @ 2017-08-22 15:14 Rohero
阅读(918)
评论(0)
推荐(0)
编辑
2017年8月1日
httpd2.4.27rpm包制作
摘要: http2.4.27 rpm包制作1.安装rpm-buildyum -y install rpm-build2.使用普通用户创建spec规则文件su - lxhvim httpd.spec Name: httpdVersion: 2.4.27 Release: 1%{?dist}Summary: c
阅读全文
posted @ 2017-08-01 15:58 Rohero
阅读(393)
评论(0)
推荐(0)
编辑
2017年4月12日
python输出shell命令执行结果
摘要: 将df -h的执行结果输出到stdout,再用readlines方法读出来,再print出来 这个方法可以将某个命令的结果输出到python
阅读全文
posted @ 2017-04-12 18:21 Rohero
阅读(13841)
评论(0)
推荐(0)
编辑
2016年12月8日
python实验二:字符串排序
摘要: ##统计word中的各个字符的出现的次数,并统计出所有前十名的字符使用次数 # -*- coding:utf-8 -*- word='''awfesdafhjkcasadckjsdackjsadvcnksausafdsch fsadfdsaasdfsdacsafsdaas csaasfdasdfsda sfadfsdafsadfjtyurjryjghnkuitki''' list1 = lis...
阅读全文
posted @ 2016-12-08 17:23 Rohero
阅读(9162)
评论(0)
推荐(0)
编辑
下一页
昵称:
Rohero
园龄:
9年2个月
粉丝:
0
关注:
2
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
Python
(9)
linux
(2)
wifi破解
(1)
weblogic
(1)
swagger
(1)
ssl、ssh
(1)
snmp
(1)
selenium
(1)
select
(1)
samba
(1)
更多
随笔档案
2019年4月(2)
2019年3月(1)
2018年5月(1)
2017年12月(1)
2017年9月(1)
2017年8月(2)
2017年4月(1)
2016年12月(3)
2016年9月(1)
2016年7月(2)
2016年5月(1)
2016年4月(1)
2016年3月(4)
2016年2月(2)
2016年1月(8)
2015年12月(1)
更多
阅读排行榜
1. python输出shell命令执行结果(13841)
2. python实验二:字符串排序(9162)
3. centos文件误删除恢复(3424)
4. linux开机启动(3003)
5. python自省函数getattr的用法(2766)
评论排行榜
1. python selenium实现百度搜索(1)
最新评论
1. Re:python selenium实现百度搜索
用 driver.find_element_by_xpath("//input[@id='su']").click() 也可实现提交
--Rohero
点击右上角即可分享