From 0e191433328094673dacc22b16cc5d3bac02c4dc Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 16 Oct 2025 20:20:15 -0300 Subject: ; --- public/404.html | 96 ++++++++ public/categories/blog/index.html | 102 +++++++++ public/categories/blog/index.xml | 11 + public/categories/bullhorn/index.html | 107 +++++++++ public/categories/bullhorn/index.xml | 19 ++ public/categories/code/index.html | 107 +++++++++ public/categories/code/index.xml | 19 ++ public/categories/example/index.html | 112 +++++++++ public/categories/example/index.xml | 26 +++ public/categories/index.html | 108 +++++++++ public/categories/index.xml | 26 +++ public/categories/self-hosted/index.html | 112 +++++++++ public/categories/self-hosted/index.xml | 19 ++ public/categories/web/index.html | 112 +++++++++ public/categories/web/index.xml | 19 ++ public/css/fonts.css | 31 +++ public/css/style.css | 239 ++++++++++++++++++++ public/css/theme-override.css | 1 + public/images/android-chrome-192x192.png | Bin 0 -> 1307 bytes public/images/android-chrome-512x512.png | Bin 0 -> 6220 bytes public/images/apple-touch-icon.png | Bin 0 -> 1159 bytes public/images/favicon-16x16.png | Bin 0 -> 187 bytes public/images/favicon-32x32.png | Bin 0 -> 234 bytes public/images/favicon.ico | Bin 0 -> 15406 bytes public/images/grayf0x.jpg | Bin 0 -> 55444 bytes public/images/partywizard.gif | Bin 0 -> 23511 bytes public/images/pp.jpeg | Bin 0 -> 5939 bytes public/images/screenshot.png | Bin 0 -> 366422 bytes public/images/tn.png | Bin 0 -> 130371 bytes public/index.html | 130 +++++++++++ public/index.xml | 26 +++ public/post/2012/01/23/juicy-code/index.html | 129 +++++++++++ .../2012/03/12/command-line-awesomeness/index.html | 117 ++++++++++ public/post/2012/04/23/hacker-with-horn/index.html | 119 ++++++++++ .../2018/08/30/markdown-guide-modified/index.html | 250 +++++++++++++++++++++ public/post/2025/09/27/bem-vindo/index.html | 120 ++++++++++ .../2025/09/30/host-a-blog-with-hugo/index.html | 206 +++++++++++++++++ public/post/index.html | 117 ++++++++++ public/post/index.xml | 26 +++ public/posts/index.html | 102 +++++++++ public/posts/index.xml | 11 + public/sitemap.xml | 38 ++++ public/tags/blog/index.html | 112 +++++++++ public/tags/blog/index.xml | 19 ++ public/tags/html/index.html | 107 +++++++++ public/tags/html/index.xml | 19 ++ public/tags/hugo/index.html | 112 +++++++++ public/tags/hugo/index.xml | 19 ++ public/tags/index.html | 112 +++++++++ public/tags/index.xml | 33 +++ public/tags/juicy/index.html | 107 +++++++++ public/tags/juicy/index.xml | 19 ++ public/tags/markdown/index.html | 107 +++++++++ public/tags/markdown/index.xml | 19 ++ public/tags/server/index.html | 112 +++++++++ public/tags/server/index.xml | 19 ++ 56 files changed, 3573 insertions(+) create mode 100644 public/404.html create mode 100644 public/categories/blog/index.html create mode 100644 public/categories/blog/index.xml create mode 100644 public/categories/bullhorn/index.html create mode 100644 public/categories/bullhorn/index.xml create mode 100644 public/categories/code/index.html create mode 100644 public/categories/code/index.xml create mode 100644 public/categories/example/index.html create mode 100644 public/categories/example/index.xml create mode 100644 public/categories/index.html create mode 100644 public/categories/index.xml create mode 100644 public/categories/self-hosted/index.html create mode 100644 public/categories/self-hosted/index.xml create mode 100644 public/categories/web/index.html create mode 100644 public/categories/web/index.xml create mode 100644 public/css/fonts.css create mode 100644 public/css/style.css create mode 100644 public/css/theme-override.css create mode 100644 public/images/android-chrome-192x192.png create mode 100644 public/images/android-chrome-512x512.png create mode 100644 public/images/apple-touch-icon.png create mode 100644 public/images/favicon-16x16.png create mode 100644 public/images/favicon-32x32.png create mode 100644 public/images/favicon.ico create mode 100755 public/images/grayf0x.jpg create mode 100644 public/images/partywizard.gif create mode 100644 public/images/pp.jpeg create mode 100644 public/images/screenshot.png create mode 100644 public/images/tn.png create mode 100644 public/index.html create mode 100644 public/index.xml create mode 100644 public/post/2012/01/23/juicy-code/index.html create mode 100644 public/post/2012/03/12/command-line-awesomeness/index.html create mode 100644 public/post/2012/04/23/hacker-with-horn/index.html create mode 100644 public/post/2018/08/30/markdown-guide-modified/index.html create mode 100644 public/post/2025/09/27/bem-vindo/index.html create mode 100644 public/post/2025/09/30/host-a-blog-with-hugo/index.html create mode 100644 public/post/index.html create mode 100644 public/post/index.xml create mode 100644 public/posts/index.html create mode 100644 public/posts/index.xml create mode 100644 public/sitemap.xml create mode 100644 public/tags/blog/index.html create mode 100644 public/tags/blog/index.xml create mode 100644 public/tags/html/index.html create mode 100644 public/tags/html/index.xml create mode 100644 public/tags/hugo/index.html create mode 100644 public/tags/hugo/index.xml create mode 100644 public/tags/index.html create mode 100644 public/tags/index.xml create mode 100644 public/tags/juicy/index.html create mode 100644 public/tags/juicy/index.xml create mode 100644 public/tags/markdown/index.html create mode 100644 public/tags/markdown/index.xml create mode 100644 public/tags/server/index.html create mode 100644 public/tags/server/index.xml (limited to 'public') diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..c108ef7 --- /dev/null +++ b/public/404.html @@ -0,0 +1,96 @@ + + + + + + + + + + + + + 404 Page not found | azuminha + + + + + + + +
+ +
+ + + +404 - You once were found. But now you're lost. + + + + + diff --git a/public/categories/blog/index.html b/public/categories/blog/index.html new file mode 100644 index 0000000..ecc2de8 --- /dev/null +++ b/public/categories/blog/index.html @@ -0,0 +1,102 @@ + + + + + + + + + + + + + Blog | azuminha + + + + + + + +
+ +
+ + + +
+ +

