From ed50c5fefb8892ad2ba5262491669f268ddbd436 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 1 Sep 2025 16:44:58 -0400 Subject: Overhaul code to stop keeping examples and libraries in the same repo, but instead spin each out into its own repo. --- examples/http-server/sample-site/foo.html | 6 ------ examples/http-server/sample-site/hello.txt | 1 - examples/http-server/sample-site/index.html | 16 ---------------- examples/http-server/sample-site/random.tm | 17 ----------------- examples/http-server/sample-site/styles.css | 11 ----------- 5 files changed, 51 deletions(-) delete mode 100644 examples/http-server/sample-site/foo.html delete mode 100644 examples/http-server/sample-site/hello.txt delete mode 100644 examples/http-server/sample-site/index.html delete mode 100755 examples/http-server/sample-site/random.tm delete mode 100644 examples/http-server/sample-site/styles.css (limited to 'examples/http-server/sample-site') diff --git a/examples/http-server/sample-site/foo.html b/examples/http-server/sample-site/foo.html deleted file mode 100644 index 162a7146..00000000 --- a/examples/http-server/sample-site/foo.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - This is the foo page. - - diff --git a/examples/http-server/sample-site/hello.txt b/examples/http-server/sample-site/hello.txt deleted file mode 100644 index e965047a..00000000 --- a/examples/http-server/sample-site/hello.txt +++ /dev/null @@ -1 +0,0 @@ -Hello diff --git a/examples/http-server/sample-site/index.html b/examples/http-server/sample-site/index.html deleted file mode 100644 index 8e1573bb..00000000 --- a/examples/http-server/sample-site/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - HTTP Example - - - -

- Hello world! -

- -

- Try going to /random or /foo or /hello.txt -

- - diff --git a/examples/http-server/sample-site/random.tm b/examples/http-server/sample-site/random.tm deleted file mode 100755 index 153ac2af..00000000 --- a/examples/http-server/sample-site/random.tm +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/env tomo -use random - -func main() - say(" - - - - Random Number - - - -

Random Number

- Your random number is: $(random.int(1,100)) - - - ") diff --git a/examples/http-server/sample-site/styles.css b/examples/http-server/sample-site/styles.css deleted file mode 100644 index f15d25de..00000000 --- a/examples/http-server/sample-site/styles.css +++ /dev/null @@ -1,11 +0,0 @@ -body{ - margin:40px auto; - max-width:650px; - line-height:1.6; - font-size:18px; - color:#444; - padding:0 10px; -} -h1,h2,h3{ - line-height:1.2 -} -- cgit v1.2.3