GenieACS General Config config.json acts as the main configuration file and is stored in /path_to_genieacs/config/. In this folder there's also a back ...
分类:
其他好文 时间:
2019-02-28 15:14:54
阅读次数:
190
1、问题描述编译安装php7时指定了--with-config-file-path=/usr/local/php7/etc,修改了php.ini的配置后重启,但就是不生效。2、问题排查创建phpinfo()vim/usr/local/nginx/html/info.php<?phpphpinfo();?>访问info.php,发现LoadedConfigurationFile为空。编译
分类:
Web程序 时间:
2019-02-26 17:34:05
阅读次数:
201
import xlrdimport timeimport unittestfrom selenium import webdriverclass u8819(unittest.TestCase): global loginurl global driverpath loginurl = 'http: ...
分类:
编程语言 时间:
2019-02-21 15:52:53
阅读次数:
130
import sys import getopt import os import multiprocessing def list_all_file(path): """ list all files of a directory :param path: :return: """ file_li... ...
分类:
编程语言 时间:
2019-02-20 21:35:35
阅读次数:
290
利用scrapy框架实现matplotlib实例脚本批量下载至本地并进行文件夹分类;话不多说上代码: 首先是爬虫代码: 分析代码: parse函数主要为了获取初始url中的所有实例所在页面的url,通过yield输出scrapy.Request中的callback来调用parse_mat函数,下面继 ...
分类:
其他好文 时间:
2019-02-11 12:52:33
阅读次数:
158
1.设置MinGW环境变量 2.设置C++.sublime-build编译文件 { "path": "E:\\MinGW\\bin", "shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"", "file_regex" ...
分类:
编程语言 时间:
2019-02-09 11:58:01
阅读次数:
181
POI跨行导出excell表格实现 需求:需要导出父子级关系的元素,父级需要跨行显示,子级需要单独显示。 由于数据库中的数据存的是子级存父级的ID形式,所以需要将数据包装,自己将装在父级下的list中,本案例将会包装成五级子级形式。 第一步:首先写sql ,sql中要计算出父级需要跨的行数。(思路: ...
分类:
其他好文 时间:
2019-01-24 00:18:06
阅读次数:
137
#编辑配置文件[root@db01~]#vim/etc/my.cnf[mysqld]innodb_data_file_path=ibdata1:76M;ibdata2:50M:autoextend然后重启[root@db01data]#du-shibdata176Mibdata1检查是否出现了两个文件2、独立表空间对于用户自主创建的表,会采用此种模式,每个表由一个独立的表空间进行管理1)查看独立表
分类:
数据库 时间:
2019-01-21 11:06:04
阅读次数:
151
'''handle all the database interactions'''import json, time, osfrom conf import settingsdef file_db_handle(conn_params): ''' parse the db file path :p ...
分类:
其他好文 时间:
2019-01-12 12:10:46
阅读次数:
218
# Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argumen ...
分类:
其他好文 时间:
2019-01-06 21:59:01
阅读次数:
361