Blog

+ + + + + +
+ + + + diff --git a/public/categories/blog/index.xml b/public/categories/blog/index.xml new file mode 100644 index 0000000..7809923 --- /dev/null +++ b/public/categories/blog/index.xml @@ -0,0 +1,11 @@ + + + + Blog on azuminha + http://localhost:1313/categories/blog/ + Recent content in Blog on azuminha + Hugo + en-us + + + diff --git a/public/categories/bullhorn/index.html b/public/categories/bullhorn/index.html new file mode 100644 index 0000000..1c069eb --- /dev/null +++ b/public/categories/bullhorn/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + Bullhorn | azuminha + + + + + + + +
+ +
+ + + +
+ +

Bullhorn

+ + + + + +
+ + + + diff --git a/public/categories/bullhorn/index.xml b/public/categories/bullhorn/index.xml new file mode 100644 index 0000000..d8c20f2 --- /dev/null +++ b/public/categories/bullhorn/index.xml @@ -0,0 +1,19 @@ + + + + Bullhorn on azuminha + http://localhost:1313/categories/bullhorn/ + Recent content in Bullhorn on azuminha + Hugo + en-us + Mon, 23 Apr 2012 00:00:00 +0000 + + + Hacker with Bullhorn + http://localhost:1313/post/2012/04/23/hacker-with-horn/ + Mon, 23 Apr 2012 00:00:00 +0000 + http://localhost:1313/post/2012/04/23/hacker-with-horn/ + <p>Hacker with bullhorn: &ldquo;Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!&rdquo;</p> <p>Prospective station wagon buyer: &ldquo;I know what you say is true&hellip;but&hellip;er&hellip;I don&rsquo;t know how to maintain a tank!&rdquo;</p> <p>Bullhorn: &ldquo;You don&rsquo;t know how to maintain a station wagon either!&rdquo;</p> <p>Buyer: &ldquo;But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music.&rdquo;</p> + + + diff --git a/public/categories/code/index.html b/public/categories/code/index.html new file mode 100644 index 0000000..e429480 --- /dev/null +++ b/public/categories/code/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + Code | azuminha + + + + + + + +
+ +
+ + + +
+ +

Code

+ + + + + +
+ + + + diff --git a/public/categories/code/index.xml b/public/categories/code/index.xml new file mode 100644 index 0000000..2f89b49 --- /dev/null +++ b/public/categories/code/index.xml @@ -0,0 +1,19 @@ + + + + Code on azuminha + http://localhost:1313/categories/code/ + Recent content in Code on azuminha + Hugo + en-us + Mon, 23 Jan 2012 00:00:00 +0000 + + + Juicy Code + http://localhost:1313/post/2012/01/23/juicy-code/ + Mon, 23 Jan 2012 00:00:00 +0000 + http://localhost:1313/post/2012/01/23/juicy-code/ + <p>Check out this JUICY! code:</p> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ruby" data-lang="ruby"><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">with_value_from_database</span>(value) </span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>class<span style="color:#f92672">.</span>from_database(name, value, type) </span></span><span style="display:flex;"><span><span style="color:#66d9ef">end</span> </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">with_cast_value</span>(value) </span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>class<span style="color:#f92672">.</span>with_cast_value(name, value, type) </span></span><span style="display:flex;"><span><span style="color:#66d9ef">end</span> </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">with_type</span>(type) </span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> changed_in_place? </span></span><span style="display:flex;"><span> with_value_from_user(value)<span style="color:#f92672">.</span>with_type(type) </span></span><span style="display:flex;"><span> <span style="color:#66d9ef">else</span> </span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>class<span style="color:#f92672">.</span>new(name, value_before_type_cast, type, original_attribute) </span></span><span style="display:flex;"><span> <span style="color:#66d9ef">end</span> </span></span><span style="display:flex;"><span><span style="color:#66d9ef">end</span> </span></span></code></pre></div> + + + diff --git a/public/categories/example/index.html b/public/categories/example/index.html new file mode 100644 index 0000000..5d1e178 --- /dev/null +++ b/public/categories/example/index.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + + Example | azuminha + + + + + + + +
+ +
+ + + +
+ +

Example

+ + + + + +
+ + + + diff --git a/public/categories/example/index.xml b/public/categories/example/index.xml new file mode 100644 index 0000000..e76eea6 --- /dev/null +++ b/public/categories/example/index.xml @@ -0,0 +1,26 @@ + + + + Example on azuminha + http://localhost:1313/categories/example/ + Recent content in Example on azuminha + Hugo + en-us + Thu, 30 Aug 2018 00:00:00 +0000 + + + Markdown Guide (modified) + http://localhost:1313/post/2018/08/30/markdown-guide-modified/ + Thu, 30 Aug 2018 00:00:00 +0000 + http://localhost:1313/post/2018/08/30/markdown-guide-modified/ + <h1 id="an-h1-header">An h1 header</h1> <p>Paragraphs are separated by a blank line.</p> <p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists look like:</p> <ul> <li>this one</li> <li>that one</li> <li>the other one</li> </ul> <p>Note that &mdash; not considering the asterisk &mdash; the actual text content starts at 4-columns in.</p> <blockquote> <p>Block quotes are written like so.</p> <p>They can span multiple paragraphs, if you like.</p></blockquote> <p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &ldquo;it&rsquo;s all in chapters 12&ndash;14&rdquo;). Three dots &hellip; will be converted to an ellipsis. Unicode is supported. ☺</p> + + + Hacker with Bullhorn + http://localhost:1313/post/2012/04/23/hacker-with-horn/ + Mon, 23 Apr 2012 00:00:00 +0000 + http://localhost:1313/post/2012/04/23/hacker-with-horn/ + <p>Hacker with bullhorn: &ldquo;Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!&rdquo;</p> <p>Prospective station wagon buyer: &ldquo;I know what you say is true&hellip;but&hellip;er&hellip;I don&rsquo;t know how to maintain a tank!&rdquo;</p> <p>Bullhorn: &ldquo;You don&rsquo;t know how to maintain a station wagon either!&rdquo;</p> <p>Buyer: &ldquo;But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music.&rdquo;</p> + + + diff --git a/public/categories/index.html b/public/categories/index.html new file mode 100644 index 0000000..0828aa2 --- /dev/null +++ b/public/categories/index.html @@ -0,0 +1,108 @@ + + + + + + + + + + + + + Categories | azuminha + + + + + + + +
+ +
+ + + +

