Skip to content

Instantly share code, notes, and snippets.

View mpapierski's full-sized avatar

Michał Papierski mpapierski

View GitHub Profile
@mpapierski
mpapierski / web.py
Created February 25, 2012 02:47
Yet another very general open source python web framework
import sys
import re
from StringIO import StringIO
import BaseHTTPServer
def home_page():
''' Home page '''
import random
print 'Hello world'
@mpapierski
mpapierski / appserver.cxx
Created February 25, 2012 02:35
Write GUI applications in a compile-time abstract language
// Write GUI applications in an compile-time abstract language
//
// Copyright 2011 Michał Papierski <[email protected]>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
@mpapierski
mpapierski / properties.cxx
Created February 25, 2012 02:30
Properties with getter/setter function calls
// Properties with getter/setter function calls
//
// Copyright 2011 Michał Papierski <[email protected]>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,