mac to Programmer [email protected] • 7 months agoYesprogramming.devimagemessage-square83fedilinkarrow-up1782arrow-down129
arrow-up1753arrow-down1imageYesprogramming.devmac to Programmer [email protected] • 7 months agomessage-square83fedilink
minus-square@fireflash38linkEnglish76•7 months agoWhat if, get this, we put the bash scripts in yaml. And then put it in kubernetes.
minus-square@[email protected]linkfedilink26•7 months agoHave you considered embedding python in those bash scripts? I have done this, and it is glorious.
minus-square@[email protected]linkfedilink35•7 months agoI wrote my webserver in pure bash. bash -c “python -m http.server 8080”
minus-squareMeanEYElink7•7 months 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