码迷,mamicode.com
首页 >  
搜索关键字:file_path    ( 738个结果
九爷带你了解 nginx HTTP模块配置常用指令
一、HTTP模块的作用是什么?Nginx的HTTP模块用于控制Nginx的HTTP进程。二、配置指令1.alias含义:指定location使用的路径,与root类似,但不改变文件的跟路径,仅适用文件系统的路径。语法:alias<file-path|directory-path>缺省:N/A作用域:http.server.location示例:..
分类:Web程序   时间:2017-04-15 12:42:46    阅读次数:227
迭代器
为什么要用迭代器,先看看它的优点与缺点 优点: 1: 迭代器提供了一种不依赖于索引的的取值方式,这样就可以遍历没有索引的可迭代对象(如:字典\集合) 2:迭代器与列表比较,迭代器惰性计算的,更节省内存 缺点: 从列表取值是一次一个,迭代器也是一次一个,迭代器不知道某个值的位置,只能next取值。但是... ...
分类:其他好文   时间:2017-04-12 21:44:42    阅读次数:189
python学习第十九天
Django 获取一个项目的多个数据 request.POST.getlist('favor') 上传文件 import os obj =request.FILES.get('') file_path =os.path.join('upload',obj.name) with open(file_p ...
分类:编程语言   时间:2017-04-10 17:08:28    阅读次数:270
Mysql术语 --basedir与--ledir区别
·--basedir=pathMySQL安装目录的路径。·--core-file-size=sizemysqld能够创建的内核文件的大校选项值传递给ulimit-c。·--datadir=path数据目录的路径。·--defaults-extra-file=path除了通用选项文件所读取的选项文件名。如果给出,必须首选该选项。·--defaults-file=path..
分类:数据库   时间:2017-04-10 13:44:33    阅读次数:257
PHP 以编译方式安装,编译参数详解析!
./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--with-mysql=/usr/local/mysql--with-mysqli=/usr/bin/mysql_config--with-iconv-dir=/usr/local--with-freetype-dir--with-jpeg-dir--with-png-dir--with-zlib--with-libxml-dir=/usr--enable-..
分类:Web程序   时间:2017-04-05 11:06:30    阅读次数:175
The Salt Master has rejected this minion's public key!
salt查看日志: salt --log-level=all "10.199.165.244" state.highstate 进入调试模式: salt-minion -l debug [DEBUG ] Reading configuration from /etc/salt/minion [DEB ...
分类:其他好文   时间:2017-03-28 20:42:25    阅读次数:691
Selenium-测试对象操作之:复选框checkbox
复选框操作包括:选中、取消选中、全选 案例: Python+Selenium代码 # -*- coding: utf-8 -*-from selenium import webdriverimport osimport time file_path = os.path.abspath('checkb ...
分类:其他好文   时间:2017-03-25 17:37:38    阅读次数:2004
用于监控日志文件的是否被修改的脚本
最近一段需要监控观察web服务器上的日志文件是否有写入,用来判断是否服务进程是否是正常,为此就简单写了一个脚本:#!/bin/bash #check_logfile_io.sh #UsedtomonitorlogsI/O #writerjim #histor #2017.3.22 log_file_path=/usr/local/apache/log/access.log First_md5sum=$(..
分类:其他好文   时间:2017-03-22 23:43:53    阅读次数:216
docker 容器和宿主机相互拷贝数据
docker从容器中向主机拷贝数据:sudodockercp<containerId>:/file/path/within/container/host/path/target/file/path/within/container:容器里面的目录/host/path/target:主机目录sudodockercp88fc08c48349:/opt/apache-tomcat-8.0.41/logs/opt/logs/------------------..
分类:其他好文   时间:2017-03-22 16:47:09    阅读次数:173
There is no Action mapped for namespace [/] and action name [xx] associated with context path...
好久没用Struts了,今天练了一个简单的应用,出现了一些意外的问题,由于这种原因一直报404 首先我的目录结构是这样子滴 web.xml中是这样配置的 <web-app> <display-name>Archetype Created Web Application</display-name> ...
分类:移动开发   时间:2017-03-20 19:10:33    阅读次数:231
738条   上一页 1 ... 40 41 42 43 44 ... 74 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!