Nginx 讲义
一、Nginx是什么? Nginx (engine x) 是一款是由俄罗斯的程序设计师Igor Sysoev所开发高性能的Web和反向代理服务器。第一个公开版本 0.1.0 发布于 2004 年 10 月 4 日。Nginx 是一个很强大的高性能 Web 和反向代理服务器,它具有很多非常优越的特性:在连接高并发的情况下,Nginx 是 Apache 服务不错的替代品。 1、 ...
一、Nginx是什么? Nginx (engine x) 是一款是由俄罗斯的程序设计师Igor Sysoev所开发高性能的Web和反向代理服务器。第一个公开版本 0.1.0 发布于 2004 年 10 月 4 日。Nginx 是一个很强大的高性能 Web 和反向代理服务器,它具有很多非常优越的特性:在连接高并发的情况下,Nginx 是 Apache 服务不错的替代品。 1、 ...
其他参考资料: Wikipedia https://en.wikipedia.org/wiki/Regular_expression zytrax https://www.zytrax.com/tech/web/regex.htm 1 [] 原子表 [a] 匹配小写字母a [x] 匹配小写字母x [ab] 匹配小写字母a或b [abc] 匹配小写字母a或者b或者c ...
一、ITB大文件操作的思考(理解) 文件大小单位:B,KB,MB,GB,TB,PB,EB,ZB,YB… 1B=1Byte=8bit 1KB=1024B 1MB=1024KB 1GB=1024MB 1TB=1024GB 1PB=1024TB 1EB=1024PB 1ZB=1024EB 分治思想引入案例 单机处理大数据的...
DRY (Don’t repeat yourself) - avoids duplication in code Encapsulate what changes - hides implementation detail, helps in maintenance Open Closed design principle - open for extension, closed f...
饿汉式 public final class Singleton { private byte[] data = new byte[1024]; private static Singleton instance = new Singleton(); private Singleton() {} public static Singleton...
https://leetcode.cn/problems/remove-duplicates-from-sorted-array/
Leetcode https://leetcode.cn/problems/maximal-square/
Leetcode https://leetcode.cn/problems/maximum-subarray class Solution { public int maxSubArray(int[] nums) { if (nums == null || nums.length < 1) { return 0; } ...
Leetcode https://leetcode.cn/problems/jump-game-ii/
Leetcode https://leetcode.cn/problems/edit-distance/ class Solution { public int minDistance(String word1, String word2) { if (word1 == null || word2 == null) { return -1;...