this post was submitted on 15 Nov 2023
788 points (96.1% liked)

Programmer Humor

19564 readers
1201 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fireflash38@lemmy.world 73 points 1 year ago (2 children)

What if, get this, we put the bash scripts in yaml. And then put it in kubernetes.

[–] PupBiru@kbin.social 58 points 1 year ago (1 children)

well now you’re just describing ansible

[–] Vash63@lemmy.world 10 points 1 year ago

Very, very bad Ansible.

[–] nxdefiant@startrek.website 27 points 1 year ago (1 children)

Have you considered embedding python in those bash scripts? I have done this, and it is glorious.

[–] tetris11@lemmy.ml 36 points 1 year ago (1 children)

I wrote my webserver in pure bash.

bash -c "python -m http.server 8080"

[–] MeanEYE@lemmy.world 7 points 1 year ago (1 children)

Did you know you can zip entire Python project into single file and make it executable? Quite a neat feature. Shove all dependencies, modules and assets in there and voila. Single file python application.

[–] tetris11@lemmy.ml 1 points 1 year ago

PIGZ is an incredible standard