User Controls
Posts by seventwo
-
2020-12-07 at 5:16 AM UTC in Shell script threaddocker stop the world if docker is eating my cpu cycles. kills batches of 4 docker containers at a time.
```
dstop () {docker ps | awk '{print$1}' | tail -n+2 | xargs -n 1 -P 4 docker stop }
``` -
2019-11-27 at 4:53 PM UTC in Isn't being cashless great?Last I checked, cash doesn't give me 4% cashback on dining.
-
2019-11-19 at 6:05 PM UTC in Creating a programming language.There's too much to support to capture everything. If you're looking into lexers and parsers, the canonical literature seems to always be the dragon book, but most people never read it. Start with a domain specific language and build from there. A good introduction: https://www.youtube.com/watch?v=zJ9z6Ge-vXs