../bin/d
file.
https.go
http://ix.io/2PWA, maybe you can give me some tips on that.
https
is a simple https server in go
, and entr
is http://eradman.com/entrproject/, couple that with https://livejs.com/ that gives me a live reload environment.
https://mkws.sh
:\n\n\n#!/bin/sh\n\nexport DEV=1\nexport PACK=0\n\ntrap "exit" INT TERM\ntrap "kill 0" EXIT\n\nhttps &\n\nfind . -type f -name '*.upp*' | entr ./bin/mkws https://mkws.sh\n
grep 16/Feb/2021 /var/www/logs/mkws.shaccess.log | grep -vf /home/adi/share/bots | flvu | wc -l
where /home/adi/share/bots
is a list of bot user agents.
head
and tail
I guess?
sam
a little, would really like to use it a little bit more at some point.
sudo
, did you pkg_add
it? Or?
twtd
to be go get
-able?
date
inside awk
http://onetipperday.sterding.com/2015/08/use-getline-to-capture-system-command.html
./twtmd < ./twtxt.txt | smu > t.html
twtxt
to Markdown
.
tail -r
is BSD specific, you could use tac
or awk
also I believe for reversing the lines.
twxt
to Markdown
in one go via awk
if possible and rerun through another awk
to add wrapper div
s but probably those would be better represented as li
s so no need for the wrapping part.
twtxt
file to Markdown
via an awk
script and then run the whole output through smu
?
Node.Js
and a JavaScript framework to develop a simple static site is incredibly weird.
mkws
is done. I also believe chasing progress is a trap, that's why people believe software is "never done".
mkws
I started Googling less and less. Less abstractions.
chroot
is enough? thttpd
supports chroot.
CGI
pp
and dump the variables in the global scope of the execve(3)
sh. The security issue lays in overwriting any other variable already present in the global scope.
pp
. I believe this is a sane way to build dynamic websites, parsing GET and POST variables in CGI is still a problem tho. I personally prefer interpreted languages for developing websites due to no compile time and in place debugging.
cl
, cbl
, fl
, using pp
.
mkws
, not pleased with the design tho, I'll keep it as close as possible to plain text as an homage to UNIX and tilde.institute which are an awesome group. I _personally_ believe all tiny scripts there are at least decent, I believe the linters are nice and the log analytics scripts are nice although, both of them may be rewritten in C even tho awk
fits so well for the log analytics. And default.css
is nice. I've incorporated the linters in my mkws
build process.