Categories

+ + + + + + + diff --git a/public/categories/index.xml b/public/categories/index.xml new file mode 100644 index 0000000..8b0fbff --- /dev/null +++ b/public/categories/index.xml @@ -0,0 +1,26 @@ + + + + Categories on azuminha + http://localhost:1313/categories/ + Recent content in Categories on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Self-Hosted + http://localhost:1313/categories/self-hosted/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/categories/self-hosted/ + + + + Web + http://localhost:1313/categories/web/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/categories/web/ + + + + diff --git a/public/categories/self-hosted/index.html b/public/categories/self-hosted/index.html new file mode 100644 index 0000000..2f0beef --- /dev/null +++ b/public/categories/self-hosted/index.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + + Self-Hosted | azuminha + + + + + + + +
+ +
+ + + +
+ +

Self-Hosted

+ + + + + +
+ + + + diff --git a/public/categories/self-hosted/index.xml b/public/categories/self-hosted/index.xml new file mode 100644 index 0000000..9081016 --- /dev/null +++ b/public/categories/self-hosted/index.xml @@ -0,0 +1,19 @@ + + + + Self-Hosted on azuminha + http://localhost:1313/categories/self-hosted/ + Recent content in Self-Hosted on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Host a Blog With Hugo + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + <p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p> <ul> <li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li> <li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li> </ul> <h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2> <ol> <li>Instale o hugo Se sua distribuição linux for baseado em Debian rode o comando</li> </ol> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt install hugo </span></span></code></pre></div><pre tabindex="0"><code> caso contrario você pode verificar na documentação </code></pre><pre tabindex="0"><code></code></pre> + + + diff --git a/public/categories/web/index.html b/public/categories/web/index.html new file mode 100644 index 0000000..299e26b --- /dev/null +++ b/public/categories/web/index.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + + Web | azuminha + + + + + + + +
+ +
+ + + +
+ +

Web

