Skip to main content

Github Codespaces

Today I learned that you can sync dotfiles to Github Codespaces.

I generally start my mornings off with a cup of ☕️ coffee and crank up the 💻 machines. I get up early and I usually get my best work done in the mornings because it's quiet and relatively distraction free. Because we're staying downstairs during our renovations1, my office is upstairs, and the den has been cozy in the morning due to the fireplace, I've been starting off on my iPad 📱 I nicknamed Lisa2.

I try not to waste my caffeine boost 🚀 on reading the news, my messages or emails. Every afternoon before I cut loose from my desk, I generally try to close down everything except whatever projects I have going on so that I can pick right up on them in the mornings. I closely guard my attention likely because it'll easily skip off the rails and I wrote about this in Slow Thinking3. And I've been slowly whittling my iPad into shape for more development and less communication which primarily revolves around working with VS Code4.

Yeah, I know... don't ask me "where I've been", I'm a late adopter5. I had barely touched the surface with CodeSpaces5 or Development Containers6 but I got a little OCD this morning over my terminal theme in a codespace and started digging into the configurations. Whatayaknow... turns out, I can just sync all of my configurations for the editor, terminal7, and development environment8. Github and Microsoft have introduced an open specifications9.

Although I knew it was possible, I just hadn't spent much time doing it. I guess it's appropriate given my biggest time waster until now, The Simpsons Tapped Out10, is being deprecated so I guess I'll never finish my monorail.

 

References

Footnotes

  1. House - /notes/house

  2. Lisa - /docs/computers/lisa

  3. Slow Thinking - https://davidawindham.com/slow-thinking/

  4. Working with Visual Studio Code and Github on my iPad - /posts/vscode-ipad

  5. Late Adopter - https://davidawindham.com/late-adopter/ 2

  6. Github Codespaces - https://github.com/features/codespaces

  7. Personalizing GitHub Codespaces - https://docs.github.com/en/codespaces/setting-your-user-preferences/personalizing-github-codespaces-for-your-account#dotfiles

  8. Creating a custom dev container configuration - https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers

  9. Development Containers - https://containers.dev/implementors/json_reference/

  10. The Simpsons Tapped Out - https://davidawindham.com/the-simpsons/