This past week I've just focused on the little things to help improve ... well everything. I've doubled down on using Notion (more on that later), and am just feeling the urge to be more productive. This usually comes after a lull or a bad week (both of which happened the past two weeks). I had a difficult week at work which doesn't happen too often, but then it was followed up with a few sick days. Now I'm feeling I want to catch up and get things in order.
This week's win(s)
This week I spent a few hours making some improvements to the site. I consolidated everything down to one page to simplify everything, added some visual design & branding examples to hopefully encourage me to get back into that again, and focused on accessibility making sure I had a passing 100 score in Lighhouse.
I've been meaning to switch this blogs code repo over from using Master to defaulting to Main for a while now. After some searching I found a well written blog post by Steven Mortimer with clear directions on how to do it. After reading his post it took me about a minute to make the change with zero issues. The only gotcha was that deleting master temporarily disabled GitHub Pages. It didn't automatically pick up the cut-over and my site went down about five minutes. I had a hunch it was still looking for master so I checked the Pages GitHub Pages control panel, and sure enough since master was gone it just turned itself off. I simply selected Main, clicked save, and my site came back online within about 10 seconds. Had I done this at the same time everything would have worked perfectly.
I was also able to simply switch on HTTPS support for the site. So far so good there...
This week's challenges
This week has been primarily just getting back into a good workflow, staying focused, and trying to be productive. I've really enjoyed using Notion for a while now, and am leaning on it more and more to keep me on task. The simple process of making checklists and then ticking the items as I complete them seems to work well for me.
Something I found interesting
News is breaking about astronomers finding evidence of the *possibility* of life in the atmosphere of Venus. It's exciting, but certainly not direct evidence of little green men and flying saucers. Take a read of Phil Plait's rundown of the new discoveries.
Learn with me
During my small re-design of the site, I wanted to check the mobile design on my phone but for some reason I couldn't connect to
localhost:4000 which was odd, I was able to with my other project on port 8000. At first I thought maybe that specific port was closed, so I served up Jekyll on 8000, but that wasn't the case either. After a little head scratching and searching, I came across a great blog post by Zarino Zappia explaining that you have to add a
--host 0.0.0.0 flag to the Jekyll server command to be able to access the site from your local network. Thanks Zarino!
I usually don't like all these "One Div" or "One Line" articles, but this One Line Layouts article is a fantastic resource for some wonderful Flexbox and Grid tips. The headline is a bit click-baity since you can't have an entire layout in one line, but I may just be a grouch. Worth not just a read but a bookmark for quick reference.