Skip to content

Instantly share code, notes, and snippets.

# Python HTTP Server!
This is very basic Python HTTP server with ability of handling GET and POST requests.
For Python 3.x.
For Python 2.x see here: https://gist.github.com/vgezer/59c002587e655ff69b8f2f1f0c4ca7a4
This one handles multiple requests by creating multiple threads, preventing e.g. unresponsive server until restart, caused by Chrome.
## Installation
No installation!
## Configuration
@vgezer
vgezer / README
Last active May 25, 2021 13:52
Simple Python HTTP Server with handler for POST and GET, no additional libraries required
# Python HTTP Server!
This is very basic Python HTTP server with ability of handling GET and POST requests.
For Python 2.x.
For Python 3.x see here: https://gist.github.com/vgezer/59c002587e655ff69b8f2f1f0c4ca7a4
This one handles multiple requests by creating multiple threads, preventing e.g. unresponsive server until restart, caused by Chrome.
## Installation
No installation!
## Configuration
@vgezer
vgezer / ABOUT.md
Created July 10, 2019 10:16 — forked from laobubu/ABOUT.md
A very simple HTTP server in C, for Unix, using fork()

Pico HTTP Server in C

This is a very simple HTTP server for Unix, using fork(). It's very easy to use

How to use

  1. include header httpd.h
  2. write your route method, handling requests.
  3. call serve_forever("12913") to start serving on port 12913
@vgezer
vgezer / README.md
Last active February 15, 2016 11:20
PageKite service script for Raspberry Pi or Banana Pi models

Replace user with your username and save the file to the location /etc/init.d/ with the name pagekite and give execute permissions on the file chmod +x pagekite

Then execute:


# update-rc.d pagekite defaults

@vgezer
vgezer / README.md
Last active November 29, 2021 14:43

Preparing BerryBoot Images

What is BerryBoot?

For people short on SD cards: Berryboot is a simple boot selection screen, allowing you to put multiple Linux distribution on a single SD card. In addition it allows you to put the operating system files on an external USB hard drive instead of on the SD card itself.

Website