{"id":15589,"date":"2022-11-27T13:33:59","date_gmt":"2022-11-27T20:33:59","guid":{"rendered":"https:\/\/macblaze.ca\/?p=15589"},"modified":"2022-11-27T13:33:59","modified_gmt":"2022-11-27T20:33:59","slug":"markdown-a-pi-update","status":"publish","type":"post","link":"https:\/\/macblaze.ca\/?p=15589","title":{"rendered":"Markdown &#038; a Pi update"},"content":{"rendered":"<p>Because I know you care&#8230;<\/p>\n<p><strong>Previous updates<\/strong>: <a href=\"https:\/\/macblaze.ca\/?p=14808\">December 2021: <\/a>An Introduction To Dashboards;\u00a0<a href=\"https:\/\/macblaze.ca\/?p=14706\">October 2021<\/a>: Pi Update;\u00a0<a href=\"https:\/\/macblaze.ca\/?p=14615\" rel=\"bookmark\">August 2021: What\u2019s Your Pi Doing?<\/a><\/p>\n<h2>So what&#8217;s up with markdown?<\/h2>\n<p>Way back in December 2014 (<a href=\"https:\/\/macblaze.ca\/?p=7837\">Markdown<\/a>) I came across this simple markup language called Markdown. Since I wrote in text editors\u00a0 anyway (Word makes me crazy!) it seemed like a good way to add some simple formatting. Fast forward 8 years or so and I am still using it and use it almost exclusively for note-taking and recording (for posterity) things I am doing. (I&#8217;ve got a <a href=\"https:\/\/macblaze.ca\/?p=7856\">cheat sheet posted<\/a> for those who are more interested.<\/p>\n<p>These days all my computer set-up and install notes are in Markdown, my yearly <a href=\"https:\/\/macblaze.ca\/?page_id=13497\">books read<\/a>, and lately, all my ebook and accessibility research have been written in Markdown.<\/p>\n<p>A few weeks back I had one of those &#8220;I wonder if&#8230;&#8221; thoughts and it transformed my world. You perceive, I had a <em>lot<\/em> of notes and note files going by now and it was getting worse and worse everyday&#8230; since I am basically being paid these days to make notes about ebooks and accessibility and I like to give my money&#8217;s worth. Frankly it was becoming a big mess of files, folders and disorganized gibberish.<\/p>\n<p>I wondered if there is a way to render all those markdown notes on a simple website? I&#8217;ve done it with my notes on <a href=\"https:\/\/b-t-k.github.io\/\">GitHub for Standard eBooks<\/a> but that is a fancy Jekyll installation. And I mean, half the time I am pasting markdown into this WordPress blog and the Jetpack plugin I installed renders it as html so it shouldn&#8217;t be that complicated &#8230;should it? But a separate WordPress install was just too unwieldy and frankly I have having to log in all the time since WordPress helpfully built in a timer to kick you out after a certain period of time&#8230; sigh.<\/p>\n<p>So that disqualifies my first two choices. So time to do a bit of googlin&#8217;<\/p>\n<h2>Enter MkDocs<\/h2>\n<blockquote><p><a href=\"https:\/\/www.mkdocs.org\/\">https:\/\/www.mkdocs.org\/<\/a><\/p>\n<p>\u2014 MkDocs is a\u00a0<strong>fast<\/strong>,\u00a0<strong>simple<\/strong>\u00a0and\u00a0<strong>downright gorgeous<\/strong> static site generator that&#8217;s geared towards&#8230;<\/p><\/blockquote>\n<p>And is it ever. A quick docker install, a bit of reading about how to tweak the interface and voila! A clean, searchable interface that updates every time I hit save.<\/p>\n<p>This:<a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.00.06-PM.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-15590\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.00.06-PM-365x400.jpg\" alt=\"\" width=\"365\" height=\"400\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.00.06-PM-365x400.jpg 365w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.00.06-PM-137x150.jpg 137w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.00.06-PM-768x842.jpg 768w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.00.06-PM.jpg 819w\" sizes=\"(max-width: 365px) 100vw, 365px\" \/><\/a><\/p>\n<p>Becomes this:<a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-12.57.30-PM.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-15591\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-12.57.30-PM-400x295.jpg\" alt=\"\" width=\"400\" height=\"295\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-12.57.30-PM-400x295.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-12.57.30-PM-150x111.jpg 150w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-12.57.30-PM-768x566.jpg 768w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-12.57.30-PM.jpg 965w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>All organized, neat and tidy and most especially searchable. As you can imagine I am slowly making more and more sites and cleaning up a lot of old notes.<\/p>\n<p>My world has been rocked.<\/p>\n<h2>What&#8217;s on the Pi these days?<\/h2>\n<p>I keep tweaking with things. I did pick up a Pi-400 as a machine to experiment on since I am trying to use the original Pi 4 as a production machine more and more.<\/p>\n<p><a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/th-3685725162.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-15592\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/th-3685725162-400x285.jpg\" alt=\"\" width=\"400\" height=\"285\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/th-3685725162-400x285.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/th-3685725162-150x107.jpg 150w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/th-3685725162.jpg 474w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>A Pi-400 is a 4 GB Pi 4 in a keyboard case. For some reason they are actually available where as all the other Pi models are very hard to get.<\/p>\n<h3>The Dashboard Today<\/h3>\n<p><a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.07.27-PM.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-15593\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.07.27-PM.jpg\" alt=\"\" width=\"1009\" height=\"728\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.07.27-PM.jpg 1009w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.07.27-PM-400x289.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.07.27-PM-150x108.jpg 150w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.07.27-PM-768x554.jpg 768w\" sizes=\"(max-width: 1009px) 100vw, 1009px\" \/><\/a><\/p>\n<p>I&#8217;ve reorganized a bit but the essentials haven&#8217;t changed much. Notable new additions are VS Code Server, MeTube, Home Assistant and Snippet Box.<\/p>\n<h3>VS Code Server<\/h3>\n<p>VS Code Server is one of the code editors I use to\u00a0 write python. Having it on my Pi as a web-based version is occasionally helpful but it is most useful for editing yaml files and configs for the docker containers so I don&#8217;t have to mount the Pi as a drive etc.<\/p>\n<p><a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.11.58-PM.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-15594\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.11.58-PM-400x246.jpg\" alt=\"\" width=\"400\" height=\"246\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.11.58-PM-400x246.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.11.58-PM-1024x629.jpg 1024w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.11.58-PM-150x92.jpg 150w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.11.58-PM-768x471.jpg 768w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.11.58-PM.jpg 1150w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<h3>MeTube<\/h3>\n<p>Is a fast and easy YouTube downloader. Paste in the URL and it downloads the video. Great for archiving favourite shows like Taskmaster.<\/p>\n<p><a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.16.35-PM.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-15595\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.16.35-PM-400x261.jpg\" alt=\"\" width=\"400\" height=\"261\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.16.35-PM-400x261.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.16.35-PM-150x98.jpg 150w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.16.35-PM-768x501.jpg 768w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.16.35-PM.jpg 918w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<h3>Home Assistant<\/h3>\n<p>I bought my first smart bulb. And since I am a cheapo I didn&#8217;t buy the expensive Hue that works with Macs, I had to do some hacking to get Siri to recognize it. I will probably do a post later about that whole adventure, but suffice it to say I landed on Home Assistant \u2014 which is a missive open source home automation software package with a huge community. All to control one single bulb.<\/p>\n<p>But hey it turns on and off everyday all by itself and even turns on earlier if it&#8217;s cloudy outside! W00t!<\/p>\n<p><a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.24.05-PM.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-15598\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.24.05-PM-400x220.jpg\" alt=\"\" width=\"400\" height=\"220\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.24.05-PM-400x220.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.24.05-PM-150x82.jpg 150w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.24.05-PM-768x422.jpg 768w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.24.05-PM.jpg 909w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>MkDocs<\/h3>\n<p>See above \ud83d\ude42<\/p>\n<h3>Snippet Box<\/h3>\n<p>Snippet box may not be long for the (Pi) world&#8230; It&#8217;s a great app that allows you to store snippets of code that you use fairly frequently but always forget the specifics of.<\/p>\n<p>I was using it to store regex&#8217;s but I have a feeling I will replace it with a MkDocs site. We will see I guess&#8230;<\/p>\n<p><a href=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.18.25-PM.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-15596\" src=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.18.25-PM-400x292.jpg\" alt=\"\" width=\"400\" height=\"292\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.18.25-PM-400x292.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.18.25-PM-150x109.jpg 150w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.18.25-PM-768x560.jpg 768w, https:\/\/macblaze.ca\/wp-content\/uploads\/2022\/11\/Screenshot-2022-11-27-at-1.18.25-PM.jpg 911w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because I know you care&#8230; Previous updates: December 2021: An Introduction To Dashboards;\u00a0October 2021: Pi Update;\u00a0August 2021: What\u2019s Your Pi Doing? So what&#8217;s up with markdown? Way back in December 2014 (Markdown) I came across this simple markup language called Markdown. Since I wrote in text editors\u00a0 anyway (Word makes me crazy!) it seemed like [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/15589"}],"collection":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15589"}],"version-history":[{"count":2,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/15589\/revisions"}],"predecessor-version":[{"id":15600,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/15589\/revisions\/15600"}],"wp:attachment":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}