adi's recent activity

  1. Comment on What programming/technical projects have you been working on? in ~comp

    adi
    Link
    I migrated all my domains to my nsd instances.

    I migrated all my domains to my nsd instances.

    1 vote
  2. Comment on hack.css, new.css, Water.css, sakura, Pico themes for my static site generator (mkws) in ~comp

    adi
    Link
    Please provide feedback or request new themes!

    Please provide feedback or request new themes!

    2 votes
  3. Comment on Made a couple of themes for my static site generator (mkws) in ~comp

    adi
    Link Parent
    Which CDN provider would you recommend?

    Which CDN provider would you recommend?

    1 vote
  4. Comment on Made a couple of themes for my static site generator (mkws) in ~comp

    adi
    Link Parent
    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!

    2 votes
  5. Comment on Made a couple of themes for my static site generator (mkws) in ~comp

    adi
    Link Parent
    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!

    1 vote
  6. Comment on Made a couple of themes for my static site generator (mkws) in ~comp

    adi
    Link
    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!

    2 votes
  7. Comment on What did you do this weekend? in ~talk

    adi
    (edited )
    Link
    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 (...

    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

    1 vote
  8. Comment on What programming/technical projects have you been working on? in ~comp

    adi
    Link
    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.

    2 votes
  9. Comment on What did you do this week? in ~talk

    adi
    Link
    Working on a new version of mkws. Also, working on a couple of themes: preview 1, preview 2.

    Working on a new version of mkws. Also, working on a couple of themes: preview 1, preview 2.

    2 votes
  10. Comment on What programming/technical projects have you been working on? in ~comp

  11. Comment on Simple, small, awk analytics HTTP log parsers in ~comp

    adi
    Link Parent
    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.html

    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.html

    2 votes
  12. Comment on Looking for recommendations for self-hostable static blog software in ~comp

    adi
    Link
    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.

    2 votes
  13. Comment on New MacBook Pros in ~tech

    adi
    Link
    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.

    2 votes
  14. Comment on mkws - A simple static site generator in ~comp

    adi
    Link Parent
    That binary is a shell script 🙃. It counts as sources.

    That binary is a shell script 🙃. It counts as sources.

    5 votes
  15. Comment on mkws - A simple static site generator in ~comp