Mac@programming.dev to Programmer Humor@programming.dev · 3 years agoYesprogramming.devimagemessage-square50linkfedilinkarrow-up1613arrow-down128
arrow-up1585arrow-down1imageYesprogramming.devMac@programming.dev to Programmer Humor@programming.dev · 3 years agomessage-square50linkfedilink
minus-squarefireflash38@lemmy.worldlinkfedilinkEnglisharrow-up46·3 years agoWhat if, get this, we put the bash scripts in yaml. And then put it in kubernetes.
minus-squarenxdefiant@startrek.websitelinkfedilinkarrow-up20·3 years agoHave you considered embedding python in those bash scripts? I have done this, and it is glorious.
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up23arrow-down1·3 years agoI wrote my webserver in pure bash. bash -c “python -m http.server 8080”
minus-squareMeanEYE@lemmy.worldlinkfedilinkarrow-up5·3 years 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.
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