vi /etc/httpd/conf.d/welcom.conf <LocationMatch "^/+$"> #Options -Indexes vi /etc/httpd/conf/httpd.conf <Directory "/var/www/html"> Options Indexes Fo ...
分类:
Web程序 时间:
2017-10-10 11:34:57
阅读次数:
307
你选择的产品是? 微信 为什么选择该产品作为分析? 作为一个广泛使用的手机通讯软件之一,它肯定有他吸引人们使用的独特之处。 该产品是怎么诞生的(在什么样的背景下)? 微信由深圳腾讯控股有限公司 于2010年10月筹划启动,由腾讯广州研发中心产品团队打造 。该团队经理张小龙所带领的团队曾成功开发过Fo ...
分类:
微信 时间:
2017-10-08 14:10:16
阅读次数:
219
Problem Description Master Mind KongMing gave Fei Zhang a secrete master plan stashed in a pocket. The plan instructs how to deploy soldiers on the fo ...
分类:
其他好文 时间:
2017-10-08 12:12:06
阅读次数:
149
I had been learning Latex for a little while during my studying at Edinburgh, which was maninly for fun. This time I would like to pick it up again fo ...
分类:
其他好文 时间:
2017-10-06 23:08:03
阅读次数:
242
一、简介 HSV颜色空间(hue色调,saturation饱和度,value亮度) 二、HSV滑动条 三、颜色识别跟踪 putText函数定义为 void putText(Mat& img, const string& text, Point org, int fontFace, double fo ...
分类:
其他好文 时间:
2017-10-05 20:53:59
阅读次数:
267
正则表达式 1.替换 2.拆分 //$s = "hello5world";//$attr = preg_split("/\d/",$s); //按照正则表达式拆分 //var_dump($arr); //第一个参数是按照什么拆分,第二个参数是拆分哪个字符串。 3.匹配 数组 1.遍历数组 (1)fo ...
分类:
编程语言 时间:
2017-10-03 23:31:32
阅读次数:
303
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:
其他好文 时间:
2017-10-02 23:47:01
阅读次数:
250
from flask import Flask from flask import request from flask import render_template from flask_wtf import CSRFProtect as WTF # 利用表单类去渲染模板时需要用到 from fo ...
分类:
其他好文 时间:
2017-09-30 10:03:08
阅读次数:
227
import jiebafo=open('text.txt','r',encoding='utf-8')t=fo.read()fo.close() words=jieba.cut(t)dic={}for w in words: if len(w)==1: continue else: dic[w]= ...
分类:
其他好文 时间:
2017-09-29 16:44:11
阅读次数:
112
import jieba #打开文件,转换成UTF-8编码 fo=open(r'C:\Users\Shaheen\AppData\Local\Programs\Python\Python36\西游记.txt','r',encoding='utf-8') a=fo.read() fo.close() ... ...
分类:
其他好文 时间:
2017-09-29 13:25:04
阅读次数:
225