-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
10 lines (10 loc) · 15.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
<!doctype html><html lang=en dir=auto><head><meta name=generator content="Hugo 0.112.7"><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=robots content="index, follow"><title>asphaltbuffet dev blog</title><meta name=keywords content="blog,PaperMod,dev,asphaltbuffet"><meta name=description content="mistakes and successes using a computer"><meta name=author content="Ben"><link rel=canonical href=https://asphaltbuffet.com/><link crossorigin=anonymous href=/assets/css/stylesheet.106bd38c7fdf8e1964d2f143994e4e9c8e11f6465ecc860c4332edb4392869cf.css integrity="sha256-EGvTjH/fjhlk0vFDmU5OnI4R9kZezIYMQzLttDkoac8=" rel="preload stylesheet" as=style><link rel=icon href=https://asphaltbuffet.com/favicon.ico><link rel=icon type=image/png sizes=16x16 href=https://asphaltbuffet.com/favicon-16x16.png><link rel=icon type=image/png sizes=32x32 href=https://asphaltbuffet.com/favicon-32x32.png><link rel=apple-touch-icon href=https://asphaltbuffet.com/apple-touch-icon.png><link rel=mask-icon href=https://asphaltbuffet.com/safari-pinned-tab.svg><meta name=theme-color content="#2e2e33"><meta name=msapplication-TileColor content="#2e2e33"><link rel=alternate type=application/rss+xml href=https://asphaltbuffet.com/index.xml><noscript><style>#theme-toggle,.top-link{display:none}</style><style>@media(prefers-color-scheme:dark){:root{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--hljs-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--theme)}.list:not(.dark)::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--theme)}}</style></noscript><script async src="https://www.googletagmanager.com/gtag/js?id=G-XTW4M04NS6"></script>
<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-XTW4M04NS6",{anonymize_ip:!1})}</script><meta property="og:title" content="asphaltbuffet dev blog"><meta property="og:description" content="mistakes and successes using a computer"><meta property="og:type" content="website"><meta property="og:url" content="https://asphaltbuffet.com/"><meta property="og:site_name" content="asphaltbuffet dev blog"><meta name=twitter:card content="summary"><meta name=twitter:title content="asphaltbuffet dev blog"><meta name=twitter:description content="mistakes and successes using a computer"><script type=application/ld+json>{"@context":"https://schema.org","@type":"Organization","name":"asphaltbuffet dev blog","url":"https://asphaltbuffet.com/","description":"mistakes and successes using a computer","thumbnailUrl":"https://asphaltbuffet.com/favicon.ico","sameAs":["https://github.com/asphaltbuffet","https://gitlab.com/asphaltbuffet","https://www.hackerrank.com/asphaltbuffet","https://www.linkedin.com/in/ben-lechlitner/","https://app.thestorygraph.com/profile/asphaltbuffet","https://steamcommunity.com/id/asphaltbuffet/","https://ko-fi.com/asphaltbuffet"]}</script></head><body class=list id=top><script>localStorage.getItem("pref-theme")==="dark"?document.body.classList.add("dark"):localStorage.getItem("pref-theme")==="light"?document.body.classList.remove("dark"):window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add("dark")</script><header class=header><nav aria-label="Site menu" class=nav><div class=logo><a href=https://asphaltbuffet.com/ accesskey=h title="asphalbuffet dev blog (Alt + H)"><img src=https://asphaltbuffet.com/apple-touch-icon.png alt=logo aria-label=logo height=35>asphalbuffet dev blog</a><div class=logo-switches><button id=theme-toggle accesskey=t title="(Alt + T)"><svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></button></div></div><ul id=menu><li><a href=https://asphaltbuffet.com/archive/ title=archive><span>archive</span></a></li><li><a href=https://asphaltbuffet.com/projects/ title=projects><span>projects</span></a></li><li><a href=https://asphaltbuffet.com/tags/ title=tags><span>tags</span></a></li><li><a href=https://asphaltbuffet.com/about title=about><span>about</span></a></li></ul></nav></header><main class=main><article class="first-entry home-info"><header class=entry-header><h1>Welcome.</h1></header><div class=entry-content></div><footer class=entry-footer><div class=social-icons><a href=https://github.com/asphaltbuffet target=_blank rel="noopener noreferrer me" title=Github><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37.0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44.0 0020 4.77 5.07 5.07.0 0019.91 1S18.73.65 16 2.48a13.38 13.38.0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07.0 005 4.77 5.44 5.44.0 003.5 8.55c0 5.42 3.3 6.61 6.44 7A3.37 3.37.0 009 18.13V22"/></svg></a><a href=https://gitlab.com/asphaltbuffet target=_blank rel="noopener noreferrer me" title=Gitlab><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22.65 14.39 12 22.13 1.35 14.39a.84.84.0 01-.3-.94l1.22-3.78 2.44-7.51A.42.42.0 014.82 2a.43.43.0 01.58.0.42.42.0 01.11.18l2.44 7.49h8.1l2.44-7.51A.42.42.0 0118.6 2a.43.43.0 01.58.0.42.42.0 01.11.18l2.44 7.51L23 13.45a.84.84.0 01-.35.94z"/></svg></a><a href=https://www.hackerrank.com/asphaltbuffet target=_blank rel="noopener noreferrer me" title=Hackerrank><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 35" fill="currentcolor" stroke-width="0" stroke="currentcolor"><g><path d="M0 32.95H3.86 7.73V27.23 21.52h3.86 3.86v5.71 5.72h3.86 3.87V17.5 2.05H19.31 15.45V7.77v5.71H11.59 7.73V7.77 2.05H3.86.0V17.5 32.95z" id="i2pS2ila1d"/><path d="M27.19 32.95H38.63 50.06V17.5 2.05H38.63 27.19V17.5 32.95z" id="dgDKP06E5"/></g></svg></a><a href=https://www.linkedin.com/in/ben-lechlitner/ target=_blank rel="noopener noreferrer me" title=Linkedin><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6z"/><rect x="2" y="9" width="4" height="12"/><circle cx="4" cy="4" r="2"/></svg></a><a href=https://app.thestorygraph.com/profile/asphaltbuffet target=_blank rel="noopener noreferrer me" title=Thestorygraph><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"/></svg></a><a href=https://steamcommunity.com/id/asphaltbuffet/ target=_blank rel="noopener noreferrer me" title=Steam><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentcolor" stroke="none"><path d="M11.979.0C5.678.0.511 4.86.022 11.037l6.432 2.658c.545-.371 1.203-.59 1.912-.59.063.0.125.004.188.006l2.861-4.142V8.91c0-2.495 2.028-4.524 4.524-4.524 2.494.0 4.524 2.031 4.524 4.527s-2.03 4.525-4.524 4.525h-.105l-4.076 2.911c0 .052.004.105.004.159.0 1.875-1.515 3.396-3.39 3.396-1.635.0-3.016-1.173-3.331-2.727L.436 15.27C1.862 20.307 6.486 24 11.979 24c6.627.0 11.999-5.373 11.999-12S18.605.0 11.979.0zM7.54 18.21l-1.473-.61c.262.543.714.999 1.314 1.25 1.297.539 2.793-.076 3.332-1.375.263-.63.264-1.319.005-1.949s-.75-1.121-1.377-1.383c-.624-.26-1.29-.249-1.878-.03l1.523.63c.956.4 1.409 1.5 1.009 2.455-.397.957-1.497 1.41-2.454 1.012H7.54zm11.415-9.303c0-1.662-1.353-3.015-3.015-3.015-1.665.0-3.015 1.353-3.015 3.015.0 1.665 1.35 3.015 3.015 3.015 1.663.0 3.015-1.35 3.015-3.015zm-5.273-.005c0-1.252 1.013-2.266 2.265-2.266 1.249.0 2.266 1.014 2.266 2.266.0 1.251-1.017 2.265-2.266 2.265-1.253.0-2.265-1.014-2.265-2.265z"/></svg></a><a href=https://ko-fi.com/asphaltbuffet target=_blank rel="noopener noreferrer me" title=Kofi><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 -3 23 27" fill="none" stroke="currentcolor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M23.881 8.948c-.773-4.085-4.859-4.593-4.859-4.593H.723c-.604.0-.679.798-.679.798s-.082 7.324-.022 11.822c.164 2.424 2.586 2.672 2.586 2.672s8.267-.023 11.966-.049c2.438-.426 2.683-2.566 2.658-3.734 4.352.24 7.422-2.831 6.649-6.916zm-11.062 3.511c-1.246 1.453-4.011 3.976-4.011 3.976s-.121.119-.31.023c-.076-.057-.108-.09-.108-.09-.443-.441-3.368-3.049-4.034-3.954-.709-.965-1.041-2.7-.091-3.71.951-1.01 3.005-1.086 4.363.407.0.0 1.565-1.782 3.468-.963 1.904.82 1.832 3.011.723 4.311zm6.173.478c-.928.116-1.682.028-1.682.028V7.284h1.77s1.971.551 1.971 2.638c0 1.913-.985 2.667-2.059 3.015z"/></svg></a></div></footer></article><article class=post-entry><header class=entry-header><h2>Monitoring my HVAC</h2></header><div class=entry-content><p>When I want to know how well my HVAC system is working, smart thermostats and ad-hoc checks don’t get me as far as I’d like. That means it’s time to create an entire system to monitor that information and present it graphically. This is normal, right?
Requirements Overall, I didn’t want to spend much money on this. Yes, time is money, blah blah blah. Learning new tech offsets the cost of time, and it’s a better use of late-night chill time than playing a game anyway....</p></div><footer class=entry-footer><span title='2022-11-27 00:00:00 +0000 UTC'>2022-11-27</span> · <span title='2022-11-28 01:44:22 -0500 -0500'>(updated 2022-11-28)</span> · 15 min · 3184 words · Ben</footer><a class=entry-link aria-label="post link to Monitoring my HVAC" href=https://asphaltbuffet.com/posts/2022/11/hvac-monitoring/></a></article><article class=post-entry><header class=entry-header><h2>SRI: Fixing Security Warnings</h2></header><div class=entry-content><p>Running some static code scanning on my rendered site with Sonarcloud, I found some potential security concerns with how I was loading the mermaid javascript.
...</p></div><footer class=entry-footer><span title='2022-07-17 00:00:00 +0000 UTC'>2022-07-17</span> · 1 min · 180 words · Ben</footer><a class=entry-link aria-label="post link to SRI: Fixing Security Warnings" href=https://asphaltbuffet.com/posts/2022/07/js-integrity/></a></article><article class=post-entry><header class=entry-header><h2>Obsidian Configuration</h2></header><div class=entry-content><p>Here is the setup I’ve been using in Obsidian since late March 2022. The default plugins and configuration would provide most of the functionality I want. However, I tweaked a few things to add more value than my Bullet Journal could provide.
...</p></div><footer class=entry-footer><span title='2022-07-03 11:43:28 -0400 -0400'>2022-07-03</span> · <span title='2022-11-20 22:29:56 -0500 -0500'>(updated 2022-11-20)</span> · 7 min · 1333 words · Ben</footer><a class=entry-link aria-label="post link to Obsidian Configuration" href=https://asphaltbuffet.com/posts/2022/07/obsidian-setup/></a></article><article class=post-entry><header class=entry-header><h2>Mermaid + Hugo v2: Better, Faster</h2></header><div class=entry-content><p>It took three days after finishing the work to display Mermaid diagrams (using shortcodes) to discover an easier method. Let’s talk a bit about custom markdown rendering!
...</p></div><footer class=entry-footer><span title='2022-06-26 00:00:00 +0000 UTC'>2022-06-26</span> · <span title='2022-07-18 00:03:48 -0400 -0400'>(updated 2022-07-18)</span> · 3 min · Ben</footer><a class=entry-link aria-label="post link to Mermaid + Hugo v2: Better, Faster" href=https://asphaltbuffet.com/posts/2022/06/mermaid-hugo-v2/></a></article><article class=post-entry><header class=entry-header><h2>Mermaid + Hugo</h2></header><div class=entry-content><p>I learned about Mermaid in 2021 while trying to find a way to better see changes in diagrams at work. Being able to look through a revision history of images was tolerable but only slightly better than the proverbial needle and the unexplained presence of a nearby haystack.
But Mermaid resolves my complaints by rendering text/code into fairly nice-looking diagrams and visualizations. Some are too plain for my liking (looking at you, state diagram), but they convey information graphically....</p></div><footer class=entry-footer><span title='2022-06-23 20:16:28 -0400 -0400'>2022-06-23</span> · <span title='2022-07-13 00:33:29 -0400 -0400'>(updated 2022-07-13)</span> · 4 min · Ben</footer><a class=entry-link aria-label="post link to Mermaid + Hugo" href=https://asphaltbuffet.com/posts/2022/06/mermaid-hugo/></a></article><footer class=page-footer><nav aria-label=Pages class=pagination><a class=next href=https://asphaltbuffet.com/page/2/>Next »</a></nav></footer></main><footer class=footer><span>© 2023 <a href=https://asphaltbuffet.com/>asphaltbuffet dev blog</a></span>
<span>Powered by
<a href=https://gohugo.io/ rel="noopener noreferrer" target=_blank>Hugo</a> &
<a href=https://github.com/adityatelange/hugo-PaperMod/ rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top aria-label="go to top" title="Go to Top (Alt + G)" class=top-link id=top-link accesskey=g><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentcolor"><path d="M12 6H0l6-6z"/></svg></a><script>let menu=document.getElementById("menu");menu&&(menu.scrollLeft=localStorage.getItem("menu-scroll-position"),menu.onscroll=function(){localStorage.setItem("menu-scroll-position",menu.scrollLeft)}),document.querySelectorAll('a[href^="#"]').forEach(e=>{e.addEventListener("click",function(e){e.preventDefault();var t=this.getAttribute("href").substr(1);window.matchMedia("(prefers-reduced-motion: reduce)").matches?document.querySelector(`[id='${decodeURIComponent(t)}']`).scrollIntoView():document.querySelector(`[id='${decodeURIComponent(t)}']`).scrollIntoView({behavior:"smooth"}),t==="top"?history.replaceState(null,null," "):history.pushState(null,null,`#${t}`)})})</script><script>var mybutton=document.getElementById("top-link");window.onscroll=function(){document.body.scrollTop>800||document.documentElement.scrollTop>800?(mybutton.style.visibility="visible",mybutton.style.opacity="1"):(mybutton.style.visibility="hidden",mybutton.style.opacity="0")}</script><script>document.getElementById("theme-toggle").addEventListener("click",()=>{document.body.className.includes("dark")?(document.body.classList.remove("dark"),localStorage.setItem("pref-theme","light")):(document.body.classList.add("dark"),localStorage.setItem("pref-theme","dark"))})</script></body></html>