那些日子里

记录生活的点滴

Archive for the ‘未分类’ Category

How to Use Groovy

without comments

Groovy

1、 What is groovy

  • “is an agile and dynamic language for the Java Virtual Machine
  • builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk

…”

Read the rest of this entry »

Written by huotuotuofly

三月 29th, 2012 at 11:31 下午

Posted in 未分类

test

without comments

Written by huotuotuofly

六月 15th, 2011 at 10:11 上午

Posted in 未分类

一个简单web服务器的实现

without comments

原理:模拟telnet 80实现。原理详细见这里

执行 ./webserv 1234,然后在浏览器中输入: http://hostName:1234 /可查看结果。

终端可查看请求消息。不了解HTTP头消息的参见这里

Read the rest of this entry »

Written by huotuotuofly

四月 2nd, 2011 at 2:59 上午

Posted in Linux,学习,未分类