This is a very simple HTTP server for Unix, using fork(). It's very easy to use
- include header
httpd.h - write your route method, handling requests.
- call
serve_forever("12913")to start serving on port 12913
| // ==UserScript== | |
| // @name 去你大爷的 CSDN 全文阅读 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description 把登录后查看全文阅读的那个啥玩意儿给干掉 | |
| // @author laobubu | |
| // @match http://blog.csdn.net/*/article/details/* | |
| // @grant none | |
| // ==/UserScript== |