this post was submitted on 15 Nov 2023
754 points (96.4% liked)

Programmer Humor

19623 readers
18 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 76 points 1 year ago (2 children)

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

[–] [email protected] 56 points 1 year ago (1 children)

well now you’re just describing ansible

[–] Vash63 11 points 1 year ago

Very, very bad Ansible.

[–] [email protected] 26 points 1 year ago (1 children)

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

[–] [email protected] 35 points 1 year ago (1 children)

I wrote my webserver in pure bash.

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

[–] MeanEYE 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.

[–] [email protected] 1 points 1 year ago

PIGZ is an incredible standard