+ + + + + +
+ + + + diff --git a/public/categories/web/index.xml b/public/categories/web/index.xml new file mode 100644 index 0000000..01cb5dd --- /dev/null +++ b/public/categories/web/index.xml @@ -0,0 +1,19 @@ + + + + Web on azuminha + http://localhost:1313/categories/web/ + Recent content in Web on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Host a Blog With Hugo + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + <p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p> <ul> <li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li> <li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li> </ul> <h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2> <ol> <li>Instale o hugo Se sua distribuição linux for baseado em Debian rode o comando</li> </ol> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt install hugo </span></span></code></pre></div><pre tabindex="0"><code> caso contrario você pode verificar na documentação </code></pre><pre tabindex="0"><code></code></pre> + + + diff --git a/public/css/fonts.css b/public/css/fonts.css new file mode 100644 index 0000000..da969a7 --- /dev/null +++ b/public/css/fonts.css @@ -0,0 +1,31 @@ +@import url('https://rsms.me/inter/inter.css'); +html { font-family: + 'Inter', + sans-serif, + 'Apple Color Emoji', + 'Segoe UI Emoji', + 'Segoe UI Symbol'; + } +@supports (font-variation-settings: normal) { + html { font-family: + 'Inter var', + sans-serif, + 'Apple Color Emoji', + 'Segoe UI Emoji', + 'Segoe UI Symbol'; + } +} + +code { + font-family: + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Helvetica, + Arial, + sans-serif, + "Apple Color Emoji", + "Segoe UI Emoji", + "Segoe UI Symbol"; + font-size: 85%; +} diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..c68c01c --- /dev/null +++ b/public/css/style.css @@ -0,0 +1,239 @@ +/* Dark mode */ +@media (prefers-color-scheme: dark) { + body { + background-color: #393E41; + color: white; + } + + blockquote { + background: #393E41; + } + + a { + color: #EBC3DB; + } + + header { + background: #393E41; + border-bottom: 2px dotted #EBC3DB; + + } + + .article-meta, .menu a { + background: #393E41; + color: white; + } + + table { + margin: auto; + border-top: 1px solid #666; + border-bottom: 1px solid #666; + } + table thead th { border-bottom: 1px solid #666; } + th, td { padding: 5px; } + tr:nth-child(even) { background: #666 } + +} + + +/* Light mode */ +@media (prefers-color-scheme: light) { + blockquote { + background: #f9f9f9; + } + + a { + color: #613DC1; + } + + header { + background: #613DC1; + } + + .article-meta, .menu a { + background: #E8DBC5; + color: #000; + } + + table { + margin: auto; + border-top: 1px solid #666; + border-bottom: 1px solid #666; + } + table thead th { border-bottom: 1px solid #ddd; } + th, td { padding: 5px; } + tr:nth-child(even) { background: #eee } + +} + + +body { + max-width: 800px; + margin: auto; + padding: .2em; + line-height: 1.5em; +} + +h1 { + line-height: 1.5em; +} + +/* Table of Contents, if wanted + +Add to yaml: + +output: + blogdown::html_page: + toc: true + + */ + +#TableOfContents, #TOC { + border: 1px solid #eee; + border-radius: 5px; +} + +/* Header and Footer */ +.menu li { display: inline-block; } +.article-meta, .menu a { + text-decoration: none; + padding: 5px; + border-radius: 5px; + border-style: dotted; + border-width: 1px; + margin: 20px 0px 20px 0px; +} + +.terms { font-size: .9em; } +.menu, .article-meta, footer { text-align: center; } +.title { font-size: 1.1em; } +footer a { text-decoration: none; } + +.pull-left { + float: left +} +.pull-right { + float: right +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +/* Adjust background at your leisure! */ +header { + position: relative; + width: 100%; + height: 1.75rem; + font-size: 1rem; +} + +header ul, +header ol { + margin: 0; + padding: 0; + list-style: none +} +header nav { + padding: 0 0.5rem +} + +header a { + color: #fff; + line-height: 1.75rem; + padding: 0 0.5rem +} +header a:hover, +header .current a { + color: #fff +} + +/* Code Boxes */ +pre { + border: 2px solid #EBC3DB; + padding: 1em; + overflow-x: auto; +} +pre code { background: none; } + +code { + background-color: light-dark(#D6D6D6, #888); + border-radius: 3px; + padding: 0.2em; + overflow-x: auto; +} + +/* Images, tables, misc. */ +img, iframe, video { + max-width: 100%; + height: auto; + display: block; + margin-left: auto; + margin-right: auto; +} + +main { + hyphens: auto; + max-width: 650px; + margin-left: auto; + margin-right: auto; + line-height: 1.7em; + hyphens: auto; + display: block; + font-size: 1.1em; +} +main a { + font-weight: bold; +} + +blockquote { + + border-left: 5px solid #ccc; + padding: 3px 1em 3px; +} + +.content-wrapper { + padding: 0px 12px 0px 12px; +} +#foxy { + min-width: 40px; + float: right; + padding: 10px; + display: block; +} + + +#table-of-contents { +} + +/* Small devices, phones */ +@media only screen and (min-width : 480px) { + #foxy { + min-width: 40px; + float: center; + padding: 10px 10px 10px 20px; + display: block; + } + +} + +/* 在大屏幕上应用特定样式 */ +@media screen and (min-width: 768px) { + #table-of-contents { + position: fixed; /* 固定定位,使其悬浮在页面上 */ + top: 50%; /* 上边距为50% */ + right: 15px; /* 右边距为0,将其放在右侧 */ + transform: translateY(-50%); /* 使用transform来垂直居中 */ + background-color: #f0f0f0; /* 设置背景颜色 */ + padding: 10px; /* 添加一些内边距以增加可读性 */ + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */ + width: 250px; /* 设置宽度 */ + max-height: 70vh; /* 设置最大高度为视口的70% */ + overflow-y: auto; /* 添加垂直滚动条 */ + } +} + diff --git a/public/css/theme-override.css b/public/css/theme-override.css new file mode 100644 index 0000000..1e8f759 --- /dev/null +++ b/public/css/theme-override.css @@ -0,0 +1 @@ +footer { font-size: 90%; } diff --git a/public/images/android-chrome-192x192.png b/public/images/android-chrome-192x192.png new file mode 100644 index 0000000..4bf78af Binary files /dev/null and b/public/images/android-chrome-192x192.png differ diff --git a/public/images/android-chrome-512x512.png b/public/images/android-chrome-512x512.png new file mode 100644 index 0000000..8bf4499 Binary files /dev/null and b/public/images/android-chrome-512x512.png differ diff --git a/public/images/apple-touch-icon.png b/public/images/apple-touch-icon.png new file mode 100644 index 0000000..c5870fa Binary files /dev/null and b/public/images/apple-touch-icon.png differ diff --git a/public/images/favicon-16x16.png b/public/images/favicon-16x16.png new file mode 100644 index 0000000..5444143 Binary files /dev/null and b/public/images/favicon-16x16.png differ diff --git a/public/images/favicon-32x32.png b/public/images/favicon-32x32.png new file mode 100644 index 0000000..257696f Binary files /dev/null and b/public/images/favicon-32x32.png differ diff --git a/public/images/favicon.ico b/public/images/favicon.ico new file mode 100644 index 0000000..83ec83e Binary files /dev/null and b/public/images/favicon.ico differ diff --git a/public/images/grayf0x.jpg b/public/images/grayf0x.jpg new file mode 100755 index 0000000..46819d5 Binary files /dev/null and b/public/images/grayf0x.jpg differ diff --git a/public/images/partywizard.gif b/public/images/partywizard.gif new file mode 100644 index 0000000..1c1d813 Binary files /dev/null and b/public/images/partywizard.gif differ diff --git a/public/images/pp.jpeg b/public/images/pp.jpeg new file mode 100644 index 0000000..cd2af6a Binary files /dev/null and b/public/images/pp.jpeg differ diff --git a/public/images/screenshot.png b/public/images/screenshot.png new file mode 100644 index 0000000..0dc8a8c Binary files /dev/null and b/public/images/screenshot.png differ diff --git a/public/images/tn.png b/public/images/tn.png new file mode 100644 index 0000000..f58c780 Binary files /dev/null and b/public/images/tn.png differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..d06087a --- /dev/null +++ b/public/index.html @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + Home | azuminha + + + + + + + +
+ +
+ + + +
+ + +

+

🌱 Bem-vindo

+

Aqui guardo anotações, ideias, experimentos e bobeiras. +Não é um manual, mas talvez alguma coisa ajude alguém além de mim.

+ +

files

+
+

Sei la

+

url shortener

+
+

Musings

+ + + +
+ + + + diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 0000000..b1eeace --- /dev/null +++ b/public/index.xml @@ -0,0 +1,26 @@ + + + + Home on azuminha + http://localhost:1313/ + Recent content in Home on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Host a Blog With Hugo + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + <p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p> <ul> <li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li> <li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li> </ul> <h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2> <h3 id="instalando-o-hugo">Instalando o hugo</h3> <p>Se sua distribuição linux for baseado em Debian rode o comando</p> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>$ sudo apt install hugo </span></span></code></pre></div><p>caso contrario você pode verificar na documentação.</p> + + + Bem Vindo + http://localhost:1313/post/2025/09/27/bem-vindo/ + Sat, 27 Sep 2025 20:29:44 -0300 + http://localhost:1313/post/2025/09/27/bem-vindo/ + <h2 id="bem-vindo">Bem vindo</h2> <p>Aqui é somente um teste</p> + + + diff --git a/public/post/2012/01/23/juicy-code/index.html b/public/post/2012/01/23/juicy-code/index.html new file mode 100644 index 0000000..47a30aa --- /dev/null +++ b/public/post/2012/01/23/juicy-code/index.html @@ -0,0 +1,129 @@ + + + + + + + + + + + + + Juicy Code | azuminha + + + + + + + +
+ +
+ + +
+

