<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://normand1.github.io/DavesCodeBlog/feed.xml" rel="self" type="application/atom+xml" /><link href="https://normand1.github.io/DavesCodeBlog/" rel="alternate" type="text/html" /><updated>2026-07-04T16:33:11+00:00</updated><id>https://normand1.github.io/DavesCodeBlog/feed.xml</id><title type="html">Dave’s Code Blog</title><subtitle>Random thoughts about code, from David Norman.</subtitle><entry><title type="html">Hello, World</title><link href="https://normand1.github.io/DavesCodeBlog/meta/2026/07/04/hello-world.html" rel="alternate" type="text/html" title="Hello, World" /><published>2026-07-04T16:00:00+00:00</published><updated>2026-07-04T16:00:00+00:00</updated><id>https://normand1.github.io/DavesCodeBlog/meta/2026/07/04/hello-world</id><content type="html" xml:base="https://normand1.github.io/DavesCodeBlog/meta/2026/07/04/hello-world.html"><![CDATA[<p>Welcome to the blog. This first post does double duty: it says hello, and it
shows you exactly how every future post gets published.</p>

<h2 id="how-to-add-a-new-post">How to add a new post</h2>

<ol>
  <li>Create a file in the <code class="language-plaintext highlighter-rouge">_posts/</code> directory named
<code class="language-plaintext highlighter-rouge">YYYY-MM-DD-a-short-slug.markdown</code> — for example
<code class="language-plaintext highlighter-rouge">2026-07-11-debugging-a-race-condition.markdown</code>. The date and slug in the
filename become part of the post’s URL, so pick them deliberately.</li>
  <li>Start the file with <strong>front matter</strong> — the block fenced by <code class="language-plaintext highlighter-rouge">---</code> lines at
the top of this very file. At minimum set <code class="language-plaintext highlighter-rouge">layout: post</code>, a <code class="language-plaintext highlighter-rouge">title</code>, and a
<code class="language-plaintext highlighter-rouge">date</code>. <code class="language-plaintext highlighter-rouge">categories</code> is optional.</li>
  <li>Write the body in Markdown below the front matter.</li>
  <li>Commit and push to the <code class="language-plaintext highlighter-rouge">master</code> branch. GitHub Pages rebuilds the site
automatically, and the post is live in a minute or two. That’s the whole
workflow — no build step to run yourself.</li>
</ol>

<h2 id="previewing-locally-optional">Previewing locally (optional)</h2>

<p>If you want to see changes before pushing, run the local server:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>bundle <span class="nb">exec </span>jekyll serve
</code></pre></div></div>

<p>Then open <a href="http://localhost:4000/DavesCodeBlog/">http://localhost:4000/DavesCodeBlog/</a>. The server rebuilds on every
save, so you get a live preview as you write.</p>

<h2 id="markdown-including-code">Markdown, including code</h2>

<p>Standard Markdown works — <strong>bold</strong>, <em>italics</em>, <a href="https://github.com/normand1">links</a>,
lists, blockquotes, and fenced code blocks with syntax highlighting:</p>

<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">def</span> <span class="nf">greet</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span>
  <span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">!"</span>
<span class="k">end</span>

<span class="n">greet</span><span class="p">(</span><span class="s2">"world"</span><span class="p">)</span>
</code></pre></div></div>

<p>That’s it. Delete this post whenever you like — it’s just here to get you
started.</p>]]></content><author><name></name></author><category term="meta" /><summary type="html"><![CDATA[Welcome to the blog. This first post does double duty: it says hello, and it shows you exactly how every future post gets published.]]></summary></entry></feed>