logo

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Unnamed repository; edit this file 'description' to name the repository.
commit: f065881ae6103c9b56541ea3f7532b03a4f6c1bb
parent 6627fda2232698b53bcc999d21136652fdd91fc7
Author: LinuxMercedes <LinuxMercedes@gmail.com>
Date:   Sat,  8 Dec 2018 17:05:08 -0600

Merge pull request #235 from Francesco149/eeeeeeeeeeeeeeeeeeeeeeee

e as a service

Diffstat:

Aeaas.sh9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/eaas.sh b/eaas.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# e as a service +# usage: +# ./eaas.sh +# xdg-open http://127.0.0.1:3333 +while true; do + ( printf "HTTP/1.0 200 OK\r\n\r\n<html><body>" && yes e ) | + nc -w 1 -l -p 3333 +done