Back

Today I quit my job and started working as an independent consultant

Many old colleagues wished me luck with my future plans.

I cooked! Today I made Korv stroganoff — it is one of my favorite dishes and I like to keep improving my cooking skills.

We also did some budgeting to make sure that we could pay rent and survive for the months I wouldn’t get any salary.

Also, I did something probably many other people did this week — I switched my coding font to a Monaspace variant. For my editor I used Neon, and for a bit of fun, I used Argon for iTerm.

TWIL

If you want to pack up an entire git repository (just the staged and committed files) as a zip file, you can use the following command:

git archive -o output.zip HEAD

Apparently, you are allowed to put @media-queries inside svg style elements. Combine this with the prefers-color-scheme media query and you can make svgs with built-in support for dark mode!

Very useful for text!

<svg viewBox="0 0 100 100">
  <style>
    @media (prefers-color-scheme: dark) {
      circle {
        fill: white;
      }
    }
  </style>
  <circle cx="50" cy="50" r="40" />
</svg>

And it even works inside img tags: <img src="icon.svg"/>!

Johan