码迷,mamicode.com
首页 >  
搜索关键字:config-def    ( 12个结果
node 请求接口,返回大小限制
请求Node端中转接口时,遇到以下异常: Request_fileSize_limit Request_fields_limit Request_fieldSize_limit 遇到以上异常时,调试信息里会报错:Payload Too Large、异常code413。 解决: 在config.def ...
分类:其他好文   时间:2020-06-29 13:24:01    阅读次数:77
centos 较新版本kernel安装方法
有时因为系统内核的bug 我们必须要安装新版本的kernel 来解决问题,有几种方法 源码编译 使用编译好的包 使用包的方式比较方便,同时一些依赖的问题可以自动帮助我们处理 添加yum 源 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo. ...
分类:其他好文   时间:2019-05-27 13:33:13    阅读次数:129
LAMP 一键部署
LAMP 一键部署 部署http !/bin/bash global variables export lamp_repo=http://192.168.1.5/lamp/ export lampdir=/lampdata export httpdir=$lampdir/httpd/ export ...
分类:其他好文   时间:2019-04-13 01:11:30    阅读次数:131
不同类中self的传递
1 # 不同类中self的传递 2 3 class Foo(object): 4 def __init__(self, config): # config是Cat中的self 5 self.config = config 6 7 def eat(self): 8 print(self.config.... ...
分类:其他好文   时间:2018-10-01 11:56:24    阅读次数:139
Flask - 使用MySQL数据池
helper.py 1 import pymysql 2 3 from settings import Config 4 5 def connect(): 6 conn = Config.POOL.connection() 7 cursor = conn.cursor(cursor=pymysql. ...
分类:数据库   时间:2018-06-23 18:50:37    阅读次数:214
基于 Pymsql 数据库连接池
helper.py import pymysql from settings import Config def connect(): conn = Config.POOL.connection() cursor = conn.cursor(cursor=pymysql.cursors.DictCu ...
分类:数据库   时间:2018-06-19 21:34:32    阅读次数:244
Python-Django Nginx+uwsgi 安装配置
Django Nginx+uwsgi 安装配置在前面的章节中我们使用 python manage.py runserver 来运行服务器。这只适用测试环境中使用。正式发布的服务,我们需要一个可以稳定而持续的服务器,比如apache, Nginx, lighttpd等,本文将以 Nginx 为例。 安 ...
分类:编程语言   时间:2018-05-31 02:37:30    阅读次数:211
Eclipse 报 "The builder launch configuration could not be found" 错误
Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法 Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法 标签: ec ...
分类:系统相关   时间:2018-01-29 15:41:10    阅读次数:264
js 通过浏览器直接打开应用程序(IOS,Android) 标签: androidios
实现效果 如下图所示,在手机浏览器中访问京东的手机版网站(m.jd.com),顶部会有一个广告图,点击这个广告图,如果手机上已经安装了京东App,则直接打开,如果没有安装,则开始下载。 实现方式 1.为Android应用的启动Activity设置一个Schema,如下: 2.用户点击浏览器中的链接时 ...
分类:移动开发   时间:2017-09-21 13:39:22    阅读次数:233
python第二十四天-----作业终于完成啦
1 #!usr/bin/env python 2 #-*-coding:utf-8-*- 3 # Author calmyan 4 #日志记录相关函数 5 import os,logging,time 6 from conf import config 7 8 def log_file_():#检测 ...
分类:编程语言   时间:2017-05-27 00:42:45    阅读次数:263
12条   1 2 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!