1、 修改是APACHE设置,在PHP.INI中找到一个参数: 将后面的值调大,然后重新启动APACHE服务(centos: service httpd restart),就OK了。 2、 在php网页中加入下面的代码: ...
分类:
Web程序 时间:
2016-06-08 01:33:19
阅读次数:
219
题目描述: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique ...
分类:
其他好文 时间:
2016-06-07 22:14:50
阅读次数:
193
目前比较常用的方法有: 首先要让页面大小铺满屏幕又不能溢出。只需要在html<head>标签内加入viewport(如下),参数分别表示:页面宽度= 屏幕宽度,最大和最小伸缩比都是1,不允许用户拉缩。 <meta name="viewport" content="maximum-scale=1.0, ...
分类:
移动开发 时间:
2016-06-06 23:50:00
阅读次数:
240
2D feature extracted, satisfy: 1. scale invarient; 2. rotation invarient. Naive Thinking: Minimal point or Maximum Point, Local; Now you are given a g ...
分类:
其他好文 时间:
2016-06-06 22:08:48
阅读次数:
202
这篇文章讲无权二分图(unweighted bipartite graph)的最大匹配(maximum matching)和完美匹配(perfect matching),以及用于求解匹配的匈牙利算法(Hungarian Algorithm);不讲带权二分图的最佳匹配。 二分图:简单来说,如果图中点可 ...
分类:
编程语言 时间:
2016-06-06 12:01:23
阅读次数:
277
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes ...
分类:
编程语言 时间:
2016-06-06 10:24:57
阅读次数:
298
Description A tournament can be represented by a complete graph in which each vertex denotes a player and a directed edge is from vertex x to vertex y ...
分类:
其他好文 时间:
2016-06-05 11:00:42
阅读次数:
192
.net程序在上传一个8M多的文件的时候报错 错误原因: 由于web.config中设置的asp.net最大支持的请求小于您所上传的文件大小,默认支持4M的。 修改方法: web.Config中<httpRuntime requestLengthDiskThreshold = "10240 "max ...
分类:
Web程序 时间:
2016-06-03 18:54:55
阅读次数:
184
使用jqueryajax异步提交图片<html>
<head>
<metacharset="utf-8">
<metahttp-equiv="X-UA-Compatible"content="IE=edge,chrome=1">
<metaname="viewport"content="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum..
分类:
其他好文 时间:
2016-06-02 20:15:26
阅读次数:
187