Given an array of integers, find a contiguous subarray which has the largest sum. Notice The subarray should contain at least one number. Example Give ...
分类:
其他好文 时间:
2016-08-20 01:30:52
阅读次数:
115
在每个文件头上加 或者 搜索php.ini: error_reporting = E_ALL 改为: error_reporting = E_ALL & ~E_NOTICE ...
分类:
Web程序 时间:
2016-08-19 22:15:48
阅读次数:
162
Print numbers from 1 to the largest number with N digits by recursion. Notice It's pretty easy to do recursion like: recursion(i) { if i > largest num ...
分类:
其他好文 时间:
2016-08-18 06:29:46
阅读次数:
134
Nginx配置文件总览Nginx的配置文件结构#设置用户
user root;#工作衍生的进程数 (一般=CPU核心数或核心数*2)
worker_processes 2;#设置错误文件的存放路径
error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;#设置p...
分类:
其他好文 时间:
2016-08-16 14:48:03
阅读次数:
186
;E_ALL所有错误和警告(除E_STRICT外);E_ERROR致命的错误。脚本的执行被暂停。;E_RECOVERABLE_ERROR大多数的致命错误。;E_WARNING非致命的运行时错误,只是警告,脚本的执行不会停止。;E_PARSE编译时解析错误,解析错误应该只由分析器生成。;E_NOTICE脚本运行时产生的提醒(往..
分类:
Web程序 时间:
2016-08-15 14:51:30
阅读次数:
226
When you are using React components you need to be able to access specific references to individual components. This is done by defining a ref. Notice ...
分类:
数据库 时间:
2016-08-15 06:39:53
阅读次数:
178
#定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数。 worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_log ar ...
分类:
其他好文 时间:
2016-08-05 06:33:33
阅读次数:
169
1.表单传输页面<?php
session_start();
error_reporting(E_ALL&~E_NOTICE);
?>
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<..
分类:
移动开发 时间:
2016-08-04 19:42:20
阅读次数:
311
vimrsys.shcat>>/etc/profile<<EOF
HISTFILESIZE=2000
HISTSIZE=2000
HISTTIMEFORMAT="%Y%m%d-%H%M%S:"
exportHISTTIMEFORMAT
exportPROMPT_COMMAND=‘{command=\$(history1|{readxy;echo\$y;});logger-plocal1.notice-tbash-i"user=\$USER,ppid=\$PPID,from=\$SSH_..
分类:
系统相关 时间:
2016-08-03 15:45:28
阅读次数:
1369
Given two sorted integer arrays A and B, merge B into A as one sorted array. Notice You may assume that A has enough space (size that is greater or eq ...
分类:
其他好文 时间:
2016-08-03 11:56:22
阅读次数:
150