this post was submitted on 15 Nov 2023
777 points (96.2% liked)

Programmer Humor

19154 readers
2012 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
[–] [email protected] 71 points 10 months ago (2 children)

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

[–] [email protected] 57 points 10 months ago (1 children)

well now you’re just describing ansible

[–] [email protected] 10 points 10 months ago

Very, very bad Ansible.

[–] [email protected] 27 points 10 months ago (1 children)

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

[–] [email protected] 36 points 10 months ago (1 children)

I wrote my webserver in pure bash.

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

[–] [email protected] 7 points 10 months 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 10 months ago

PIGZ is an incredible standard