VS Code and git, problems with ssh keys

I kept running into a problem after completely wiping my Mac and reinstalling software: I could not get Visual Studio Code to push or pull to repositories in my GitLab account. It turned out the solution was pretty easy.

Visual Studio Code uses the system git. In my case that git client was installed via Homebrew1. After installing git I neglected to generate an ssh key. More importantly, I neglected to generate the default ssh public/private keypair (files are called id_rsa.pub/id_rsa). Without any other setup this is the public/private keypair that git will use for ssh operations against a remote server.

So the key was generated with:

ssh-keygen -o -t rsa

using the defaults when prompted and not assigning a password.

I then added this key to GitLab by first doing:

pbcopy < ./id_rsa.pub

at the command line (which copies the text in the file to the system clipboard) then pasting it into the proper spot on GitLab.

Problem solved!

The Last Alaskans

Just a quick note here, I’m completely obsessed with the show “The Last Alaskans”. Recommended to me by a friend, I can’t believe I had never seen or heard of this series but with Alaska being all the rage the last several years in “reality” TV shows I can see why.

This is the “anti-reality” show. The pace is very slow, the music mostly soothing. There is a lot of self-introspection of what it means to live a life. If you like that kind of thing it’s fantastic television. Highly recommended.

This article by Hank Stuever in the Washington Post is a wonderful review of this series. Check it out.

The Trouble with Trees

In #24 of his Ridgeline newsletter, Craig Mod says:

It’s true — photographing the woods is tough. (Which is why vistas, views, lookouts are so readily photographed.) There’s just so much information packed into every square meter, and, on a sunny day, so much contrast. I find woods can only be reliably photographed on rainy days, mist abounding, giving shape and depth to the otherwise shapeless and boundless.

I’ve found this to be true as well. Out for a walk something catches my eye. It might be the light playing in the leaves. It might be how the colors of the forest shift in interesting ways as I’m taking in a scene. Whatever it is, it seems worthy of a photograph, but once the photograph is taken what I usually end up with is just a mass of trees.

HDR mode, as great as it is, is no match for the human eye connected to the human brain.

Started Father’s Day at the Starbucks Reserve store in Lake Forest. Coffee and cake were delicious and loved the wood tray it was served on!

For the first time in 15 years I no longer have a gmail account. Feels a bit odd and I’m not sure why since I haven’t used it that much in the last 10 years 😉

‪Excited to have mac OS Catalina beta running on my Mac without having touched my working Mojave install. APFS volumes are a treat!‬