You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
11 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link rel="icon" type="image/png" href="/favicon.ico">
  7. <link rel="canonical" href="https://www.mcmillen.dev/drafts/test.html">
  8. <link rel="alternate" type="application/atom+xml" href="https://www.mcmillen.dev/feed.atom" title="Colin McMillen's Blog - Atom">
  9. <title>Test Page | Colin McMillen</title>
  10. <link rel="preconnect" href="https://fonts.gstatic.com">
  11. <link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=block" rel="stylesheet">
  12. <link href="https://fonts.googleapis.com/css?family=Fira+Mono:500&display=block" rel="stylesheet">
  13. <link rel="stylesheet" href="/pygments.css">
  14. <link rel="stylesheet" href="/style.css">
  15. </head>
  16. <body>
  17. <div id="page-container">
  18. <div id="content-wrap">
  19. <div id="header">
  20. <div class="content">
  21. <a href="/" class="undecorated">Colin McMillen</a>
  22. <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>
  23. <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
  24. </div>
  25. </div>
  26. <div class="content">
  27. <h1 id="test-page">Test Page</h1>
  28. <div class="toc">
  29. <ul>
  30. <li><a href="#test-page">Test Page</a><ul>
  31. <li><a href="#oolong-tea">Oolong Tea</a></li>
  32. <li><a href="#green-tea">Green Tea</a></li>
  33. <li><a href="#black-tea">Black Tea</a></li>
  34. <li><a href="#rosemary-gimlet">Rosemary Gimlet</a></li>
  35. <li><a href="#rosemary-simple-syrup">Rosemary Simple Syrup</a></li>
  36. <li><a href="#spearmint-simple-syrup">Spearmint Simple Syrup</a></li>
  37. <li><a href="#milk-washed-rum-or-seedlip">Milk-Washed Rum (or Seedlip)</a></li>
  38. <li><a href="#dr-j-orange-julius-cocktail">Dr. J (Orange Julius cocktail)</a></li>
  39. <li><a href="#pesto">Pesto</a></li>
  40. <li><a href="#coffee-liqueur">Coffee Liqueur</a></li>
  41. <li><a href="#basilgeuse">Basilgeuse</a></li>
  42. </ul>
  43. </li>
  44. <li><a href="#hugo-installation">Hugo Installation</a><ul>
  45. <li><a href="#make-a-new-post">Make a new post</a></li>
  46. <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>
  47. <li><a href="#now-some-code">now some code</a></li>
  48. <li><a href="#python">python</a></li>
  49. <li><a href="#python-markdown-references">python markdown references</a></li>
  50. </ul>
  51. </li>
  52. </ul>
  53. </div>
  54. <h2 id="oolong-tea">Oolong Tea</h2>
  55. <ul>
  56. <li>Jade Nantou: rolled. gentle flavor, a bit sweet and floral. Great both hot and cold-brewed.</li>
  57. <li>Fern Stream Amber Oolong: okay but I didn’t like it as much as the Jade Nantou. A bit earthier, less gentle.</li>
  58. <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>
  59. <li>Golden Buds Milk Oolong Jin Xuan: 200F. Reminds me of the Jade Nantou, but more floral? Given that it’s more expensive than the Jade Nantou, seems less worth keeping around except for occasional variety.</li>
  60. <li>Shan Lin Xi: rolled. 195F. another floral sort of tea. Beautiful full leaves.</li>
  61. <li>Baked GABA: rolled. 200F. strong aroma of raisins. Ended up finding this a bit too cloying (?)</li>
  62. <li>Wudong Lao Cong: twisted. 175F. Another earthy / mineral-y tea, maybe less so than the Bei Dou? It’s pretty pricey since it comes from 300-year-old trees.</li>
  63. </ul>
  64. <h2 id="green-tea">Green Tea</h2>
  65. <ul>
  66. <li>Sencha Asatsuyu: well-rounded. Some notes of corn? Or popcorn? Strong without being fishy.</li>
  67. <li>Sencha Yame: pretty bold. I like it iced, and hot when I’m feeling like something grassier.</li>
  68. <li>Sencha Fukumushi: also pretty strongly-flavored / vegetal.</li>
  69. <li>Sencha Fuji / Asanoka: also in the “well-rounded” bin for me.</li>
  70. <li>Gyokuro: good, but 160F brew = less hot for winter. Try again in summer?</li>
  71. <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>
  72. <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>
  73. <li>Yamacha Hamamatsu (from Dobra in Pittsburgh): very good, Japanese green tea that’s halfway to Chinese in terms of larger leaves, well-rounded green tea taste.</li>
  74. <li>Golden Green: I liked this more than expected? Kinda floral a little bit?</li>
  75. </ul>
  76. <h2 id="black-tea">Black Tea</h2>
  77. <ul>
  78. <li>Irish Breakfast Tea, Assam Chandighat Estate: solidly astringent &amp; strong.</li>
  79. <li>Yunnan Gold Tips: a little more interesting than a breakfast tea but not like, a lot? idk</li>
  80. </ul>
  81. <h2 id="rosemary-gimlet">Rosemary Gimlet</h2>
  82. <p>via <a href="https://www.davidlebovitz.com/rosemary-gimlet-gin-cocktail-recipe/">https://www.davidlebovitz.com/rosemary-gimlet-gin-cocktail-recipe/</a></p>
  83. <p>2oz gin, 3/4 oz lime juice, 3/4 oz rosemary simple syrup. Shake with ice.<br>
  84. Good with both gin (Tanqueray) and white rum (Bully Boy)</p>
  85. <h2 id="rosemary-simple-syrup">Rosemary Simple Syrup</h2>
  86. <p>Heat until mixture is hot and sugar dissolves. (I let it gently simmer for about 10 minutes.)<br>
  87. Let cool to room temperature, then strain and refrigerate.</p>
  88. <p>Thyme simple syrup: as above, but about 2g thyme (10-12 sprigs of a few inches)? Was a bit weak, let’s try 4g next time.</p>
  89. <h2 id="spearmint-simple-syrup">Spearmint Simple Syrup</h2>
  90. <p>160g water, 160g sugar, 10g spearmint</p>
  91. <h2 id="milk-washed-rum-or-seedlip">Milk-Washed Rum (or Seedlip)</h2>
  92. <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>
  93. <h2 id="dr-j-orange-julius-cocktail">Dr. J (Orange Julius cocktail)</h2>
  94. <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>
  95. <h2 id="pesto">Pesto</h2>
  96. <p>2 cups fresh basil leaves (no stems, about 50g)<br>
  97. 2 tablespoons pine nuts or toasted almonds<br>
  98. 2 large cloves garlic (I’ve used double this for more garlic flavor&hellip; = 2 tsp minced)<br>
  99. 1/2 cup extra-virgin olive oil</p>
  100. <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>
  101. <h2 id="coffee-liqueur">Coffee Liqueur</h2>
  102. <p>Following this recipe:<br>
  103. <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>
  104. With Peet’s Decaf Dark Roast House Blend (pre-ground from Bfresh).</p>
  105. <h2 id="basilgeuse">Basilgeuse</h2>
  106. <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>
  107. <h1 id="hugo-installation">Hugo Installation</h1>
  108. <p>I got Hugo v0.83.1 from <a href="https://github.com/gohugoio/hugo/releases">https://github.com/gohugoio/hugo/releases</a></p>
  109. <div class="codehilite"><pre><span></span>wget https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-64bit.deb
  110. sudo dpkg -i hugo_0.83.1_Linux-64bit.deb
  111. </pre></div>
  112. <p><code>hugo version</code> tells me:<br>
  113. <code>hugo v0.83.1-5AFE0A57 linux/amd64 BuildDate=2021-05-02T14:38:05Z VendorInfo=gohugoio</code></p>
  114. <p>Following the install instructions from<br>
  115. <a href="https://gohugo.io/getting-started/quick-start/">https://gohugo.io/getting-started/quick-start/</a></p>
  116. <p>and using the PaperMod theme:<br>
  117. <a href="https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/">https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/</a></p>
  118. <div class="codehilite"><pre><span></span><span class="c1"># Make new site with YAML config files</span>
  119. hugo new site hugotest -f yml
  120. <span class="nb">cd</span> hugotest
  121. git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth<span class="o">=</span><span class="m">1</span>
  122. vim config.yml
  123. <span class="c1"># add this on a new line:</span>
  124. <span class="c1"># theme: &quot;PaperMod&quot;</span>
  125. </pre></div>
  126. <p>To update the theme later:</p>
  127. <div class="codehilite"><pre><span></span><span class="nb">cd</span> themes/PaperMod
  128. git pull
  129. </pre></div>
  130. <h2 id="make-a-new-post">Make a new post</h2>
  131. <div class="codehilite"><pre><span></span>hugo new posts/hello-world.md
  132. /home/mcmillen/hugotest/content/posts/hello-world.md created
  133. </pre></div>
  134. <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>
  135. <p><code>hugo server --baseURL http://100.81.145.47 --bind 100.81.145.47 -D</code></p>
  136. <h2 id="now-some-code">now some code</h2>
  137. <div class="codehilite"><pre><span></span><span class="c1"># Make new site with YAML config files</span>
  138. hugo new site hugotest -f yml
  139. <span class="nb">cd</span> hugotest
  140. git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth<span class="o">=</span><span class="m">1</span>
  141. vim config.yml
  142. <span class="c1"># add this on a new line:</span>
  143. <span class="c1"># theme: &quot;PaperMod&quot;</span>
  144. </pre></div>
  145. <h2 id="python">python</h2>
  146. <div class="codehilite"><pre><span></span><span class="kn">import</span> <span class="nn">markdown</span>
  147. <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>
  148. <span class="k">print</span><span class="p">(</span><span class="s1">&#39;what is this?&#39;</span><span class="p">)</span>
  149. <span class="n">x</span> <span class="o">=</span> <span class="mi">42</span>
  150. <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>
  151. <span class="s1">&#39;012345678901234567890123456789012345678901234567890123456789012345678901234567&#39;</span>
  152. </pre></div>
  153. <h2 id="python-markdown-references">python markdown references</h2>
  154. <p><a href="https://python-markdown.github.io/extensions/">https://python-markdown.github.io/extensions/</a></p>
  155. <p><a href="https://python-markdown.github.io/extensions/code_hilite/">https://python-markdown.github.io/extensions/code_hilite/</a></p>
  156. <p><code>pygmentize -S monokai -f html -a .codehilite &gt; pygments.css</code></p>
  157. </div>
  158. </div>
  159. <div id="footer">
  160. <div class="content">
  161. &copy; 2021 <a href="/" class="undecorated">Colin McMillen</a>. No cookies, no tracking.
  162. </div>
  163. </div>
  164. </div>
  165. </body>
  166. </html>