• Friday

    • Private work.
    • Remember gnumake’s variables are accessed with $(var). To grab shell variables, use $$var.
    • So you don’t have to set upstream on every new git branch: git config --global --add --bool push.autoSetupRemote true
    • Redis $5.62 on equitybee.
    • Added gitlab runners to my macbook so I can pass CICD while working remotely.
      • /srv doesn’t exist by default, so sudo mkdir /private/srv and chown it to you then run the usual two commands:
        • docker run -d --name gitlab-runner --restart always -v /private/srv/gitlab-runner/config:/etc/gitlab-runner -v /var/run/docker.sock:/var/run/docker.sock gitlab/gitlab-runner:latest
        • docker exec -it gitlab-runner gitlab-runner register
          • Then enter all the info. Token is from the “create new runner” screen on gitlab’s UI. Default image usually python:3.12. Executor type is docker.
        • Then just up the concurrency by editing /private/srv/gitlab-runner/config/config.toml on the host.
    • Pandas group_by, agg, more.
    • Supercontest.
      • Fixed the auth for redis-cli and the private conf file. It’s still clunky (sourcing secret then passing var). Redis-cli should absolutely provide native support for reading auth from a file.