Juicy Code

+

Open Source

+

2012/01/23

+

+ + + Categories: Code + + + + Tags: Juicy + + +

+
+ + + +
+
+

Check out this JUICY! code:

+
def with_value_from_database(value)
+  self.class.from_database(name, value, type)
+end
+
+def with_cast_value(value)
+  self.class.with_cast_value(name, value, type)
+end
+
+def with_type(type)
+  if changed_in_place?
+    with_value_from_user(value).with_type(type)
+  else
+    self.class.new(name, value_before_type_cast, type, original_attribute)
+  end
+end
+
+ >> Home +
+
+ + + + diff --git a/public/post/2012/03/12/command-line-awesomeness/index.html b/public/post/2012/03/12/command-line-awesomeness/index.html new file mode 100644 index 0000000..df975bf --- /dev/null +++ b/public/post/2012/03/12/command-line-awesomeness/index.html @@ -0,0 +1,117 @@ + + + + + + + + + + + + + Command Line Awesomeness | azuminha + + + + + + + +
+ +
+ + +
+

Command Line Awesomeness

+ +

2012/03/12

+

+ + + Categories: Blog + + + + Tags: HTML + + +

+
+ + + +
+
+

This crud is called HTML (HyperText Markup Language) and it is basically a very simple programming language instructing your web browser how to draw a page on a screen. Anyone can learn HTML and many people do. The important thing is that no matter what splendid multimedia web pages they might represent, HTML files are just telegrams.

+
+

When Ronald Reagan was a radio announcer, he used to call baseball games by reading the terse descriptions that trickled in over the telegraph wire and were printed out on a paper tape. He would sit there, all by himself in a padded room with a microphone, and the paper tape would eke out of the machine and crawl over the palm of his hand printed with cryptic abbreviations. If the count went to three and two, Reagan would describe the scene as he saw it in his mind’s eye: “The brawny left-hander steps out of the batter’s box to wipe the sweat from his brow. The umpire steps forward to sweep the dirt from home plate.” and so on. When the cryptogram on the paper tape announced a base hit, he would whack the edge of the table with a pencil, creating a little sound effect, and describe the arc of the ball as if he could actually see it. His listeners, many of whom presumably thought that Reagan was actually at the ballpark watching the game, would reconstruct the scene in their minds according to his descriptions.

+

This is exactly how the World Wide Web works: the HTML files are the pithy description on the paper tape, and your Web browser is Ronald Reagan. The same is true of Graphical User Interfaces in general.

+ + >> Home +
+
+ + + + diff --git a/public/post/2012/04/23/hacker-with-horn/index.html b/public/post/2012/04/23/hacker-with-horn/index.html new file mode 100644 index 0000000..586ea8d --- /dev/null +++ b/public/post/2012/04/23/hacker-with-horn/index.html @@ -0,0 +1,119 @@ + + + + + + + + + + + + + Hacker with Bullhorn | azuminha + + + + + + + +
+ +
+ + +
+

Hacker with Bullhorn

+

Open-Source

+

2012/04/23

+

+ + + Categories: Bullhorn Example + + + + +

+
+ + + +
+
+

Hacker with bullhorn: “Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!”

+

Prospective station wagon buyer: “I know what you say is true…but…er…I don’t know how to maintain a tank!”

+

Bullhorn: “You don’t know how to maintain a station wagon either!”

+

Buyer: “But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music.”

+

Bullhorn: “But if you accept one of our free tanks we will send volunteers to your house to fix it for free while you sleep!”

+

Buyer: “Stay away from my house, you freak!”

+

Bullhorn: “But…”

+

Buyer: “Can’t you see that everyone is buying station wagons?”

+ + >> Home +
+
+ + + + diff --git a/public/post/2018/08/30/markdown-guide-modified/index.html b/public/post/2018/08/30/markdown-guide-modified/index.html new file mode 100644 index 0000000..b52a19e --- /dev/null +++ b/public/post/2018/08/30/markdown-guide-modified/index.html @@ -0,0 +1,250 @@ + + + + + + + + + + + + + Markdown Guide (modified) | azuminha + + + + + + + +
+ +
+ + +
+

Markdown Guide (modified)

+

Open Source

+

2018/08/30

+

+ + + Categories: Example + + + + Tags: Markdown + + +

+
+ + + +
+
+

An h1 header

+

Paragraphs are separated by a blank line.

+

2nd paragraph. Italic, bold, and monospace. Itemized lists +look like:

+
    +
  • this one
  • +
  • that one
  • +
  • the other one
  • +
+

Note that — not considering the asterisk — the actual text +content starts at 4-columns in.

+
+

Block quotes are +written like so.

+

They can span multiple paragraphs, +if you like.

+

Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., “it’s all +in chapters 12–14”). Three dots … will be converted to an ellipsis. +Unicode is supported. ☺

+

An h2 header

+

Here’s a numbered list:

+
    +
  1. first item
  2. +
  3. second item
  4. +
  5. third item
  6. +
+

Note again how the actual text starts at 4 columns in (4 characters +from the left side). Here’s a code sample:

+
# Let me re-iterate ...
+for i in 1 .. 10 { do-something(i) }
+
+

As you probably guessed, indented 4 spaces. By the way, instead of +indenting the block, you can use delimited blocks, if you like:

+
define foobar() {
+    print "Welcome to flavor country!";
+}
+

(which makes copying & pasting easier). You can optionally mark the +delimited block for Pandoc to syntax highlight it:

+
import time
+# Quick, count to ten!
+for i in range(10):
+    # (but not *too* quick)
+    time.sleep(0.5)
+    print i
+

An h3 header

+

Now a nested list:

+
    +
  1. +

    First, get these ingredients:

    +
      +
    • carrots
    • +
    • celery
    • +
    • lentils
    • +
    +
  2. +
  3. +

    Boil some water.

    +
  4. +
  5. +

    Dump everything in the pot and follow +this algorithm:

    +
    find wooden spoon
    +uncover pot
    +stir
    +cover pot
    +balance wooden spoon precariously on pot handle
    +wait 10 minutes
    +goto first step (or shut off burner when done)
    +
    +

    Do not bump wooden spoon or it will fall.

    +
  6. +
