Mac to Programmer Humor@programming.dev • 1 year agoYesprogramming.devimagemessage-square87fedilinkarrow-up1821arrow-down133
arrow-up1788arrow-down1imageYesprogramming.devMac to Programmer Humor@programming.dev • 1 year agomessage-square87fedilink
minus-square@fireflash38@lemmy.worldlinkfedilinkEnglish73•1 year agoWhat if, get this, we put the bash scripts in yaml. And then put it in kubernetes.
minus-square@nxdefiant@startrek.websitelinkfedilink27•1 year agoHave you considered embedding python in those bash scripts? I have done this, and it is glorious.
minus-square@tetris11@lemmy.mllinkfedilink36•1 year agoI wrote my webserver in pure bash. bash -c “python -m http.server 8080”
minus-square@MeanEYE@lemmy.worldlinkfedilink7•1 year agoDid 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.
What if, get this, we put the bash scripts in yaml. And then put it in kubernetes.
well now you’re just describing ansible
Very, very bad Ansible.
Have you considered embedding python in those bash scripts? I have done this, and it is glorious.
I wrote my webserver in pure bash.
bash -c “python -m http.server 8080”
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.
PIGZ is an incredible standard