about summary refs log tree commit diff stats
path: root/index.html
diff options
context:
space:
mode:
authorFulton Browne <git@fulton.software>2021-05-28 15:32:15 +0000
committerFulton Browne <git@fulton.software>2021-05-28 15:32:15 +0000
commit3173e146b3f3cf20eecc2893310239bbbbbfa3a8 (patch)
tree69345f371f72bab929e935aef9522598d82bb040 /index.html
parent8aea797d10fcd0782d49b4a400f5fb75fbfa1e7d (diff)
downloadg9srv-3173e146b3f3cf20eecc2893310239bbbbbfa3a8.tar.gz
new
Diffstat (limited to 'index.html')
-rw-r--r--index.html47
1 files changed, 24 insertions, 23 deletions
diff --git a/index.html b/index.html
index b0f9d73..f8fd917 100644
--- a/index.html
+++ b/index.html
@@ -2,33 +2,34 @@
 <link rel="stylesheet" href="/style.css">
 <title>fulton.software</title>
 <H1>
-THE WEB IS DEAD
-</H1>
-
-<H1>
-LONG LIVE GEMINI
+Fulton's homepage
 </H1>
+<p>
+Hey, I'm Fulton Brwone, a 16 year old (class of 2023, home schooled) programmer, LOTR fan, and <a href="https://xkcd.com/2038/">general</a> nerd. Most of my programming stuff centers around UNIX (<a href="https://openbsd.org">OpenBSD</a> being my favorite flavour), cryptography (still not good enough to have anything real on that front), Plan9, and the <a href="https://gemini.circumlunar.space/">small web</a>. I value software <a href="https://en.wikipedia.org/wiki/Unix_philosophy">simplicity</a>, <a href="https://xkcd.com/936/">security</a>, and <a href="https://eff.org">user privacy</a>. 
+<br>
+You can also find me on <a href="gemini://fulton.software/"> gemini</a>.
+<br>
+My code is hosted <a href="git/repos.html">here</a>
+<br>
+My blog is <a href="/posts">here</a>
+<br>
+9front mirror <a href="9front/">here</a>
+<br>
+<a href="/docs/screen.png">A screenshot of my main machine (Thinkpad x230, Plan9 fork)</a>
+<br>
+If you want to send me mail send it to fulton at this domain.
+<bl>
+This web page is made with <a href="https://www.stumptowncoffee.com/">coffee</a>, run on the <a href="http://9p.io/plan9/">plan9</a> operating system, and was edited in <a href="http://acme.cat-v.org">acme(1)</a>
 
 <h4>
-!!!!WARNING THERE ARE NO COOKIES IN USE ON THIS WEBSITE!!!!
+Sites and blogs I enjoy
 </h4>
-<h4>
-!!!!WARNING THIS SITE USES A SELF SIGNED CERT!!!!
-</h4>
-<p>
-You can find my blog and most of my content at this domain on gemini.
-
- <a href="https://portal.mozz.us/gemini/fulton.software">A proxy for people who don't want to download a gemini browser</a> 
+<a href="http://cat-v.org">Great site, has lots on UNIX, Plan9, and software simplicity</a>
+<br>
+<a href="https://royniang.com/">Just an awesome site in an intresting "notebook" format</a>
+<br>
+<a href="https://drewdevault.com/">Drews blog - lots of great content</a>
 </p>
-<p> my code is hosted <a href="git/repos.html">here</a></p>
-
-<p> 9front mirror <a href="9front/">here</a></p>
-
-<p>if you want to send me mail send it to fulton.software bang fulton. if that didn't make any since to you your a bot and/or I don't want you in my inbox</p>
-
-<p> this web page was made with coffee and the 9front operating system and is designed for use on all form of unix (execpt macos 10 or newer), plan9, and haiku. </p>
-
-<p>
 
-<h1> USE FREE SOFTWARE </h1>
+<h2> USE FREE SOFTWARE </h2>
 </html>
> n = 0; while (*s++ != '\0') { n++; } return n; } int str_equal(char *a, char *b) { do { if (*a++ != *b++) { return 0; } } while (*b != '\0'); return 1; } long find_in_file(FILE *f, char *needle) { size_t nlen = str_length(needle); long pos = 0; char *str = malloc(nlen + 1); while (!feof(f) || !ferror(f)) { if (fread(str, 1, nlen, f) != nlen) { break; } str[nlen] = '\0'; printf("%ld: %s\n", ftell(f), str); if (str_equal(str, needle)) { return ftell(f); } fseek(f, ++pos, SEEK_SET); } return -1; } int main(int argc, char **argv) { FILE *f; long pos; if (argc < 3) { printf("Usage: %s [file] [needle]\n", argv[0]); printf("Searches for needle in the contents of file.\n\n"); return 2; } if (argv[2][0] == '\0') { printf("%s: Invalid needle: needle can not be empty.\n", argv[0]); return 3; } f = fopen(argv[1], "r"); if (f == NULL) { printf("%s: Error: Can not open file `%s` for reading.\n", argv[0], argv[1]); return 1; } pos = find_in_file(f, argv[2]); if (pos == -1) { printf("The string \"%s\" is not found in file `%s`\n", argv[2], argv[1]); } else { printf("The string \"%s\" is found in file `%s` at position %ld\n", argv[2], argv[1], pos); } fclose(f); return 0; }