+

Notice again how text always lines up on 4-space indents (including +that last line which continues item 3 above).

+

Here’s a link to a website, to a local +doc, and to a section heading in the current +doc. Here’s a footnote 1.

+

Tables can look like this:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
sizematerialcolor
9leatherbrown
10hemp canvasnatural
11glasstransparent
+

Table: Shoes, their sizes, and what they’re made of

+

(The above is the caption for the table.)

+

A horizontal rule follows.

+
+

Here’s a definition list:

+
+
apples
+
Good for making applesauce.
+
oranges
+
Citrus!
+
tomatoes
+
There’s no “e” in tomatoe.
+
+

(Put a blank line between each term/definition pair to spread +things out more.)

+

and images can be specified like so:

+

example image

+

Inline math equations go in like so: \(\omega = d\phi / dt\). +Display math should get its own line and be put in in +double-dollarsigns:

+

$$I = \int \rho R^{2} dV$$

+

And note that you can backslash-escape any punctuation characters +which you wish to be displayed literally, ex.: `foo`, *bar*, etc.

+

Images auto center:

+

Party

+
+
+
    +
  1. +

    Footnote text goes here. ↩︎

    +
  2. +
+
+ + >> Home +
+
+ + + + diff --git a/public/post/2025/09/27/bem-vindo/index.html b/public/post/2025/09/27/bem-vindo/index.html new file mode 100644 index 0000000..f33fd85 --- /dev/null +++ b/public/post/2025/09/27/bem-vindo/index.html @@ -0,0 +1,120 @@ + + + + + + + + + + + + + Bem Vindo | azuminha + + + + + + + +
+ +
+ + +
+

Bem Vindo

+ +

2025/09/27

+

+ + + + + +

+
+ + + +
+
+

Bem vindo

+

Aqui é somente um teste

+ + >> Home +
+
+ + + + + + + + diff --git a/public/post/2025/09/30/host-a-blog-with-hugo/index.html b/public/post/2025/09/30/host-a-blog-with-hugo/index.html new file mode 100644 index 0000000..9e7a52a --- /dev/null +++ b/public/post/2025/09/30/host-a-blog-with-hugo/index.html @@ -0,0 +1,206 @@ + + + + + + + + + + + + + Host a Blog With Hugo | azuminha + + + + + + + +
+ +
+ + +
+

Host a Blog With Hugo

+ +

2025/09/30

+

+ + + Categories: web self-hosted + + + + Tags: blog hugo server + + +

+
+ + + +
+
+

Hoje vou mostar como fiz para setar um blog com comentários usando Hugo e Comentario.

+
    +
  • Hugo é um framework open source para construção de websites estáticos, extremamente rápido e flexível.
  • +
  • Comentario é uma engine open source de comentários, fácil de integrar e auto-hospedável.
  • +
+

1. Utilizando o Hugo

+

Instalando o hugo

+

Se sua distribuição linux for baseado em Debian rode o comando

+
$ sudo apt install hugo
+

caso contrario você pode verificar na documentação.

+

Agora que você já tem ele instalado basta dar

+
hugo new site {nome-do-seu-blog}
+

que ele criara uma pasta com tudo que eh necessario.

+

Instalando um tema

+

Para instalar um tema veja os temas disponiveis pela comunidade no link, no meu caso atualmente estou usando o Hugo - Classic. +Depois de achar um que gostou faca:

+
cd {nome-do-seu-blog}/themes
+git init
+git submodule add link-do-github
+

Abra o arquivo hugo.toml e edite a variavel theme para a pasta criada dentro da pasta do hugo.

+

Criando um post

+

Para criar um post eh muito simples tambem, basta rodar

+
hugo new content content/post/nome-do-post.md
+

Agora basta escrever o seu post em com markdown. Acesse aqui para mais informacoes sobre markdown.

+

Buildando

+

Para finalizar rode

+
hugo
+

que ele vai atualizar tudo que eh necessario e publicar seu post

+
+

2. Setando o comentario

+

Existem diversas formas de voce instalar o comentario, porem eu fiz isso utilizando docker. Para isso certifique que você tenha o docker instalado

+
docker version
+

e crie um arquivo chamado docker-compose.yml

+
services:
+  app:
+    image: registry.gitlab.com/comentario/comentario:latest-ubuntu
+    environment:
+      BASE_URL: https://sua-url # mude aqui para sua url
+      SECRETS_FILE: "/secrets.yaml"
+    ports:
+      - "6969:80" # mude para a porta que você quiser
+    volumes:
+      - ./secrets.yaml:/secrets.yaml:ro
+    restart: always
+

essa eh so uma possivel forma, você pode editar o arquivo da maneira que preferir.

+

Note que vou utilizar o sqlite3 como banco de dados, caso você queria usar postgress, ou usar um servidor diferente para o banco de dados você deve editar esse arquivo.

+

Na mesma pasta crie um arquivo chamado secrets.yaml

+
sqlite3:
+  file: ./comentario.db
+

Essa eh a configuracao minima que você deve fazer caso queria utilizar o sqlite3.

+

agora rode no terminal

+
docker compose up -d
+

Para finalizar basta adicionar no arquivo ./themes/hugo-classic/layouts/_default/single.html

+
<script defer src="https://sua-url/comentario.js"></script>
+<comentario-comments></comentario-comments>
+

Agora eh so acessar a url que voce colocou e setar adicionar o seu servidor, como eh bem intuitivo nao vou colocar aqui

+
+

3. Setando o NGINX

+

Caso você utilize o nginx como servidor web basta configurar a pagina principal como

+
server {
+	root /var/www/azuminha.com/public;
+
+	index index.html index.htm index.nginx-debian.html;
+
+	server_name azuminha.com www.azuminha.com; # mude aqui para sua url
+
+	charset UTF-8;
+
+	location / {
+		try_files $uri $uri/ =404;
+	}
+}
+

Você tambem deve arrumar um proxy reverso para a porta que o servico do comentario esta rodando.

