www-home/drafts/test.html

187 lines
11 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="/favicon.ico">
<link rel="canonical" href="https://www.mcmillen.dev/drafts/test.html">
<link rel="alternate" type="application/atom+xml" href="https://www.mcmillen.dev/feed.atom" title="Colin McMillen's Blog - Atom">
<title>Test Page | Colin McMillen</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=block" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Fira+Mono:500&display=block" rel="stylesheet">
<link rel="stylesheet" href="/pygments.css">
<link rel="stylesheet" href="/style.css">
</head>
<body>
<div id="page-container">
<div id="content-wrap">
<div id="header">
<div class="content">
<a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed" style="width: 17px; height: 17px; margin-bottom: 1px;"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div>
</div>
<div class="content">
<h1 id="test-page">Test Page</h1>
<div class="toc">
<ul>
<li><a href="#test-page">Test Page</a><ul>
<li><a href="#oolong-tea">Oolong Tea</a></li>
<li><a href="#green-tea">Green Tea</a></li>
<li><a href="#black-tea">Black Tea</a></li>
<li><a href="#rosemary-gimlet">Rosemary Gimlet</a></li>
<li><a href="#rosemary-simple-syrup">Rosemary Simple Syrup</a></li>
<li><a href="#spearmint-simple-syrup">Spearmint Simple Syrup</a></li>
<li><a href="#milk-washed-rum-or-seedlip">Milk-Washed Rum (or Seedlip)</a></li>
<li><a href="#dr-j-orange-julius-cocktail">Dr. J (Orange Julius cocktail)</a></li>
<li><a href="#pesto">Pesto</a></li>
<li><a href="#coffee-liqueur">Coffee Liqueur</a></li>
<li><a href="#basilgeuse">Basilgeuse</a></li>
</ul>
</li>
<li><a href="#hugo-installation">Hugo Installation</a><ul>
<li><a href="#make-a-new-post">Make a new post</a></li>
<li><a href="#running-the-server-so-that-i-can-access-it-from-my-phone-on-tailscale">Running the server so that I can access it from my phone on Tailscale:</a></li>
<li><a href="#now-some-code">now some code</a></li>
<li><a href="#python">python</a></li>
<li><a href="#python-markdown-references">python markdown references</a></li>
</ul>
</li>
</ul>
</div>
<h2 id="oolong-tea">Oolong Tea</h2>
<ul>
<li>Jade Nantou: rolled. gentle flavor, a bit sweet and floral. Great both hot and cold-brewed.</li>
<li>Fern Stream Amber Oolong: okay but I didnt like it as much as the Jade Nantou. A bit earthier, less gentle.</li>
<li>Bei Dou: twisted. 3g in 200ml water, 2 min infusion: pretty strong, but good. Mineral-y? Smoky, maybe, in the sense of whiskey rather than lapsang souchong. 6g as iced tea is nicely strong. One of my favorites. </li>
<li>Golden Buds Milk Oolong Jin Xuan: 200F. Reminds me of the Jade Nantou, but more floral? Given that its more expensive than the Jade Nantou, seems less worth keeping around except for occasional variety.</li>
<li>Shan Lin Xi: rolled. 195F. another floral sort of tea. Beautiful full leaves.</li>
<li>Baked GABA: rolled. 200F. strong aroma of raisins. Ended up finding this a bit too cloying (?)</li>
<li>Wudong Lao Cong: twisted. 175F. Another earthy / mineral-y tea, maybe less so than the Bei Dou? Its pretty pricey since it comes from 300-year-old trees.</li>
</ul>
<h2 id="green-tea">Green Tea</h2>
<ul>
<li>Sencha Asatsuyu: well-rounded. Some notes of corn? Or popcorn? Strong without being fishy.</li>
<li>Sencha Yame: pretty bold. I like it iced, and hot when Im feeling like something grassier.</li>
<li>Sencha Fukumushi: also pretty strongly-flavored / vegetal.</li>
<li>Sencha Fuji / Asanoka: also in the “well-rounded” bin for me.</li>
<li>Gyokuro: good, but 160F brew = less hot for winter. Try again in summer?</li>
<li>Bi Luo Chun: 3g, 3 min infusion: pretty gentle taste (even with a long steep) but hints of cayenne. Ultimately, not too impressive to me.</li>
<li>Dragonwell Long Jing: pretty good, closer to a Japanese green tea taste than the Bi Luo Chun. When iced, reminds me a lot of store-bought iced green tea &ndash; very default sort of flavor.</li>
<li>Yamacha Hamamatsu (from Dobra in Pittsburgh): very good, Japanese green tea thats halfway to Chinese in terms of larger leaves, well-rounded green tea taste.</li>
<li>Golden Green: I liked this more than expected? Kinda floral a little bit?</li>
</ul>
<h2 id="black-tea">Black Tea</h2>
<ul>
<li>Irish Breakfast Tea, Assam Chandighat Estate: solidly astringent &amp; strong.</li>
<li>Yunnan Gold Tips: a little more interesting than a breakfast tea but not like, a lot? idk</li>
</ul>
<h2 id="rosemary-gimlet">Rosemary Gimlet</h2>
<p>via <a href="https://www.davidlebovitz.com/rosemary-gimlet-gin-cocktail-recipe/">https://www.davidlebovitz.com/rosemary-gimlet-gin-cocktail-recipe/</a></p>
<p>2oz gin, 3/4 oz lime juice, 3/4 oz rosemary simple syrup. Shake with ice.<br>
Good with both gin (Tanqueray) and white rum (Bully Boy)</p>
<h2 id="rosemary-simple-syrup">Rosemary Simple Syrup</h2>
<p>Heat until mixture is hot and sugar dissolves. (I let it gently simmer for about 10 minutes.)<br>
Let cool to room temperature, then strain and refrigerate.</p>
<p>Thyme simple syrup: as above, but about 2g thyme (10-12 sprigs of a few inches)? Was a bit weak, lets try 4g next time.</p>
<h2 id="spearmint-simple-syrup">Spearmint Simple Syrup</h2>
<p>160g water, 160g sugar, 10g spearmint</p>
<h2 id="milk-washed-rum-or-seedlip">Milk-Washed Rum (or Seedlip)</h2>
<p>Start with 6 oz rum, pour in 2 oz whole milk. Add lime-strength orange juice until milk starts to curdle. Stir it gently. Let set for some hours, then strain through coffee filters.</p>
<h2 id="dr-j-orange-julius-cocktail">Dr. J (Orange Julius cocktail)</h2>
<p>2 oz milk-washed rum, 3/4 oz lime-strength orange juice, 3/4 oz simple syrup (or 3/4 tbsp sugar + 3/4 tbsp water). Shake with ice.</p>
<h2 id="pesto">Pesto</h2>
<p>2 cups fresh basil leaves (no stems, about 50g)<br>
2 tablespoons pine nuts or toasted almonds<br>
2 large cloves garlic (Ive used double this for more garlic flavor&hellip; = 2 tsp minced)<br>
1/2 cup extra-virgin olive oil</p>
<p>Combine basil leaves, nuts, and garlic in a food processor and process until very finely minced. With the machine running slowly dribble in the oil and process until the mixture is smooth. Store in refrigerator or freezer.</p>
<h2 id="coffee-liqueur">Coffee Liqueur</h2>
<p>Following this recipe:<br>
<a href="https://www.seriouseats.com/recipes/2012/01/diy-coffee-liqueur-homemade-kahlua.html">https://www.seriouseats.com/recipes/2012/01/diy-coffee-liqueur-homemade-kahlua.html</a><br>
With Peets Decaf Dark Roast House Blend (pre-ground from Bfresh).</p>
<h2 id="basilgeuse">Basilgeuse</h2>
<p>1.5oz gin, 1oz dry vermouth, 1/2-3/4oz simple syrup, 2 dashes ginger bitters, about 8 basil leaves muddled and another top for garnish</p>
<h1 id="hugo-installation">Hugo Installation</h1>
<p>I got Hugo v0.83.1 from <a href="https://github.com/gohugoio/hugo/releases">https://github.com/gohugoio/hugo/releases</a></p>
<div class="codehilite"><pre><span></span>wget https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-64bit.deb
sudo dpkg -i hugo_0.83.1_Linux-64bit.deb
</pre></div>
<p><code>hugo version</code> tells me:<br>
<code>hugo v0.83.1-5AFE0A57 linux/amd64 BuildDate=2021-05-02T14:38:05Z VendorInfo=gohugoio</code></p>
<p>Following the install instructions from<br>
<a href="https://gohugo.io/getting-started/quick-start/">https://gohugo.io/getting-started/quick-start/</a></p>
<p>and using the PaperMod theme:<br>
<a href="https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/">https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/</a></p>
<div class="codehilite"><pre><span></span><span class="c1"># Make new site with YAML config files</span>
hugo new site hugotest -f yml
<span class="nb">cd</span> hugotest
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth<span class="o">=</span><span class="m">1</span>
vim config.yml
<span class="c1"># add this on a new line:</span>
<span class="c1"># theme: &quot;PaperMod&quot;</span>
</pre></div>
<p>To update the theme later:</p>
<div class="codehilite"><pre><span></span><span class="nb">cd</span> themes/PaperMod
git pull
</pre></div>
<h2 id="make-a-new-post">Make a new post</h2>
<div class="codehilite"><pre><span></span>hugo new posts/hello-world.md
/home/mcmillen/hugotest/content/posts/hello-world.md created
</pre></div>
<h2 id="running-the-server-so-that-i-can-access-it-from-my-phone-on-tailscale">Running the server so that I can access it from my phone on Tailscale:</h2>
<p><code>hugo server --baseURL http://100.81.145.47 --bind 100.81.145.47 -D</code></p>
<h2 id="now-some-code">now some code</h2>
<div class="codehilite"><pre><span></span><span class="c1"># Make new site with YAML config files</span>
hugo new site hugotest -f yml
<span class="nb">cd</span> hugotest
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth<span class="o">=</span><span class="m">1</span>
vim config.yml
<span class="c1"># add this on a new line:</span>
<span class="c1"># theme: &quot;PaperMod&quot;</span>
</pre></div>
<h2 id="python">python</h2>
<div class="codehilite"><pre><span></span><span class="kn">import</span> <span class="nn">markdown</span>
<span class="n">markdown</span><span class="o">.</span><span class="n">markdown</span><span class="p">(</span><span class="s1">&#39;hello world&#39;</span><span class="p">)</span>
<span class="k">print</span><span class="p">(</span><span class="s1">&#39;what is this?&#39;</span><span class="p">)</span>
<span class="n">x</span> <span class="o">=</span> <span class="mi">42</span>
<span class="nb">open</span><span class="p">(</span><span class="s1">&#39;foo.html&#39;</span><span class="p">,</span> <span class="s1">&#39;w&#39;</span><span class="p">)</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="s1">&#39;oh no&#39;</span><span class="p">)</span>
<span class="s1">&#39;012345678901234567890123456789012345678901234567890123456789012345678901234567&#39;</span>
</pre></div>
<h2 id="python-markdown-references">python markdown references</h2>
<p><a href="https://python-markdown.github.io/extensions/">https://python-markdown.github.io/extensions/</a></p>
<p><a href="https://python-markdown.github.io/extensions/code_hilite/">https://python-markdown.github.io/extensions/code_hilite/</a></p>
<p><code>pygmentize -S monokai -f html -a .codehilite &gt; pygments.css</code></p>
</div>
</div>
<div id="footer">
<div class="content">
&copy; 2021 <a href="/" class="undecorated">Colin McMillen</a>. No cookies, no tracking.
</div>
</div>
</div>
</body>
</html>