Sie befinden sich aktuell in den Archiven des Blogs Newphoria Blogs für Mai, 2009.
2009-05-27 von ekkehard.
I just had an idea how to store the definition of data structures in binary form, which can be useful for implementing high-level programming language compilers.
Geschrieben in Ideas, Personal Projects | Keine Kommentare »
2009-05-25 von ekkehard.
During the weekend, I wrote a syntax analyzer package for URIs, fully conformant to RFC2396. With that, you can convert a URI into a syntax tree and extract all available information. BSD-licensed, with test program, all in ANSI C source code.
Geschrieben in Personal Projects | Keine Kommentare »
2009-05-22 von ekkehard.
How often have you wished to write your own web server? With my little program, you can. It contains all necessary code to write a UNIX-based web server (i.e. just like in the real world, you’ll need an operating system like Linux, FreeBSD, Solaris or AIX). The only thing that remains to be done is to implement a single function, handle_http_request(), that handles the Hypertext Transfer Protocol (HTTP). The input will be ready on the specified input stream, and you can write any output to the specified output stream. The code is written in the C programming language, and comes with a BSD license, ready to be used at home or at work.
Geschrieben in Ideas, Personal Projects | Keine Kommentare »
2009-05-22 von ekkehard.
This set of two small utilities I’ve written can be used to tunnel binary data over HTTP by the usage of HTML pages that appear normal to most machines.
Thus, firewalls can be avoided since most data going through port 80 is relatively unfiltered.
Of course, these two small programs are only part of the cure. The source code can be used in more sophisticated solutions. They’re written in portable ANSI C, and have a BSD license (so, use in commercial applications and/or organizations is expressly permitted).
Source code (.tar.gz format)
Source code (.zip format)
Geschrieben in Ideas, Personal Projects | Keine Kommentare »