Ming Blog

我干了什么 究竟拿了时间换了什么

github project

"开源项目总结"

“Some of the world’s greatest feats were accomplished by people not smart enough to know they were impossible. “

JavaSE 面试基础知识总结

"Java core knowledge"

“There are no secrets to success. It is the result of preparation, hard work and learning from failure.” 1. 编译型语言与解释性语言的概念和区别 首先,我们实际上大部分编程都是用高级语言,计算机不能直接理解高级语言,只能够理解和运行机器语言,所以必须要把高级语言翻译成机器语言...

computer-network

"network knowledge"

“If you want to live your whole life free from pain, you must become either a god or else a corpse. Consider other men’s troubles and that will comfort yours.” 1. 网络基础知识总结 1.1 OSI参考模型 OSI参考模...

剑指offer

"算法题解"

“Limitations live only in our minds. But if we use our imaginations, our possibilities become limitless.” 1. 二维数组的查找 题目描述 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入...

Nodejs整理

"nodejs Analysis"

A great poem is a fountain forever overflowing with the waters of wisdom and delight. 1.异步式I/O与事件式编程 Node.js最大的特点就是异步式I/O(或者非阻塞式I/O)与事件紧密结合的编程模式。这种模式与传统的同步式I/O线性的编程思路有很大的不同,因为控制流很大程度上要靠事件和...

Linux基础知识概括

"basic command"

Look up at the stars, not down at your feet. 1. 权限分配 当我们使用ls -l 命令显示文件或者目录的详细信息具有如下格式: 1 2 3 4 5 6 7 8 9 root@ubuntu:/home/xtwy# ls -l total 48 drwxr-xr-x 2 xtwy xtwy 4096 2015-08-20 23:31 D...

ThreadLocal Analysis

"Source Code Analysis"

“I figure life is a gift. I don’t intend on wasting it. To make each day count!” ThreadLocal是什么? ThreadLocal(线程局部变量),是一个本地线程副本变量工具类,其作用是将私有线程和该线程存放的副本对象做一个映射,各个线程之间的变量互不干扰,在高并发场景下,可以实现无状态的调用,...

Operation System

"System deadlock"

“Few things are impossible in themselves; and it is often for want of will, rather than of means, that man fails to succeed.” 1. 操作系统之死锁及死锁的处理 操作系统中死锁是指多个进程在运行过程中由于争夺资源而造成的一种僵局。具体而言,是指在多进程...

Java Basic Knowledge 2

"Java core technology"

“I love and am used to keeping a distance with those changed things. Only in this way can I know what will not be abandoned by time.” 2. Java高级特性设计 2.1 Java集合框架 Java集合框架下有很类,给出其集合框架图如下所示。(其中...

Java Basic Knowledge 1

"Java core technology"

“The most difficult stage in life is not when no one understands you, but when you don’t understand yourself.” 1.Java基本程序设计结构 1.1 带标签的break语句 Java提供了一种带标签的break语句,用于跳出多重嵌套的循环语句。下面给出一个示例说明bre...