和JSswitch的语法一样?Switch Statements and the Ternary Operator are alternatives to if-else control structures for making decisions. The basic structure of ...
分类:
其他好文 时间:
2014-10-28 15:31:00
阅读次数:
286
Warning: require(D:\Apache2.2\htdocs\yii2\basic\web/../vendor/autoload.php): failed to open stream: No such file or directory in D:\Apache2.2\htdocs\y...
分类:
其他好文 时间:
2014-10-28 15:08:47
阅读次数:
263
TasksA task is a logical representation of an execution environment. Tasks are usedin order to divide system resources between each running program. E...
分类:
系统相关 时间:
2014-10-28 13:35:52
阅读次数:
211
Variables are a fundamental building block of all programming languages. In this lesson, I'll describe briefly what a variable is, explain the basic r...
分类:
其他好文 时间:
2014-10-28 09:21:40
阅读次数:
253
下面的不是指针指向数组,而是指针指向SliceI'm having a little play with google's Go language, and I've run into something which is fairly basic in C but doesn't seem to ...
分类:
其他好文 时间:
2014-10-28 00:21:40
阅读次数:
176
一、HTTP的Basic认证:
在HTTP协议的通信过程中,HTTP协议定义了基本认证过程以允许HTTP服务器对WEB浏览器进行用户的身份认证的方法,当一个客户端向HTTP服务器进行数据请求时,如果客户端未被认证,则HTTP服务器将通过基本的认证过程对客户端的用户名和密码进行验证,以决定用户是否合法。
客户端在接收到HTTP服务器的身份认证要求后,会提示用户输入用户名和密码,然后将用户...
分类:
编程语言 时间:
2014-10-27 23:09:18
阅读次数:
244
1. 基本命令http://mally.stanford.edu/~sr/computing/basic-unix.htmlhttp://pangea.stanford.edu/computing/unix/shell/commands.phphttp://infohost.nmt.edu/tcc/...
分类:
编程语言 时间:
2014-10-27 12:15:51
阅读次数:
213
昨天非常轻松的分析完Redis的事件驱动模型之后,今天我来看看anet的代码,anet是Redis对于Client/Server的网络操作的一个小小封装。代码中对此文件的官方解释为:
/* anet.c -- Basic TCP socket stuff made a bit less boring
* 基于简单的基本TCP的socket连接后面的made a bit less boring这...
分类:
Web程序 时间:
2014-10-27 10:57:43
阅读次数:
716
这个网站上的一系列讲解NS2的内容真的是深入浅出,看完立刻豁然开朗。所以就接连转了几篇。Scheduling Events那篇里的例子特别好,看完就懂了。http://www.mathcs.emory.edu/~cheung/Courses/558-old/Syllabus/90-NS/NS Sim...
分类:
其他好文 时间:
2014-10-27 00:18:19
阅读次数:
230
Go's basic types areboolstringint int8 int16 int32 int64uint uint8 uint16 uint32 uint64 uintptrbyte // alias for uint8rune // alias for int32 ...
分类:
其他好文 时间:
2014-10-26 21:06:48
阅读次数:
178