1. 简介 Nginx("engine x")是一款是由俄罗斯的程序设计师Igor Sysoev所开发高性能的 Web和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器。在高连接并发的情况下,Nginx是Apache服务器不错的替代品。 Nginx是C语言开发,一般建议在Lin ...
分类:
其他好文 时间:
2016-12-03 07:41:37
阅读次数:
222
Given a binary tree, find the maximum path sum. (Hard) For this problem, a path is defined as any sequence of nodes from some starting node to any nod ...
分类:
其他好文 时间:
2016-12-02 00:57:18
阅读次数:
314
F(0) = (0 * 4) + (1 * 3) + (2 * 2) + (3 * 6) = 0 + 3 + 4 + 18 = 25 [4, 3, 2, 6] F(1) = (0 * 6) + (1 * 4) + (2 * 3) + (3 * 2) = 0 + 4 + 6 + 6 = 16 [6, ...
分类:
其他好文 时间:
2016-12-01 09:28:56
阅读次数:
194
1. 禁止缩放:<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> 2. 不识别为电话号码、邮箱、地址:<meta name="forma ...
分类:
移动开发 时间:
2016-11-28 20:34:04
阅读次数:
414
The best strategy to play the game is to minimize the maximum loss you could possibly face. Definition of dp[i][j]: minimum number of money to guarant ...
分类:
其他好文 时间:
2016-11-28 09:34:33
阅读次数:
195
最近项目中,遇到一个报错: java.lang.OutOfMemoryError: unable to create new native thread 报错的场景是:一个消息的群发,群里总共有50多个人,一群发 tomcat 就崩溃了,查看日志报上面的错误。 这个错误的基本情况是,没有内存来创建新 ...
分类:
Web程序 时间:
2016-11-28 00:54:49
阅读次数:
268
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.寻找最长回文子串Example:Input: "babad" Outp... ...
分类:
其他好文 时间:
2016-11-27 19:17:51
阅读次数:
259
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro ...
分类:
其他好文 时间:
2016-11-27 13:47:39
阅读次数:
140
<!DOCTYPE html><html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta charset ...
分类:
其他好文 时间:
2016-11-27 00:08:15
阅读次数:
202
http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/ Bash Shortcuts For Maximum Productivity September 15, 2009 By Alan Skorkin 71 C ...
分类:
其他好文 时间:
2016-11-26 17:11:04
阅读次数:
205