+
server {
+	server_name comments.azuminha.com; # sua url que utilizou para configurar o comentario
+
+	location / {
+		proxy_pass http://0.0.0.0:6969/; # mude para a porta que vc utilizou
+		proxy_set_header Host 127.0.0.1;
+		proxy_set_header X-Real-IP $remote_addr;
+		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+		proxy_set_header X-Forwarded-Proto $scheme;
+	}
+

Pronto agora você tem seu proprio blog hospedado pro você mesmo, sem dependencias externas. 😄

+ + >> Home +
+
+ + + + + + + + diff --git a/public/post/index.html b/public/post/index.html new file mode 100644 index 0000000..741695c --- /dev/null +++ b/public/post/index.html @@ -0,0 +1,117 @@ + + + + + + + + + + + + + Posts | azuminha + + + + + + + +
+ +
+ + + +
+ +

Posts

+ + + + + +
+ + + + diff --git a/public/post/index.xml b/public/post/index.xml new file mode 100644 index 0000000..3ddf45d --- /dev/null +++ b/public/post/index.xml @@ -0,0 +1,26 @@ + + + + Posts on azuminha + http://localhost:1313/post/ + Recent content in Posts on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Host a Blog With Hugo + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + <p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p> <ul> <li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li> <li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li> </ul> <h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2> <ol> <li>Instale o hugo Se sua distribuição linux for baseado em Debian rode o comando</li> </ol> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt install hugo </span></span></code></pre></div><pre tabindex="0"><code> caso contrario você pode verificar na documentação </code></pre><pre tabindex="0"><code></code></pre> + + + Bem Vindo + http://localhost:1313/post/2025/09/27/bem-vindo/ + Sat, 27 Sep 2025 20:29:44 -0300 + http://localhost:1313/post/2025/09/27/bem-vindo/ + <h2 id="bem-vindo">Bem vindo</h2> <p>Aqui é somente um teste</p> + + + diff --git a/public/posts/index.html b/public/posts/index.html new file mode 100644 index 0000000..0227fea --- /dev/null +++ b/public/posts/index.html @@ -0,0 +1,102 @@ + + + + + + + + + + + + + Posts | azuminha + + + + + + + +
+ +
+ + + +
+ +

Posts

+ + + + + +
+ + + + diff --git a/public/posts/index.xml b/public/posts/index.xml new file mode 100644 index 0000000..b554687 --- /dev/null +++ b/public/posts/index.xml @@ -0,0 +1,11 @@ + + + + Posts on azuminha + http://localhost:1313/posts/ + Recent content in Posts on azuminha + Hugo + en-us + + + diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..c3092d3 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,38 @@ + + + + http://localhost:1313/tags/blog/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/categories/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/tags/hugo/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/post/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/categories/self-hosted/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/tags/server/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/tags/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/categories/web/ + 2025-09-30T03:09:52-03:00 + + http://localhost:1313/post/2025/09/27/bem-vindo/ + 2025-09-27T20:29:44-03:00 + + diff --git a/public/tags/blog/index.html b/public/tags/blog/index.html new file mode 100644 index 0000000..d8ba826 --- /dev/null +++ b/public/tags/blog/index.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + + Blog | azuminha + + + + + + + +
+ +
+ + + +
+ +

Blog

+ + + + + +
+ + + + diff --git a/public/tags/blog/index.xml b/public/tags/blog/index.xml new file mode 100644 index 0000000..6c55c06 --- /dev/null +++ b/public/tags/blog/index.xml @@ -0,0 +1,19 @@ + + + + Blog on azuminha + http://localhost:1313/tags/blog/ + Recent content in Blog on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Host a Blog With Hugo + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + <p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p> <ul> <li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li> <li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li> </ul> <h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2> <ol> <li>Instale o hugo Se sua distribuição linux for baseado em Debian rode o comando</li> </ol> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt install hugo </span></span></code></pre></div><pre tabindex="0"><code> caso contrario você pode verificar na documentação </code></pre><pre tabindex="0"><code></code></pre> + + + diff --git a/public/tags/html/index.html b/public/tags/html/index.html new file mode 100644 index 0000000..4bf87a0 --- /dev/null +++ b/public/tags/html/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + HTML | azuminha + + + + + + + +
+ +
+ + + +
+ +

HTML

+ + + + + +
+ + + + diff --git a/public/tags/html/index.xml b/public/tags/html/index.xml new file mode 100644 index 0000000..1cbcac5 --- /dev/null +++ b/public/tags/html/index.xml @@ -0,0 +1,19 @@ + + + + HTML on azuminha + http://localhost:1313/tags/html/ + Recent content in HTML on azuminha + Hugo + en-us + Mon, 12 Mar 2012 00:00:00 +0000 + + + Command Line Awesomeness + http://localhost:1313/post/2012/03/12/command-line-awesomeness/ + Mon, 12 Mar 2012 00:00:00 +0000 + http://localhost:1313/post/2012/03/12/command-line-awesomeness/ + <p>This crud is called HTML (HyperText Markup Language) and it is basically a very simple programming language instructing your web browser how to draw a page on a screen. Anyone can learn HTML and many people do. The important thing is that no matter what splendid multimedia web pages they might represent, HTML files are just telegrams.</p> <blockquote> <p>When Ronald Reagan was a radio announcer, he used to call baseball games by reading the terse descriptions that trickled in over the telegraph wire and were printed out on a paper tape. He would sit there, all by himself in a padded room with a microphone, and the paper tape would eke out of the machine and crawl over the palm of his hand printed with cryptic abbreviations. If the count went to three and two, Reagan would describe the scene as he saw it in his mind&rsquo;s eye: &ldquo;The brawny left-hander steps out of the batter&rsquo;s box to wipe the sweat from his brow. The umpire steps forward to sweep the dirt from home plate.&rdquo; and so on. When the cryptogram on the paper tape announced a base hit, he would whack the edge of the table with a pencil, creating a little sound effect, and describe the arc of the ball as if he could actually see it. His listeners, many of whom presumably thought that Reagan was actually at the ballpark watching the game, would reconstruct the scene in their minds according to his descriptions.</p> + + + diff --git a/public/tags/hugo/index.html b/public/tags/hugo/index.html new file mode 100644 index 0000000..b233871 --- /dev/null +++ b/public/tags/hugo/index.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + + Hugo | azuminha + + + + + + + +
+ +
+ + + +
+ +

Hugo

+ + + + + +
+ + + + diff --git a/public/tags/hugo/index.xml b/public/tags/hugo/index.xml new file mode 100644 index 0000000..db08978 --- /dev/null +++ b/public/tags/hugo/index.xml @@ -0,0 +1,19 @@ + + + + Hugo on azuminha + http://localhost:1313/tags/hugo/ + Recent content in Hugo on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Host a Blog With Hugo + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + <p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p> <ul> <li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li> <li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li> </ul> <h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2> <ol> <li>Instale o hugo Se sua distribuição linux for baseado em Debian rode o comando</li> </ol> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt install hugo </span></span></code></pre></div><pre tabindex="0"><code> caso contrario você pode verificar na documentação </code></pre><pre tabindex="0"><code></code></pre> + + + diff --git a/public/tags/index.html b/public/tags/index.html new file mode 100644 index 0000000..e69fc8a --- /dev/null +++ b/public/tags/index.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + + Tags | azuminha + + + + + + + +
+ +
+ + + +

Tags

+ + + + + + + diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 0000000..299e5be --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,33 @@ + + + + Tags on azuminha + http://localhost:1313/tags/ + Recent content in Tags on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Blog + http://localhost:1313/tags/blog/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/tags/blog/ + + + + Hugo + http://localhost:1313/tags/hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/tags/hugo/ + + + + Server + http://localhost:1313/tags/server/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/tags/server/ + + + + diff --git a/public/tags/juicy/index.html b/public/tags/juicy/index.html new file mode 100644 index 0000000..41805b8 --- /dev/null +++ b/public/tags/juicy/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + Juicy | azuminha + + + + + + + +
+ +
+ + + +
+ +

Juicy

+ + + + + +
+ + + + diff --git a/public/tags/juicy/index.xml b/public/tags/juicy/index.xml new file mode 100644 index 0000000..ee07977 --- /dev/null +++ b/public/tags/juicy/index.xml @@ -0,0 +1,19 @@ + + + + Juicy on azuminha + http://localhost:1313/tags/juicy/ + Recent content in Juicy on azuminha + Hugo + en-us + Mon, 23 Jan 2012 00:00:00 +0000 + + + Juicy Code + http://localhost:1313/post/2012/01/23/juicy-code/ + Mon, 23 Jan 2012 00:00:00 +0000 + http://localhost:1313/post/2012/01/23/juicy-code/ + <p>Check out this JUICY! code:</p> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ruby" data-lang="ruby"><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">with_value_from_database</span>(value) </span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>class<span style="color:#f92672">.</span>from_database(name, value, type) </span></span><span style="display:flex;"><span><span style="color:#66d9ef">end</span> </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">with_cast_value</span>(value) </span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>class<span style="color:#f92672">.</span>with_cast_value(name, value, type) </span></span><span style="display:flex;"><span><span style="color:#66d9ef">end</span> </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">with_type</span>(type) </span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> changed_in_place? </span></span><span style="display:flex;"><span> with_value_from_user(value)<span style="color:#f92672">.</span>with_type(type) </span></span><span style="display:flex;"><span> <span style="color:#66d9ef">else</span> </span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>class<span style="color:#f92672">.</span>new(name, value_before_type_cast, type, original_attribute) </span></span><span style="display:flex;"><span> <span style="color:#66d9ef">end</span> </span></span><span style="display:flex;"><span><span style="color:#66d9ef">end</span> </span></span></code></pre></div> + + + diff --git a/public/tags/markdown/index.html b/public/tags/markdown/index.html new file mode 100644 index 0000000..4d1fff8 --- /dev/null +++ b/public/tags/markdown/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + Markdown | azuminha + + + + + + + +
+ +
+ + + +
+ +

Markdown

+ + + + + +
+ + + + diff --git a/public/tags/markdown/index.xml b/public/tags/markdown/index.xml new file mode 100644 index 0000000..21ffa15 --- /dev/null +++ b/public/tags/markdown/index.xml @@ -0,0 +1,19 @@ + + + + Markdown on azuminha + http://localhost:1313/tags/markdown/ + Recent content in Markdown on azuminha + Hugo + en-us + Thu, 30 Aug 2018 00:00:00 +0000 + + + Markdown Guide (modified) + http://localhost:1313/post/2018/08/30/markdown-guide-modified/ + Thu, 30 Aug 2018 00:00:00 +0000 + http://localhost:1313/post/2018/08/30/markdown-guide-modified/ + <h1 id="an-h1-header">An h1 header</h1> <p>Paragraphs are separated by a blank line.</p> <p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists look like:</p> <ul> <li>this one</li> <li>that one</li> <li>the other one</li> </ul> <p>Note that &mdash; not considering the asterisk &mdash; the actual text content starts at 4-columns in.</p> <blockquote> <p>Block quotes are written like so.</p> <p>They can span multiple paragraphs, if you like.</p></blockquote> <p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &ldquo;it&rsquo;s all in chapters 12&ndash;14&rdquo;). Three dots &hellip; will be converted to an ellipsis. Unicode is supported. ☺</p> + + + diff --git a/public/tags/server/index.html b/public/tags/server/index.html new file mode 100644 index 0000000..1305505 --- /dev/null +++ b/public/tags/server/index.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + + Server | azuminha + + + + + + + +
+ +
+ + + +
+ +

Server

+ + + + + +
+ + + + diff --git a/public/tags/server/index.xml b/public/tags/server/index.xml new file mode 100644 index 0000000..93e3592 --- /dev/null +++ b/public/tags/server/index.xml @@ -0,0 +1,19 @@ + + + + Server on azuminha + http://localhost:1313/tags/server/ + Recent content in Server on azuminha + Hugo + en-us + Tue, 30 Sep 2025 03:09:52 -0300 + + + Host a Blog With Hugo + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + Tue, 30 Sep 2025 03:09:52 -0300 + http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/ + <p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p> <ul> <li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li> <li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li> </ul> <h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2> <ol> <li>Instale o hugo Se sua distribuição linux for baseado em Debian rode o comando</li> </ol> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt install hugo </span></span></code></pre></div><pre tabindex="0"><code> caso contrario você pode verificar na documentação </code></pre><pre tabindex="0"><code></code></pre> + + + -- cgit v1.2.3