I miss those bottles of Modelo Especial which bore the inscriptions
DRINK SENSIBLY CONTAINS MALTED BARLEY
and
BEST BEFORE SEE BOTTOM
I miss those bottles of Modelo Especial which bore the inscriptions
DRINK SENSIBLY CONTAINS MALTED BARLEY
and
BEST BEFORE SEE BOTTOM
it lives! JVM in Bash
for now it only has ~5 opcodes implemented, and one virtual method (println
). So this is literally the minimal amount of Stuff to get a hello world working
next up, conditionals?
"Ah yes, see, computers are made up of lots of parts, but the most important one is the GPU, the General Processing Unit, which often shares memory with the CPU, the Control-Flow Processing Unit—"
it lives! JVM in Bash
for now it only has ~5 opcodes implemented, and one virtual method (println
). So this is literally the minimal amount of Stuff to get a hello world working
next up, conditionals?
@waldi enable javascript or set the cookie LANG
to any value
will modify to not require JS at some point, didn’t have time
map $cookie_lang $limit {
"" "";
default "ok";
}
map $http_user_agent $what {
"~git/.*" "ok";
"~[Gg]o-http-client.*" "ok";
default $limit;
}
then inside server
directive
if ($what != "ok") {
rewrite ^ /nope.htm break;
}
location /nope.htm {
root /var/lib/forgejo/webroot;
}
and the file itself
<!DOCTYPE html><html><head><meta charset='utf-8'></head><body>if you're seeing this, your browser may be rejecting cookies.<br><br>if this persist, contact scrape@sdomi.pl<script>document.cookie='lang=en-US; path=/';window.setTimeout(()=>window.location.reload(), 150);</script></body>
FYI: you can do this without JS, and I plan to rewrite mine to just show this page, set a cookie, do a refresh through meta, done.
@domi This is exactly the sort of utter, chaotic nonsense that I love seeing.
I approve.