上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 40 下一页
摘要: Functions are values, and we can manipulate function values in interesting ways.Currying allows us to produce a new function by combining a function a... 阅读全文
posted @ 2014-10-03 19:09 wuhn 阅读(244) 评论(0) 推荐(0) 编辑
摘要: package hanoi.com;public class Disc { private String name; private int level; public Disc(){ name = "disc"; level = 0; } ... 阅读全文
posted @ 2014-10-03 12:55 wuhn 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 1.2 基本架设服务器流程1.2.1 网络服务器成功联机的分析 图 1.2-1、网络联机至服务器所需经过的各项环节上图显示的是:首先,客户端到服务器的网络要能够通,等到客户端到达服务器后,会先由服务器的防火墙判断该联机能否放行, 等到放行之后才能使用到服务器软件的功能。而该功能又得要通过 SEL... 阅读全文
posted @ 2014-10-03 03:10 wuhn 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 1.1 前言: Linux 有啥功能1.1.1 只想用 Linux 架设服务器需要啥能力?Linux 最强大的功能是网络功能! 1.1.2 架设服务器难不难呢?基础网络的基本概念,以方便进行联网与设定及除错;熟悉操作系统的简易操作:包括登录分析、账号管理、文书编辑器的使用等等的技巧;信息安全方面:... 阅读全文
posted @ 2014-10-03 02:54 wuhn 阅读(269) 评论(0) 推荐(0) 编辑
摘要: When I first started learning about JavaScript object model my reaction was of horror and disbelief. I was totally puzzled by its prototype nature as ... 阅读全文
posted @ 2014-10-02 02:33 wuhn 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Why, every fault’s condemn’d ere it be done:Mine were the very cipher of a function. . .—William Shakespeare, Measure for MeasureThe best thing about ... 阅读全文
posted @ 2014-10-01 13:16 wuhn 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Upon a homely object Love can wink.—William Shakespeare, The Two Gentlemen of VeronaThe simple types of JavaScript are numbers, strings, booleans (tru... 阅读全文
posted @ 2014-10-01 12:54 wuhn 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 我们在前一章介绍了block的用法,而正确使用block必须要求正确理解block的内存管理问题。这一章,我们只陈述结果而不追寻原因,我们将在下一章深入其原因。一、block放在哪里我们针对不同情况来讨论block的存放位置:1.栈和堆以下情况中的block位于堆中:void foo(){ _... 阅读全文
posted @ 2014-09-30 15:50 wuhn 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 一、概述Block是C级别的语法和运行时特性。Block比较类似C函数,但是Block比之C函数,其灵活性体现在栈内存、堆内存的引用,我们甚至可以将一个Block作为参数传给其他的函数或者Block。二、热身先看一个比较简单的Block例子:int multiplier = 7;int (^myBl... 阅读全文
posted @ 2014-09-30 15:34 wuhn 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 初探nginx架构(100%)众所周知,nginx性能高,而nginx的高性能与其架构是分不开的。那么nginx究竟是怎么样的呢?这一节我们先来初识一下nginx框架吧。nginx在启动后,在unix系统中会以daemon的方式在后台运行,后台进程包含一个master进程和多个worker进程。我们... 阅读全文
posted @ 2014-09-30 10:22 wuhn 阅读(1696) 评论(2) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 40 下一页