adi's recent activity
-
9 votes
-
Comment on What programming/technical projects have you been working on? in ~comp
-
Comment on hack.css, new.css, Water.css, sakura, Pico themes for my static site generator (mkws) in ~comp
adi Please provide feedback or request new themes!Please provide feedback or request new themes!
-
hack.css, new.css, Water.css, sakura, Pico themes for my static site generator (mkws)
6 votes -
Comment on Made a couple of themes for my static site generator (mkws) in ~comp
-
Comment on Made a couple of themes for my static site generator (mkws) in ~comp
adi I'll be looking into the slowness issue! Thanks! Regarding the sizes, it's a matter of preference, you can easily change that. These are just simple starter themes all add more themes!I'll be looking into the slowness issue! Thanks! Regarding the sizes, it's a matter of preference, you can easily change that. These are just simple starter themes all add more themes!
-
Comment on Made a couple of themes for my static site generator (mkws) in ~comp
adi Thanks! I'll look into the slowness issue! Thanks for for the https://www.webpagetest.org/ link, didnt know about it!Thanks! I'll look into the slowness issue! Thanks for for the https://www.webpagetest.org/ link, didnt know about it!
-
Comment on Made a couple of themes for my static site generator (mkws) in ~comp
adi Please provide feedback and tell me what other kind of themes you would like to see!Please provide feedback and tell me what other kind of themes you would like to see!
-
Made a couple of themes for my static site generator (mkws)
4 votes -
Comment on What did you do this weekend? in ~talk
adi (edited )LinkWorked on mkws themes, specifically used Plan 9 mk's regular expression targets in order the pack the themes in .tgz format for distribution. Also built a small https tunnel: package main import (...Worked on mkws themes, specifically used Plan 9 mk's regular expression targets in order the pack the themes in .tgz format for distribution. Also built a small https tunnel:
package main import ( "crypto/tls" "flag" "log" "net/http" "net/http/httputil" "net/url" "os" ) func main() { f := flag.String("f", "", "listen host") t := flag.String("t", "", "connect host") crt := flag.String("c", "", "path to cert file") key := flag.String("k", "", "path to key file") flag.Parse() if *f == "" { flag.Usage() os.Exit(1) } if *t == "" { flag.Usage() os.Exit(1) } if *crt == "" { flag.Usage() os.Exit(1) } if *key == "" { flag.Usage() os.Exit(1) } proxy := httputil.NewSingleHostReverseProxy(&url.URL{ Scheme: "http", Host: *t, }) cert, err := tls.LoadX509KeyPair(*crt, *key) if err != nil { log.Println(err) os.Exit(1) } config := &tls.Config{Certificates: []tls.Certificate{cert}, NextProtos: []string{"h2", "http/1.1"}} listener, err := tls.Listen("tcp", *f, config) if err != nil { log.Println(err) os.Exit(1) } defer listener.Close() err = http.Serve(listener, proxy) if err != nil { log.Println(err) os.Exit(1) } }
Build with
go build httpst.go
.I run it as doas httpst -f adi.onl:443 -t 127.0.0.1:9000 -c /etc/ssl/adi.onl.crt -k /etc/ssl/private/adi.onl.key
-
Comment on What programming/technical projects have you been working on? in ~comp
adi Still working on mkws theme related stuff. Previews: https://files.mills.io/download/plain.jfif, https://files.mills.io/download/mono.jfif. Deleted some files by mistake (minor deal) and...Still working on mkws theme related stuff. Previews: https://files.mills.io/download/plain.jfif, https://files.mills.io/download/mono.jfif. Deleted some files by mistake (minor deal) and investigated https://github.com/rushsteve1/trash-d/ but it's written in D and doesn't provide OpenBSD binaries so I started working on my own solution.
-
Comment on What did you do this week? in ~talk
adi Working on a new version of mkws. Also, working on a couple of themes: preview 1, preview 2. -
Comment on What programming/technical projects have you been working on? in ~comp
adi I recently updated my awk based analytics scripts Common Log, Combined Log, Forwarded Log. They're in use at http://s.mkws.sh/.I recently updated my
awk
based analytics scripts Common Log, Combined Log, Forwarded Log. They're in use at http://s.mkws.sh/. -
Comment on Simple, small, awk analytics HTTP log parsers in ~comp
adi Thanks! I updated the analytics scripts in the mean time. Here are the ones for logs in Combined Log Format (I believe this is the most common?) https://adi.onl/cbl.htmlThanks! I updated the analytics scripts in the mean time. Here are the ones for logs in Combined Log Format (I believe this is the most common?) https://adi.onl/cbl.html
-
Simple, small, awk analytics HTTP log parsers
7 votes -
Small statistics page showcase done via sh, awk, log parsing and cron
5 votes -
Comment on Looking for recommendations for self-hostable static blog software in ~comp
adi You can take a look at my own https://mkws.sh, it's templates are sh based, it's super simple and highly customizable, people like https://nemic.dev/log.html and https://www.andrewjvpowell.com/...You can take a look at my own https://mkws.sh, it's templates are
sh
based, it's super simple and highly customizable, people like https://nemic.dev/log.html and https://www.andrewjvpowell.com/ have been using it to write blogs with it. -
Comment on New MacBook Pros in ~tech
adi In The Anti-iPhone Linus argues that you don't really need a flagship phone for everyday use, I believe that's the future for computers also. We're building faster CPU's to run bloat.In The Anti-iPhone Linus argues that you don't really need a flagship phone for everyday use, I believe that's the future for computers also. We're building faster CPU's to run bloat.
-
Comment on mkws - A simple static site generator in ~comp
adi That binary is a shell script 🙃. It counts as sources.That binary is a shell script 🙃. It counts as sources.
-
Comment on mkws - A simple static site generator in ~comp
adi https://mkws.sh/docs.html#sources Not a bad idea to include the sources in the docs.https://mkws.sh/docs.html#sources
Not a bad idea to include the sources in the docs.
I migrated all my domains to my
nsd
instances.