small pixel drawing of a pufferfish j3s.sh

lots of stuff
Jes Olson j3s@c3f.net
Wed, 09 Mar 2022 00:07:15 -0500
commit

3042b8a7b50142d15d0c8bf4a76716446b6acb13

parent

fc91594c78d1c0015d2d652e0d98443840c84a00

M main.gomain.go

@@ -1,20 +1,20 @@

package main import ( + "bytes" + "fmt" "html/template" + "io" "log" "net/http" "os" - "io" "path/filepath" "strings" - "fmt" - "bytes" + "filippo.io/age" + "filippo.io/age/armor" "git.j3s.sh/j3s.sh/feed" "github.com/SlyMarbo/rss" - "filippo.io/age" - "filippo.io/age/armor" ) // templateData is a mega-struct that gets

@@ -130,9 +130,9 @@ }

} type AgeForm struct { - Success bool - PublicKey string - Message string + Success bool + PublicKey string + Message string } func serveAge(w http.ResponseWriter, r *http.Request) {

@@ -152,8 +152,8 @@ return

} formdeets := AgeForm{ - PublicKey: r.FormValue("pubkey"), - Message: r.FormValue("message"), + PublicKey: r.FormValue("pubkey"), + Message: r.FormValue("message"), } recipient, err := age.ParseX25519Recipient(formdeets.PublicKey)

@@ -197,4 +197,4 @@ // this header is always set by tlstunnel (MAYBE)

// so we can PROBABLY expect it to be here IDFK RLY // ITS LATE AND IM TIRED fmt.Fprintf(w, r.Header.Get("X-Forwarded-For")) -}+}
A review/alien.html

@@ -0,0 +1,5 @@

+one of the greats. sigourney weaver, swoon. +isolated alien landscape, swoon +robot drama, swoon + +seriously 10/10
A review/fresh.html

@@ -0,0 +1,17 @@

+a surprising take on the "lets pump out a quick horror movie for profit" +genre. normally this sort of thing employs a quirk, something like: +- the characters can't see! +- the characters can't hear! +- the character is attached to a bed?? + +at least, that's what i thought the movie was going to be when +i started watching. but the more i watched, the more i realized +that they were making waves. daisy edgar-jones in particular did +a phenomenal job. + +it turned my expectations on themselves in a very fun way. + +watch it with a few family members who don't mind horror films, +it's a riot and won't disappoint! + +easy 8/10
A review/michael-clayton.html

@@ -0,0 +1,7 @@

+if i remember anything about this film, it's that it +was about a very powerful and serious lawyer with a very powerful +and serious job. it was anti-coroporate in a really in-your-face +way, and it had george clooney in it. i think he's a great actor! + +honestly i enjoyed watching it and thought it was very well shot, +and did a very good job without too many surprises. a solid 7/10
M templates/about.htmltemplates/about.html

@@ -1,9 +1,11 @@

{{define "title"}}me{{end}} {{define "body"}} <p><i>patient anxious mentor</p></i> -<p><i>loves simple little binaries</p></i> -<p><i>dota2 + beat saber expert</p></i> +<p><i>loves simple little programs</p></i> +<p><i>statically compiled binary FREAK</p></i> +<p><i>dota2 + beat saber expert, osu! liker</p></i> <p><i>existential crisis actor</p></i> +<p><i>loves walking</p></i> <b><p>email:</b> <a href="mailto:j3s@c3f.net">j3s@c3f.net</a></p> <b><p>matrix:</b> <a href="https://matrix.to/#/@j3s:cyberia.club">@j3s:cyberia.club</a></p> <b><p>twitter:</b> <a href="https://twitter.com/j3sj3sj3s">@j3sj3sj3s</a></p>
M templates/index.htmltemplates/index.html

@@ -1,10 +1,10 @@

{{ define "title" }}j3s.sh{{ end }} {{ define "body" }} -<marquee><p><i>new! dynamically generated! smol! website! <3</p></i></marquee> -<h4>seriously, email me</h4> -<p>i love getting email. from anyone. it's my favorite way to talk. email me anything! seriously! j3s@c3f.net</p> -<h4>this site is under heavy construction</h4> -<img src="/static/under-construction.gif"> +<p>hello. my name is jes. welcome to my little piece of the internet.</p> +<marquee><p><i>gir: i am Government Man, come from the government. the government has sent me. <3</p></i></marquee> +<h4>email me!</h4> +<p>i love getting email. from anyone. from you! it's my favorite way to talk. email me anything! seriously!</p> +<p>j3s@c3f.net</p> <h4>important quotes</h4> <p><i>the only way out is through</p></i> <p><i>fear is the mind-killer</p></i>
M templates/now.htmltemplates/now.html

@@ -1,5 +1,9 @@

{{define "title"}}what is jes doing now{{end}} {{define "body"}} +<p><b>2022-03-08</b></p> +<li>have been in florida for awhile</li> +<li>decided to sell my house</li> +<li>decided that a core value of mine is freedom</li> <p><b>2022-02-10</b></p> <li>going to go to florida for awhile</li> <p><b>2022-02-04</b></p>

@@ -16,7 +20,7 @@ <p><b>2021-07-23</b></p>

<li>king died</li> <li>moved in with bri <3</li> <li>bought a miata and a house</li> -<li>started at digitalocean</li> +<li>started working at digitalocean</li> <li>working on shrapnl in my offtime</li> <p><b>2021-03-06</b></p> <li>feeling old</li>
M templates/reviews.htmltemplates/reviews.html

@@ -2,6 +2,8 @@ {{define "title"}}jes reviews arbitrary garbage{{end}}

{{define "body"}} <p><i>this is where i review movies, tech stuff, lotion, etc</p></i> <h4>2022</h4> +<li><a href="/review/fresh.html">fresh</a></li> +<li><a href="/review/michael-clayton.html">michael clayton</a></li> <li><a href="/review/the-lorax.html">the lorax</a></li> <li><a href="/review/saw-series.html">saw (all of them)</a></li> <h4>2021</h4>

@@ -24,6 +26,19 @@ <li><a href="/review/possessor.html">possessor</a></li>

<li><a href="/review/tenet.html">tenet</a></li> <li><a href="/review/the-revenant-2009.html">the-revenant-2009</a></li> <li><a href="/review/zenith.html">zenith</a></li> +<h3>jes's rating scale</h3> +<pre> +1: there's nothing to like +2: there's basically nothing to like +3: there's maybe something redeeming but not worth it +4: it's okay, meh at best +5: it's average +6: it's pretty good and has a great quality or two +7: has several great qualities +8: has many great qualities, it's amazing +9: extremely good qualities and will be recommended by me ad nauseum +10: this thing gets everything right and will be in my life forever +</pre> <hr> <img src="/static/tvscrombles.png" alt="scrombles the cat watching tv"> {{end}}