<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo’s Blog</title><link>https://hugo.md/</link><description>Recent content on Hugo’s Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 20 Nov 2026 13:08:40 +0000</lastBuildDate><atom:link href="https://hugo.md/index.xml" rel="self" type="application/rss+xml"/><item><title>You’re using AI wrong</title><link>https://hugo.md/post/you-are-using-ai-wrong/</link><pubDate>Fri, 20 Nov 2026 13:08:40 +0000</pubDate><guid>https://hugo.md/post/you-are-using-ai-wrong/</guid><description>
&lt;p>&lt;em>Intentionally bait title ;)&lt;/em>&lt;/p>
&lt;p>You’re not using it wrong, but you need to stop thinking rigidly about AI use.&lt;/p>
&lt;p>You might be all in on one harness. Don’t be. Try other harnesses, see what they do differently. See how they improve (or break) your workflow.&lt;/p>
&lt;p>You might be using a single agent at a time. Don’t. Try using sub-agents.&lt;/p>
&lt;p>Try using an orchestrator or chief-of-stuff, fanning out to other agents for specific tasks.&lt;/p>
&lt;p>What I’m saying is: don’t put yourself and agents in a box. Try different things, and find what works well for you.&lt;/p>
&lt;p>Adaptation has inverted. You don’t need to adapt yourself to specific tools, you can build the tools you want and mould them to your will.&lt;/p>
&lt;p>Try it!&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20You%e2%80%99re%20using%20AI%20wrong">Reply via email</a></description></item><item><title>Secret environment variables with Hermit and 1Password</title><link>https://hugo.md/post/1password-cli-and-hermit/</link><pubDate>Thu, 16 Oct 2025 22:49:39 +1100</pubDate><guid>https://hugo.md/post/1password-cli-and-hermit/</guid><description>
&lt;p>This post is a quick
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--1" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-1" for="sidenote__checkbox--1" class="sidenote__button sidenote__button--number-1 ">TIL*&lt;/label>&lt;small id="sidenote-1" class="sidenote__content sidenote__content--number-1">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>&amp;ldquo;Today I Learned&amp;rdquo;&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span> for posterity.&lt;/p>
&lt;p>I&amp;rsquo;m building a
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--2" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-2" for="sidenote__checkbox--2" class="sidenote__button sidenote__button--number-2 ">side project*&lt;/label>&lt;small id="sidenote-2" class="sidenote__content sidenote__content--number-2">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>It&amp;rsquo;s called &lt;a href="https://feedsync.net">FeedSync&lt;/a>, and it solves a &lt;em>very&lt;/em> niche problem: subscribing to RSS feeds, and piping new entries into Discord.&lt;br />&lt;br /> I&amp;rsquo;d love it if you tried it out ❤️&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span>, and I&amp;rsquo;m contributing from two machines: my MacBook Pro, and my Linux desktop.&lt;/p>
&lt;h3 id="the-problem">The problem&lt;/h3>
&lt;ol>
&lt;li>I need secrets on both machines.&lt;/li>
&lt;li>I don&amp;rsquo;t want to over-engineer by committing encrypted secrets to the git repository.&lt;/li>
&lt;li>I don&amp;rsquo;t want to store secrets somewhere like &lt;code>~/.zshrc&lt;/code> unencrypted.&lt;/li>
&lt;/ol>
&lt;h3 id="the-solution">The solution&lt;/h3>
&lt;p>&lt;a href="https://cashapp.github.io/hermit">Hermit&lt;/a> initialises the environment, and 1Password injects the secrets.&lt;/p>
&lt;p>In 1Password Desktop, I created a new vault called &lt;code>Development&lt;/code>, a new document called &lt;code>FooService&lt;/code>, a section called &lt;code>dev&lt;/code>, and a
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-" for="sidenote__checkbox--" class="sidenote__button sidenote__button--number- ">password*&lt;/label>&lt;small id="sidenote-" class="sidenote__content sidenote__content--number-">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>I used a password because it&amp;rsquo;s a secret value, but you can use other types as well.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span> called &lt;code>FOO_SECRET&lt;/code>. The &lt;a href="https://developer.1password.com/docs/cli/secret-references">1Password documentation&lt;/a> goes into more detail.&lt;/p>
&lt;p>In the terminal, I installed &lt;a href="https://developer.1password.com/docs/cli/">1Password CLI&lt;/a>, ran &lt;code>hermit init&lt;/code>, and updated &lt;code>bin/hermit.hcl&lt;/code> to:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-hcl" data-lang="hcl">&lt;span class="line">&lt;span class="cl">&lt;span class="n">env&lt;/span> &lt;span class="o">=&lt;/span> {
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="s2">&amp;#34;FOO_SECRET&amp;#34;: &amp;#34;op://Development/FooService/dev/FOO_SECRET&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>My app already makes use of environment variables like &lt;code>FOO_SECRET&lt;/code>, so there&amp;rsquo;s no change there.&lt;/p>
&lt;p>To run my application with injected secrets on either of my machines, I can use this command:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">op run -- iex -S mix phx.server&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div><a href="mailto:blog@hu.md?subject=RE%3a%20Secret%20environment%20variables%20with%20Hermit%20and%201Password">Reply via email</a></description></item><item><title>Freedom of the Last Minute</title><link>https://hugo.md/post/freedom-of-the-last-minute/</link><pubDate>Mon, 08 Jul 2024 22:21:22 +0100</pubDate><guid>https://hugo.md/post/freedom-of-the-last-minute/</guid><description>
&lt;p>Leaving logistical plans until the last minute leaves you with fewer decisions
to make, fewer options to compare, and more importantly, more time to enjoy
yourself.&lt;/p>
&lt;p>If you accept that the future is in flux, and things won&amp;rsquo;t always your way,
you&amp;rsquo;ll end up stressing less, and going with the flow.&lt;/p>
&lt;p>All this to say: &lt;em>don&amp;rsquo;t feel bad about booking international flights and trains
the day before&lt;/em>. What it might cost you in coin, you may gain in
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--1" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-1" for="sidenote__checkbox--1" class="sidenote__button sidenote__button--number-1 ">time, freedom, and new experiences!*&lt;/label>&lt;small id="sidenote-1" class="sidenote__content sidenote__content--number-1">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>Some of my fondest memories traveling
have been those made unexpectedly getting lost in a foreign city, or missing a
connection.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span>&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Freedom%20of%20the%20Last%20Minute">Reply via email</a></description></item><item><title>Skip Discord Updates on Linux</title><link>https://hugo.md/post/skip-discord-updates-on-linux/</link><pubDate>Sat, 18 May 2024 16:48:13 +1000</pubDate><guid>https://hugo.md/post/skip-discord-updates-on-linux/</guid><description>
&lt;p>If you use Discord on Linux, and installed via a &lt;code>.deb&lt;/code>, you might have seen
this annoying pop up every time you start Discord:&lt;/p>
&lt;img style="margin: auto;" alt="A screenshot of a Discord update prompt" src="discord-update.png" />
&lt;p>This seems like Discord &lt;em>requires&lt;/em> you to upgrade before you can start the
client, but that&amp;rsquo;s not the case.&lt;/p>
&lt;p>To skip updates on start up, add the following key to &lt;code>~/.config/discord/settings.json&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-json" data-lang="json">&lt;span class="line">&lt;span class="cl">&lt;span class="s2">&amp;#34;SKIP_HOST_UPDATE&amp;#34;&lt;/span>&lt;span class="err">:&lt;/span> &lt;span class="kc">true&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Next time you start Discord, it won&amp;rsquo;t check for updates.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Skip%20Discord%20Updates%20on%20Linux">Reply via email</a></description></item><item><title>No posts in 2023?</title><link>https://hugo.md/post/no-posts-in-2023/</link><pubDate>Sat, 11 May 2024 21:12:11 +1000</pubDate><guid>https://hugo.md/post/no-posts-in-2023/</guid><description>
&lt;img src="https://hugo.md/post/no-posts-in-2023/taipan-wall.jpg"/>
&lt;p>I didn&amp;rsquo;t write a single post on this blog in 2023. I don&amp;rsquo;t feel bad about it.&lt;/p>
&lt;p>A summary of the year:&lt;/p>
&lt;ul>
&lt;li>I helped plan a wedding with my
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--1" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-1" for="sidenote__checkbox--1" class="sidenote__button sidenote__button--number-1 ">fiancée.*&lt;/label>&lt;small id="sidenote-1" class="sidenote__content sidenote__content--number-1">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>She&amp;rsquo;s now my wife.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span>&lt;/li>
&lt;li>I invested more time in exercise, mostly
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--2" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-2" for="sidenote__checkbox--2" class="sidenote__button sidenote__button--number-2 ">rock climbing*&lt;/label>&lt;small id="sidenote-2" class="sidenote__content sidenote__content--number-2">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>I did a &lt;em>lot&lt;/em> of rock climbing, and I&amp;rsquo;m still loving it.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span> and yoga.&lt;/li>
&lt;li>I learned more about photography.&lt;/li>
&lt;li>I learned to surf.&lt;/li>
&lt;li>I worked hard at my day job, and subsequently feel like I&amp;rsquo;ve accomplished.
a lot, not only in terms of output, but also personal growth.&lt;/li>
&lt;li>I travelled, visiting family, holidaying, and for work.&lt;/li>
&lt;/ul>
&lt;p>That may seem like a lot, or not a lot, but to me it has certainly felt like
the former. I haven&amp;rsquo;t had much time to write blog posts, and I&amp;rsquo;m wary of
creative burn out.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20No%20posts%20in%202023%3f">Reply via email</a></description></item><item><title>Securing services with split DNS and Tailscale</title><link>https://hugo.md/post/tailscale-split-dns/</link><pubDate>Sat, 11 May 2024 16:47:44 +1000</pubDate><guid>https://hugo.md/post/tailscale-split-dns/</guid><description>
&lt;h2 id="what-is-split-dns">What is split DNS?&lt;/h2>
&lt;p>Split DNS is a mechanism to route DNS records differently depending on the
network.&lt;/p>
&lt;p>It&amp;rsquo;s easier to explain this with an example.&lt;/p>
&lt;p>Given a domain, &lt;code>example.com&lt;/code>, we can route it and all its subdomains to an IP
address: &lt;code>1.2.3.4&lt;/code>.&lt;/p>
&lt;p>Performing a look up on &lt;code>foobar.example.com&lt;/code> will return &lt;code>1.2.3.4&lt;/code>:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">dig +short foobar.example.com
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">1.2.3.4&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Performing the same look up via private DNS can return different results:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">dig +short foobar.example.com
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">100.53.187.53&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;h3 id="why-is-this-useful">Why is this useful?&lt;/h3>
&lt;p>I use this for exposing services within my
&lt;a href="https://tailscale.com/kb/1136/tailnet">Tailnet&lt;/a> rather than the public
internet.&lt;/p>
&lt;p>This is useful for services that may have their own authentication, but where I
don&amp;rsquo;t trust the authentication mechanism(s), or where I&amp;rsquo;m not sharing the
service with any friends or family.&lt;/p>
&lt;p>Examples of services I host like this:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://grafana.com/">Grafana&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://prometheus.io/docs/introduction/overview/">Prometheus&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://thelounge.chat/">The Lounge&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="implementing-split-dns">Implementing Split DNS&lt;/h2>
&lt;h3 id="set-up-tailscale">Set up Tailscale&lt;/h3>
&lt;p>Follow &lt;a href="https://tailscale.com/kb/1017/install">Tailscale&amp;rsquo;s excellent quick start
documentation&lt;/a>.&lt;/p>
&lt;p>Next, install Tailscale on the machine you&amp;rsquo;ll be hosting private services on.&lt;/p>
&lt;p>At this point you should have:&lt;/p>
&lt;ul>
&lt;li>Tailscale installed on your development machine&lt;/li>
&lt;li>Tailscale installed on the machine you&amp;rsquo;ll be using to expose private services&lt;/li>
&lt;/ul>
&lt;blockquote class="functional note">
Take note of your private machine's IP address, as we'll be setting DNS to
route to this IP in the next section.
&lt;/blockquote>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">tailscale status
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">100.101.100.10 hugos-mbp username@ macOS -
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">100.53.187.53 private-machine username@ linux -
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">└─┬─────────┘
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> │
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> │
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> └── Take note of this IP address&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;h3 id="set-up-dns-with-nextdns">Set up DNS with NextDNS&lt;/h3>
&lt;p>I have no interest in running my own DNS service, so I use &lt;a href="https://nextdns.io">NextDNS&lt;/a>
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--1" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-1" for="sidenote__checkbox--1" class="sidenote__button sidenote__button--number-1 ">instead.*&lt;/label>&lt;small id="sidenote-1" class="sidenote__content sidenote__content--number-1">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>Don&amp;rsquo;t worry, this isn&amp;rsquo;t a referral
link, I promise. I genuinely use this service, and find it useful for blocking
ads as well.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span>&lt;/p>
&lt;p>Once you&amp;rsquo;ve signed up, you&amp;rsquo;ll need to configure devices accessing private
services to use NextDNS.&lt;/p>
&lt;p>As we only want to route private services, we can
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--2" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-2" for="sidenote__checkbox--2" class="sidenote__button sidenote__button--number-2 ">prefix*&lt;/label>&lt;small id="sidenote-2" class="sidenote__content sidenote__content--number-2">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>This way we avoid having to add a new DNS route for each of our services.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span> our DNS record with
&lt;code>internal&lt;/code>, e.g. &lt;code>*.internal.example.com&lt;/code>.&lt;/p>
&lt;p>Including the &lt;code>*&lt;/code> prefix routes all subdomains to the same route, e.g.
&lt;code>abc.internal.example.com&lt;/code> and &lt;code>def.internal.example.com&lt;/code> will resolve to the
same IP address.&lt;/p>
&lt;p>Now you can add an internal rewrite in settings, routing
&lt;code>*.internal.example.com&lt;/code> to the Tailscale IP address of the private machine that
we noted down in the previous section:&lt;/p>
&lt;img class="light-mode" src="nextdns-screenshot-light.png" />
&lt;img class="dark-mode" src="nextdns-screenshot-dark.png" />
&lt;p>Now NextDNS should return the Tailscale IP address of your service:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">dig +short foobar.internal.example.com
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">100.53.187.53&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>If you&amp;rsquo;re running a webserver, that should also return a default response:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">curl foobar.internal.example.com
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&amp;lt;html&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;404 Not Found&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&amp;lt;body&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt;404 Not Found&amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&amp;lt;hr&amp;gt;&amp;lt;center&amp;gt;nginx&amp;lt;/center&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&amp;lt;/body&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&amp;lt;/html&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;h3 id="restrict-access-with-kubernetes-ingress">Restrict access with Kubernetes Ingress&lt;/h3>
&lt;p>As a bonus, if you&amp;rsquo;re running Kubernetes on your private machine, you can
restrict access to &lt;em>only IP addresses within your Tailnet&lt;/em>.&lt;/p>
&lt;p>Conveniently, all Tailscale IP addresses are in the &lt;code>100.x&lt;/code> range. You can restrict access by adding this annotation to your Ingress:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">apiVersion&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">networking.k8s.io/v1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">kind&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">Ingress&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">metadata&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">foobar-internal&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">namespace&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">foobar&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">annotations&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line hl">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">nginx.ingress.kubernetes.io/whitelist-source-range&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;100.64.0.0/10&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="c"># ...&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;h2 id="help">Help!&lt;/h2>
&lt;p>I&amp;rsquo;m aware I haven&amp;rsquo;t gone into great depth in this post, so feel free to contact
me if you have any trouble or questions.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Securing%20services%20with%20split%20DNS%20and%20Tailscale">Reply via email</a></description></item><item><title>Making this blog easier to read</title><link>https://hugo.md/post/pimp-my-type/</link><pubDate>Sun, 31 Jul 2022 11:58:00 +1100</pubDate><guid>https://hugo.md/post/pimp-my-type/</guid><description>
&lt;p>Last month I was lucky enough to hop on a call with &lt;a href="https://twitter.com/glyphe">Oliver Schöndorfer&lt;/a>. He runs the Pimp My Type &lt;a href="https://pimpmytype.com">blog&lt;/a> and &lt;a href="https://www.youtube.com/c/pimpmytype">YouTube channel&lt;/a>.&lt;/p>
&lt;p>I have been following Oliver’s channel for awhile, and &lt;a href="./post/blog-theme-updates/">tweaking this blog&lt;/a> based on his tips and tricks. If you’re interested in learning more about typography, I recommend checking it out.&lt;/p>
&lt;p>Oliver runs live sessions analysing the typography of his audience’s websites, and I’d previously submitted this blog (the one you’re on right now!). Oliver reached out to me asking if I wanted to catch up for a live session to go through my questions, and for tailored tips to improve the typography/design of this blog, and I
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-" for="sidenote__checkbox--" class="sidenote__button sidenote__button--number- ">jumped*&lt;/label>&lt;small id="sidenote-" class="sidenote__content sidenote__content--number-">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>Seriously, I was so stoked! Oliver, if you’re reading this, thanks again for all the great tips!&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span> at the opportunity.&lt;/p>
&lt;p>The video is now &lt;a href="https://www.youtube.com/watch?v=vBEIJa6KJ-Y">up on YouTube&lt;/a> and there’s a great summary of our conversation on &lt;a href="https://pimpmytype.com/hugo-md/">Pimp My Type&lt;/a>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Making%20this%20blog%20easier%20to%20read">Reply via email</a></description></item><item><title>My trip to Switzerland in photos</title><link>https://hugo.md/post/switzerland-2022/</link><pubDate>Sat, 02 Apr 2022 14:08:01 +1100</pubDate><guid>https://hugo.md/post/switzerland-2022/</guid><description>
&lt;img src="https://hugo.md/post/switzerland-2022/cover.jpg"/>
&lt;h3 id="flying">Flying&lt;/h3>
&lt;p>
&lt;figure>
&lt;img src="extra_legroom.jpg" alt="Extra legroom">
&lt;figcaption>I opted to pay a fraction more to enjoy some extra legroom. I&amp;rsquo;m 6'1, and the extra room is &lt;strong>always&lt;/strong> worth it.&lt;/figcaption>
&lt;/figure>
&lt;figure>
&lt;img src="window_seat.jpg" alt="From the window seat">
&lt;figcaption>The window seat provided a wonderful view over the Alps as the plane began its descent just after sunrise.&lt;/figcaption>
&lt;/figure>
&lt;/p>
&lt;h3 id="klosters-dorf-graubünden">Klosters Dorf, Graubünden&lt;/h3>
&lt;p>
&lt;figure>
&lt;img src="madrisa_east.jpg" alt="Madrisa">
&lt;figcaption>Looking east from the top of the Schaffürggli lift.&lt;/figcaption>
&lt;/figure>
&lt;figure>
&lt;img src="madrisa.jpg" alt="Madrisa">
&lt;figcaption>Looking south-east from the top of the Schaffürggli lift.&lt;/figcaption>
&lt;/figure>
&lt;/p>
&lt;h3 id="geneva-vaud">Geneva, Vaud&lt;/h3>
&lt;p>
&lt;figure>
&lt;img src="france.jpg" alt="France">
&lt;figcaption>Swiss-French fields in the morning haze, muddy underfoot.&lt;/figcaption>
&lt;/figure>
&lt;figure>
&lt;img src="catwalk.jpg" alt="Catwalk">
&lt;figcaption>A catwalk on the side of a barn, allow the cat to leave and go from an apartment as they please.&lt;/figcaption>
&lt;/figure>
&lt;/p>
&lt;h3 id="zürich">Zürich&lt;/h3>
&lt;p>
&lt;figure>
&lt;img src="the_circle.jpg" alt="The Circle">
&lt;figcaption>I stayed at the Hyatt Place in &lt;a href="https://www.thecircle.ch/en">The Circle&lt;/a> on my way home, to save an early morning train to the airport.&lt;/figcaption>
&lt;/figure>
&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20My%20trip%20to%20Switzerland%20in%20photos">Reply via email</a></description></item><item><title>You should use Tailscale</title><link>https://hugo.md/post/you-should-use-tailscale/</link><pubDate>Thu, 25 Nov 2021 17:42:38 +1100</pubDate><guid>https://hugo.md/post/you-should-use-tailscale/</guid><description>
&lt;p>I recently installed &lt;a href="https://tailscale.com/">Tailscale&lt;/a> on my &lt;a href="https://getumbrel.com/">Umbrel&lt;/a> node, so I can access it remotely without going via Tor, because Tor is &lt;em>so slow&lt;/em>. It&amp;rsquo;s one of the few services I&amp;rsquo;ve used that I can say &lt;em>just works&lt;/em>. They also have a reasonable &lt;a href="https://tailscale.com/pricing/">hobby tier&lt;/a>.&lt;/p>
&lt;h2 id="tailscale-and-umbrel">Tailscale and Umbrel&lt;/h2>
&lt;ol>
&lt;li>Sign up &lt;a href="https://tailscale.com/start">to Tailscale&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://tailscale.com/download">Install Tailscale&lt;/a> on your Umbrel node, following the Linux instructions, and on your phone.&lt;/li>
&lt;li>Once set up, you can go about using various Umbrel apps remotely, replacing &lt;code>umbrel.local&lt;/code> in your connection strings with the Tailscale IP for your node (e.g. &lt;code>100.123.300.4&lt;/code>).&lt;/li>
&lt;/ol>
&lt;p>I&amp;rsquo;ve tried this out with &lt;a href="https://bluewallet.io/">BlueWallet&lt;/a>, &lt;a href="https://fullynoded.app/">FullyNoded&lt;/a>, and &lt;a href="https://www.zaphq.io/">Zap&lt;/a>, with
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-" for="sidenote__checkbox--" class="sidenote__button sidenote__button--number- ">great success!*&lt;/label>&lt;small id="sidenote-" class="sidenote__content sidenote__content--number-">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>Although &lt;a href="https://twitter.com/satsophone">@satsophone&lt;/a> has pointed out that Zap is effectively abandonware now that &lt;a href="https://strike.me/">Strike&lt;/a> is available.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span>&lt;/p>
&lt;p>Let me know if you run into any issues, and I&amp;rsquo;ll help out where I can.&lt;/p>
&lt;p>If you&amp;rsquo;re interested in reading more about Tailscale, checkout &lt;a href="https://stanislas.blog/2021/08/tailscale/">How I use tailscale&lt;/a> by &lt;a href="https://stanislas.blog/">Stanislas&lt;/a>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20You%20should%20use%20Tailscale">Reply via email</a></description></item><item><title>Theme updates</title><link>https://hugo.md/post/blog-theme-updates/</link><pubDate>Mon, 15 Nov 2021 17:30:49 +1100</pubDate><guid>https://hugo.md/post/blog-theme-updates/</guid><description>
&lt;p>I&amp;rsquo;ve made a few changes to this blog&amp;rsquo;s theme over the last few weeks, and I thought it would be nice to summarise them in a post.&lt;/p>
&lt;p>Here&amp;rsquo;s what has changed:&lt;/p>
&lt;ul>
&lt;li>Add support for
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--1" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-1" for="sidenote__checkbox--1" class="sidenote__button sidenote__button--number-1 ">post translations*&lt;/label>&lt;small id="sidenote-1" class="sidenote__content sidenote__content--number-1">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>You can see this in action &lt;a href="./fr/post/this-blog-is-decentralised/">here&lt;/a>.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span>&lt;/li>
&lt;li>Remove the link to the
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--2" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-2" for="sidenote__checkbox--2" class="sidenote__button sidenote__button--number-2 ">git SHA in the footer*&lt;/label>&lt;small id="sidenote-2" class="sidenote__content sidenote__content--number-2">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>I doubt anyone was using this, and it&amp;rsquo;s obsolete with a link to edit on GitHub.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span>&lt;/li>
&lt;li>Increase font size &lt;em>everywhere&lt;/em>&lt;/li>
&lt;li>Use &lt;a href="https://fonts.google.com/specimen/Newsreader">Newsreader&lt;/a> for body text&lt;/li>
&lt;li>Use &lt;span class="functional">&lt;a href="https://fonts.google.com/specimen/Libre+Franklin">Libre Franklin&lt;/a>&lt;/span> as the functional text&lt;/li>
&lt;li>Use &lt;span style="font-family:'Berkeley Mono';">&lt;a href="https://berkeleygraphics.com/typefaces/berkeley-mono">Berkeley Mono&lt;/a>&lt;/span> for code&lt;/li>
&lt;li>Post metadata (date, tags, etc) now uses functional font&lt;/li>
&lt;li>Increase line-height and decrease site width&lt;/li>
&lt;li>Add an “Edit on GitHub” link to each post&lt;/li>
&lt;li>Add &lt;a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons license&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>I was inspired to make typography changes after reading &lt;a href="https://kevq.uk/">Kev&lt;/a>’s post: &lt;a href="https://kevq.uk/whats-in-a-font-researching-website-typography/">What&amp;rsquo;s In A Font? Website Typography Best Practices&lt;/a>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Theme%20updates">Reply via email</a></description></item><item><title>This blog is decentralised</title><link>https://hugo.md/post/this-blog-is-decentralised/</link><pubDate>Sun, 12 Sep 2021 19:33:06 +1000</pubDate><guid>https://hugo.md/post/this-blog-is-decentralised/</guid><description>
&lt;p>&lt;span class="meta">This is post number 13 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>This blog is now available on the Handshake blockchain via &lt;a href="http://blog.hugo.md">blog.hugomd&lt;/a> and on the Ethereum Name Service (ENS) via &lt;a href="http://hugomd.eth">hugomd.eth&lt;/a> (or &lt;a href="https://hugomd.eth.limo">hugomd.eth.limo&lt;/a> if you don&amp;rsquo;t have an ENS resolver).&lt;/p>
&lt;p>Why?&lt;/p>
&lt;p>I&amp;rsquo;ve seen a few people on Twitter sporting &lt;code>$name.eth&lt;/code> handles, and thought I would see how ENS has matured since I last looked into it. I&amp;rsquo;ve been an avid supporter of Handshake they released their airdrop, and have a few TLDs there already, why not check out an alternative and hedge my bets?&lt;/p>
&lt;p>I used &lt;a href="https://fleek.co/">Fleek&lt;/a> to deploy to IPFS, which was almost as streamlined as Cloudflare Pages. You sign up, link your GitHub account and a repository, configure the builder you want to use, and you&amp;rsquo;re done.&lt;/p>
&lt;p>I ran into a few issues finding a Docker image that supported &lt;code>hugo&lt;/code> and &lt;code>openring&lt;/code>, but I found &lt;a href="https://github.com/klakegg/docker-hugo">one eventually&lt;/a>.&lt;/p>
&lt;p>What are your thoughts on decentralised DNS? Let me know.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20This%20blog%20is%20decentralised">Reply via email</a></description></item><item><title>Theme-aware syntax highlighting</title><link>https://hugo.md/post/theme-aware-syntax-highlighting/</link><pubDate>Sun, 29 Aug 2021 12:38:46 +1000</pubDate><guid>https://hugo.md/post/theme-aware-syntax-highlighting/</guid><description>
&lt;p>&lt;span class="meta">This is post number 12 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>
&lt;span class="sidenote">&lt;input aria-label="Show sidenote" type="checkbox" id="sidenote__checkbox--1" class="sidenote__checkbox">&lt;label tabindex="0" title="Sidenote content" aria-describedby="sidenote-1" for="sidenote__checkbox--1" class="sidenote__button sidenote__button--number-1 ">Hugo*&lt;/label>&lt;small id="sidenote-1" class="sidenote__content sidenote__content--number-1">&lt;span class="sidenote__content-parenthesis"> (sidenote: &lt;/span>I keep having to specify, so it doesn&amp;rsquo;t seem like I&amp;rsquo;m referring to myself in third person.&lt;span class="sidenote__content-parenthesis">)&lt;/span>&lt;/small>&lt;/span> (the &lt;a href="https://gohugo.io/">static site generator&lt;/a>) supports static syntax highlighting.&lt;/p>
&lt;p>Instead of using a JavaScript based highlighter, you can perform highlighting
at build time, rather than pulling in yet another dependency to slow down your
site.&lt;/p>
&lt;p>There&amp;rsquo;s great documentation for it &lt;a href="https://gohugo.io/content-management/syntax-highlighting/">here&lt;/a>.&lt;/p>
&lt;p>Unfortunately, it doesn&amp;rsquo;t support generating theme-aware CSS. If someone is
viewing this blog in dark mode, they&amp;rsquo;ll see a light style, or vice-versa
depending on the syntax highlighting theme.&lt;/p>
&lt;p>Thankfully, there&amp;rsquo;s a nice way around this: media queries!&lt;/p>
&lt;p>Here&amp;rsquo;s a short video to demonstrate what I&amp;rsquo;m talking about:
&lt;video controls width='100%'>
&lt;source src='./syntax-light-dark.mp4' type='video/mp4'>
Your browser doesn&amp;rsquo;t support the HTML5 video tag :(
&lt;/video>&lt;/p>
&lt;p>When in light mode, the syntax theme is solarized. When dark mode is toggled,
the theme switches to solarized-dark.&lt;/p>
&lt;p>To achieve this, we first need to generate both light and dark styles:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">hugo gen chromastyles --style&lt;span class="o">=&lt;/span>solarized-dark &amp;gt; syntax-dark.css
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">hugo gen chromastyles --style&lt;span class="o">=&lt;/span>solarized &amp;gt; syntax-light.css&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>You can find a list of available styles
&lt;a href="https://help.farbox.com/pygments.html">here&lt;/a>.&lt;/p>
&lt;p>Once that&amp;rsquo;s done, we can combine them into one file:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-css" data-lang="css">&lt;span class="line">&lt;span class="cl">&lt;span class="c">/* file: syntax.css */&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line hl">&lt;span class="cl">&lt;span class="c">/* Paste the default syntax CSS here, e.g. solarized-light */&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">@&lt;/span>&lt;span class="k">media&lt;/span> &lt;span class="nt">screen&lt;/span> &lt;span class="nt">and&lt;/span> &lt;span class="o">(&lt;/span>&lt;span class="nt">prefers-color-scheme&lt;/span>&lt;span class="o">:&lt;/span> &lt;span class="nt">dark&lt;/span>&lt;span class="o">)&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line hl">&lt;span class="cl"> &lt;span class="c">/* Paste the dark syntax CSS here, e.g. solarized-dark */&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>All that&amp;rsquo;s left to do is import the above snippet into your
theme&amp;rsquo;s &lt;code>&amp;lt;head&amp;gt;&lt;/code> template, like so:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-html" data-lang="html">&lt;span class="line">&lt;span class="cl">{{ $syntax := resources.Get &amp;#34;css/syntax.css&amp;#34; | minify | fingerprint }}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">link&lt;/span> &lt;span class="na">rel&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;stylesheet&amp;#34;&lt;/span> &lt;span class="na">href&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;{{ $syntax.Permalink }}&amp;#34;&lt;/span> &lt;span class="na">integrity&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;{{ $syntax.Data.Integrity }}&amp;#34;&lt;/span>&lt;span class="p">&amp;gt;&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>The above snippet assumes &lt;code>syntax.css&lt;/code> is stored in &lt;code>assets/css/&lt;/code>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Theme-aware%20syntax%20highlighting">Reply via email</a></description></item><item><title>Setting Bucket Policy DigitalOcean Spaces</title><link>https://hugo.md/post/setting-bucket-policy-digital-ocean-spaces/</link><pubDate>Tue, 24 Aug 2021 11:15:32 +1000</pubDate><guid>https://hugo.md/post/setting-bucket-policy-digital-ocean-spaces/</guid><description>
&lt;p>&lt;span class="meta">This is post number 11 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>I&amp;rsquo;ve recently set up &lt;a href="https://github.com/Chocobozzz/PeerTube/">PeerTube&lt;/a> for personal use, after native support for &lt;a href="https://github.com/Chocobozzz/PeerTube/pull/4290">object storage&lt;/a> was merged.&lt;/p>
&lt;p>It&amp;rsquo;s running on DigitalOcean Kubernetes, and using DigitalOcean Spaces for object storage.&lt;/p>
&lt;p>I quickly ran into issues. Any video uploaded to PeerTube was inaccessible, because the object ACL was set to private. I could manually set them to public read in DigitalOcean&amp;rsquo;s UI, or get PeerTube to set it, but both seemed like bad options. DigitalOcean does support enabling public listing, which means all the objects in your bucket can be listed as long as someone has the bucket URL. This naturally isn&amp;rsquo;t great, because if someone uploads a private video to PeerTube, anyone can list all of the objects in the bucket and end up finding it anyway.&lt;/p>
&lt;p>After pulling on the thread long enough, I found that Spaces supports bucket policies, which allow you to specify a global ACL that applies to all objects.&lt;/p>
&lt;p>To apply this policy, you need to set up AWS CLI:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">brew install awscli
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">aws configure&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>The arguments to &lt;code>aws configure&lt;/code> are the same as those described in DigitalOcean&amp;rsquo;s &lt;a href="https://docs.digitalocean.com/products/spaces/resources/s3cmd/">guide to set up &lt;code>s3cmd&lt;/code>&lt;/a>.&lt;/p>
&lt;p>Next, you can save the following to &lt;code>policy.json&lt;/code>, replacing &lt;code>BUCKET_NAME&lt;/code> with the name of your bucket:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-json" data-lang="json">&lt;span class="line">&lt;span class="cl">&lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Version&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="s2">&amp;#34;2008-10-17&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Statement&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="p">[&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Sid&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="s2">&amp;#34;AddPerm&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Effect&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="s2">&amp;#34;Allow&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Principal&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="s2">&amp;#34;*&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Action&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="s2">&amp;#34;s3:GetObject&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Resource&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="s2">&amp;#34;arn:aws:s3:::BUCKET_NAME/*&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">]&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>You can then apply the policy with, replacing &lt;code>BUCKET_NAME&lt;/code> with the name of your bucket, and &lt;code>REGION&lt;/code> with the bucket region (e.g. &lt;code>sgp1&lt;/code>):
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">aws s3api --endpoint&lt;span class="o">=&lt;/span>https://REGION.digitaloceanspaces.com put-bucket-policy --bucket BUCKET_NAME --policy file://policy.json&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Now any objects uploaded to your bucket will be publicly readable, but no one will be able to list the contents of the bucket in their entirety.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Setting%20Bucket%20Policy%20DigitalOcean%20Spaces">Reply via email</a></description></item><item><title>Update: Rendering Static Tweets</title><link>https://hugo.md/post/update-rendering-static-tweets/</link><pubDate>Mon, 28 Jun 2021 15:45:58 +1000</pubDate><guid>https://hugo.md/post/update-rendering-static-tweets/</guid><description>
&lt;p>&lt;span class="meta">This is post number 10 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>A few weeks ago, I wrote a post about &lt;a href="./post/render-tweets-statically">rendering static tweets&lt;/a>. I&amp;rsquo;ve made a few important improvements, worthy enough of a new post.&lt;/p>
&lt;p>In my original post, I described using a proxy to inject Twitter API headers. This is hacky, and leads to flaky builds, because the build server needs to handle a NodeJS proxy running in the background&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>. I got this working on Vercel and Cloudflare Pages&lt;sup id="fnref:2">&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref">2&lt;/a>&lt;/sup>, but there was no guarantee the build would pass, and I was constantly re-running failed builds. Neither fun nor productive. In the past few weeks I&amp;rsquo;ve wanted to remove this functionality from my blog because it&amp;rsquo;s made it more difficult to preview and deploy.&lt;/p>
&lt;p>Last week I was reading &lt;a href="https://nicholas.cloud/">Nicholas Whittaker&amp;rsquo;s blog&lt;/a>, specifically a post he wrote about &lt;a href="https://nicholas.cloud/blips/static-embeds-for-tweets-and-videos/">static embeds for tweets and videos&lt;/a> (sounds familiar, right?). He&amp;rsquo;s using &lt;a href="https://github.com/nchlswhttkr/workers">workers&lt;/a> to handle some of the proxying, but notably, he&amp;rsquo;s not calling Twitter&amp;rsquo;s private API, which requires authentication, he&amp;rsquo;s calling a &lt;em>public&lt;/em> one.&lt;/p>
&lt;p>I had no idea &lt;code>https://cdn.syndication.twimg.com/&lt;/code> existed. It&amp;rsquo;s a completely open API you can use for fetching tweets, which means it&amp;rsquo;s perfect for static sites!&lt;/p>
&lt;p>Try it out: &lt;code>curl &amp;quot;https://cdn.syndication.twimg.com/tweet?id=1406108535356678145&amp;quot;&lt;/code>&lt;/p>
&lt;p>Check out the updated shortcode &lt;a href="https://github.com/hugomd/blog/blob/6ad96b24117255c2a9912c566ffd081bd9bbd6f1/layouts/shortcodes/statictweet.html">here&lt;/a>.&lt;/p>
&lt;p>After some further sleuthing on Nicholas&amp;rsquo; blog, I realised you can &lt;a href="https://gohugo.io/getting-started/configuration/">configure caches&lt;/a> in Hugo. This means you can cache calls to &lt;code>getJson&lt;/code>, and push the cache to git. If a tweet ever gets deleted, as long as it exists in the cache&lt;sup id="fnref:3">&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref">3&lt;/a>&lt;/sup>, I can continue rendering the tweet. Neat!&lt;/p>
&lt;div class="footnotes" role="doc-endnotes">
&lt;hr>
&lt;ol>
&lt;li id="fn:1">
&lt;p>This sounds more complicated than it is. The Hugo shortcode makes a request to &lt;code>localhost:8080/{tweetId}?auth={authToken}&lt;/code>, the proxy then calls &lt;code>https://api.twitter.com/1.1/statuses/show?id=${tweetId}&lt;/code> with the same tweet ID and an authentication header. The proxy is &lt;a href="https://github.com/hugomd/blog/blob/e7e49ac6204562e43360798c17d1c2175cab8a2a/twitter-proxy/index.js">on GitHub&lt;/a> if you want to take a peek.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;li id="fn:2">
&lt;p>Here is what the build command looked like: &lt;code>cd twitter-proxy &amp;amp;&amp;amp; npm install &amp;amp;&amp;amp; node index.js &amp;amp; sleep 5 &amp;amp;&amp;amp; echo &amp;quot;Done&amp;quot; &amp;amp;&amp;amp; hugo -t hello-friend --baseUrl=$BASE_URL --ignoreCache&lt;/code>&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;li id="fn:3">
&lt;p>Provided you&amp;rsquo;ve set &lt;code>maxAge: -1&lt;/code>, so the cache is never purged. My config is &lt;a href="https://github.com/hugomd/blog/blob/04c72df2603979d2b1af9a642ed973951d2d6bb0/config.toml#L9-L12">here&lt;/a>.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/div><a href="mailto:blog@hu.md?subject=RE%3a%20Update%3a%20Rendering%20Static%20Tweets">Reply via email</a></description></item><item><title>Homelab Proxying With Cloudflare Tunnel</title><link>https://hugo.md/post/homelab-proxying-with-cloudflare-tunnel/</link><pubDate>Fri, 18 Jun 2021 18:12:28 +1000</pubDate><guid>https://hugo.md/post/homelab-proxying-with-cloudflare-tunnel/</guid><description>
&lt;p>&lt;span class="meta">This is post number 9 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>Traditionally, I&amp;rsquo;ve exposed my homelab directly to the internet.&lt;/p>
&lt;p>I point a DNS record to my home IP, updating it with &lt;a href="https://github.com/hugomd/cloudflare-ddns">cloudflare-ddns&lt;/a> as I don&amp;rsquo;t have a static IP, nor do I wish to pay for one.&lt;/p>
&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="267" height="313" style="fill:var(--color)">
&lt;path d="M 2.003418 113.086914 L 5.687988 113.086914 L 5.687988 114.000000 L 0.816406 114.000000 L 0.816406 113.086914 Q 1.820801 112.028809 2.572754 111.217773 Q 3.324707 110.406738 3.609375 110.073730 Q 4.146484 109.418457 4.334473 109.012939 Q 4.522461 108.607422 4.522461 108.183105 Q 4.522461 107.511719 4.127686 107.130371 Q 3.732910 106.749023 3.045410 106.749023 Q 2.556641 106.749023 2.019531 106.926270 Q 1.482422 107.103516 0.880859 107.463379 L 0.880859 106.367676 Q 1.434082 106.104492 1.968506 105.970215 Q 2.502930 105.835938 3.023926 105.835938 Q 4.200195 105.835938 4.917236 106.461670 Q 5.634277 107.087402 5.634277 108.102539 Q 5.634277 108.618164 5.395264 109.133789 Q 5.156250 109.649414 4.619141 110.272461 Q 4.318359 110.621582 3.746338 111.239258 Q 3.174316 111.856934 2.003418 113.086914 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 130.319336 L 44.878906 116.300781 L 45.738281 116.300781 L 45.738281 130.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 143.319336 L 44.878906 129.300781 L 45.738281 129.300781 L 45.738281 143.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 156.319336 L 44.878906 142.300781 L 45.738281 142.300781 L 45.738281 156.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 163.335938 L 44.878906 155.300781 L 45.738281 155.300781 L 45.738281 162.412109 L 48.729980 162.412109 L 48.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 221.319336 L 44.878906 214.412109 L 48.729980 214.412109 L 48.729980 215.335938 L 45.738281 215.335938 L 45.738281 221.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 234.319336 L 44.878906 220.300781 L 45.738281 220.300781 L 45.738281 234.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 247.319336 L 44.878906 233.300781 L 45.738281 233.300781 L 45.738281 247.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 260.319336 L 44.878906 246.300781 L 45.738281 246.300781 L 45.738281 260.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 273.319336 L 44.878906 259.300781 L 45.738281 259.300781 L 45.738281 273.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 286.319336 L 44.878906 272.300781 L 45.738281 272.300781 L 45.738281 286.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 299.319336 L 44.878906 285.300781 L 45.738281 285.300781 L 45.738281 299.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 306.335938 L 44.878906 298.300781 L 45.738281 298.300781 L 45.738281 305.412109 L 48.729980 305.412109 L 48.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 306.335938 L 48.892578 305.412109 L 55.729980 305.412109 L 55.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 306.335938 L 55.892578 305.412109 L 62.729980 305.412109 L 62.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 306.335938 L 62.892578 305.412109 L 69.729980 305.412109 L 69.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 306.335938 L 69.892578 305.412109 L 76.729980 305.412109 L 76.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 306.335938 L 76.892578 305.412109 L 79.878906 305.412109 L 79.878906 298.300781 L 80.738281 298.300781 L 80.738281 305.412109 L 83.729980 305.412109 L 83.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 306.335938 L 83.892578 305.412109 L 90.729980 305.412109 L 90.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 306.335938 L 90.892578 305.412109 L 97.729980 305.412109 L 97.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 306.335938 L 97.892578 305.412109 L 104.729980 305.412109 L 104.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 306.335938 L 104.892578 305.412109 L 111.729980 305.412109 L 111.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 306.335938 L 111.892578 305.412109 L 118.729980 305.412109 L 118.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 306.335938 L 118.892578 305.412109 L 125.729980 305.412109 L 125.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 306.335938 L 125.892578 305.412109 L 132.729980 305.412109 L 132.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 306.335938 L 132.892578 305.412109 L 139.729980 305.412109 L 139.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 306.335938 L 139.892578 305.412109 L 146.729980 305.412109 L 146.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 146.892578 306.335938 L 146.892578 305.412109 L 153.729980 305.412109 L 153.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 306.335938 L 153.892578 305.412109 L 160.729980 305.412109 L 160.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 160.892578 306.335938 L 160.892578 305.412109 L 167.729980 305.412109 L 167.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 167.892578 306.335938 L 167.892578 305.412109 L 174.729980 305.412109 L 174.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 174.892578 306.335938 L 174.892578 305.412109 L 181.729980 305.412109 L 181.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 181.892578 306.335938 L 181.892578 305.412109 L 188.729980 305.412109 L 188.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 188.892578 306.335938 L 188.892578 305.412109 L 195.729980 305.412109 L 195.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 195.892578 306.335938 L 195.892578 305.412109 L 202.729980 305.412109 L 202.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 202.892578 306.335938 L 202.892578 305.412109 L 205.878906 305.412109 L 205.878906 298.300781 L 206.738281 298.300781 L 206.738281 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 79.878906 286.319336 L 79.878906 279.412109 L 83.729980 279.412109 L 83.729980 280.335938 L 80.738281 280.335938 L 80.738281 286.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 79.878906 299.319336 L 79.878906 285.300781 L 80.738281 285.300781 L 80.738281 299.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 96.698730 295.693848 Q 96.301270 295.924805 95.879639 296.040283 Q 95.458008 296.155762 95.017578 296.155762 Q 93.621094 296.155762 92.834229 295.317871 Q 92.047363 294.479980 92.047363 292.997559 Q 92.047363 291.515137 92.834229 290.677246 Q 93.621094 289.839355 95.017578 289.839355 Q 95.452637 289.839355 95.866211 289.952148 Q 96.279785 290.064941 96.698730 290.301270 L 96.698730 291.337891 Q 96.306641 290.988770 95.911865 290.833008 Q 95.517090 290.677246 95.017578 290.677246 Q 94.088379 290.677246 93.588867 291.278809 Q 93.089355 291.880371 93.089355 292.997559 Q 93.089355 294.109375 93.591553 294.713623 Q 94.093750 295.317871 95.017578 295.317871 Q 95.533203 295.317871 95.941406 295.159424 Q 96.349609 295.000977 96.698730 294.667969 Z " fill-opacity="1.000000" />
&lt;path d="M 101.861816 293.824707 Q 101.861816 294.490723 102.106201 294.829102 Q 102.350586 295.167480 102.828613 295.167480 L 103.983398 295.167480 L 103.983398 296.000000 L 102.731934 296.000000 Q 101.845703 296.000000 101.359619 295.433350 Q 100.873535 294.866699 100.873535 293.824707 L 100.873535 288.383789 L 99.289062 288.383789 L 99.289062 287.610352 L 101.861816 287.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 108.308594 290.677246 Q 107.556641 290.677246 107.169922 291.262695 Q 106.783203 291.848145 106.783203 292.997559 Q 106.783203 294.141602 107.169922 294.729736 Q 107.556641 295.317871 108.308594 295.317871 Q 109.065918 295.317871 109.452637 294.729736 Q 109.839355 294.141602 109.839355 292.997559 Q 109.839355 291.848145 109.452637 291.262695 Q 109.065918 290.677246 108.308594 290.677246 Z M 108.308594 289.839355 Q 109.560059 289.839355 110.223389 290.650391 Q 110.886719 291.461426 110.886719 292.997559 Q 110.886719 294.539062 110.226074 295.347412 Q 109.565430 296.155762 108.308594 296.155762 Q 107.057129 296.155762 106.396484 295.347412 Q 105.735840 294.539062 105.735840 292.997559 Q 105.735840 291.461426 106.396484 290.650391 Q 107.057129 289.839355 108.308594 289.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 113.047363 293.722656 L 113.047363 289.995117 L 114.035645 289.995117 L 114.035645 293.722656 Q 114.035645 294.533691 114.322998 294.915039 Q 114.610352 295.296387 115.211914 295.296387 Q 115.910156 295.296387 116.280762 294.804932 Q 116.651367 294.313477 116.651367 293.395020 L 116.651367 289.995117 L 117.645020 289.995117 L 117.645020 296.000000 L 116.651367 296.000000 L 116.651367 295.097656 Q 116.388184 295.618652 115.934326 295.887207 Q 115.480469 296.155762 114.873535 296.155762 Q 113.949707 296.155762 113.498535 295.551514 Q 113.047363 294.947266 113.047363 293.722656 Z " fill-opacity="1.000000" />
&lt;path d="M 123.608398 290.752441 L 123.608398 287.642578 L 124.596680 287.642578 L 124.596680 296.000000 L 123.608398 296.000000 L 123.608398 295.242676 Q 123.361328 295.688477 122.950439 295.922119 Q 122.539551 296.155762 122.002441 296.155762 Q 120.912109 296.155762 120.286377 295.309814 Q 119.660645 294.463867 119.660645 292.976074 Q 119.660645 291.509766 120.289062 290.674561 Q 120.917480 289.839355 122.002441 289.839355 Q 122.544922 289.839355 122.958496 290.072998 Q 123.372070 290.306641 123.608398 290.752441 Z M 120.702637 292.997559 Q 120.702637 294.146973 121.067871 294.732422 Q 121.433105 295.317871 122.147461 295.317871 Q 122.861816 295.317871 123.235107 294.727051 Q 123.608398 294.136230 123.608398 292.997559 Q 123.608398 291.853516 123.235107 291.265381 Q 122.861816 290.677246 122.147461 290.677246 Q 121.433105 290.677246 121.067871 291.262695 Q 120.702637 291.848145 120.702637 292.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 131.709473 287.642578 L 131.709473 288.464355 L 130.586914 288.464355 Q 130.055176 288.464355 129.848389 288.681885 Q 129.641602 288.899414 129.641602 289.452637 L 129.641602 289.984375 L 131.709473 289.984375 L 131.709473 290.752441 L 129.641602 290.752441 L 129.641602 296.000000 L 128.653320 296.000000 L 128.653320 290.752441 L 127.047363 290.752441 L 127.047363 289.984375 L 128.653320 289.984375 L 128.653320 289.565430 Q 128.653320 288.577148 129.107178 288.109863 Q 129.561035 287.642578 130.522461 287.642578 Z " fill-opacity="1.000000" />
&lt;path d="M 136.861816 293.824707 Q 136.861816 294.490723 137.106201 294.829102 Q 137.350586 295.167480 137.828613 295.167480 L 138.983398 295.167480 L 138.983398 296.000000 L 137.731934 296.000000 Q 136.845703 296.000000 136.359619 295.433350 Q 135.873535 294.866699 135.873535 293.824707 L 135.873535 288.383789 L 134.289062 288.383789 L 134.289062 287.610352 L 136.861816 287.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 143.770508 292.976074 L 143.442871 292.976074 Q 142.578125 292.976074 142.140381 293.279541 Q 141.702637 293.583008 141.702637 294.184570 Q 141.702637 294.727051 142.030273 295.027832 Q 142.357910 295.328613 142.937988 295.328613 Q 143.754395 295.328613 144.221680 294.761963 Q 144.688965 294.195312 144.694336 293.196289 L 144.694336 292.976074 Z M 145.687988 292.567871 L 145.687988 296.000000 L 144.694336 296.000000 L 144.694336 295.108398 Q 144.377441 295.645508 143.896729 295.900635 Q 143.416016 296.155762 142.728516 296.155762 Q 141.810059 296.155762 141.262207 295.637451 Q 140.714355 295.119141 140.714355 294.249023 Q 140.714355 293.244629 141.388428 292.723633 Q 142.062500 292.202637 143.367676 292.202637 L 144.694336 292.202637 L 144.694336 292.046875 Q 144.688965 291.327148 144.329102 291.002197 Q 143.969238 290.677246 143.179688 290.677246 Q 142.674805 290.677246 142.159180 290.822266 Q 141.643555 290.967285 141.154785 291.246582 L 141.154785 290.258301 Q 141.702637 290.048828 142.204834 289.944092 Q 142.707031 289.839355 143.179688 289.839355 Q 143.926270 289.839355 144.455322 290.059570 Q 144.984375 290.279785 145.312012 290.720215 Q 145.516113 290.988770 145.602051 291.383545 Q 145.687988 291.778320 145.687988 292.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 153.203613 291.225098 Q 152.886719 290.978027 152.559082 290.865234 Q 152.231445 290.752441 151.839355 290.752441 Q 150.915527 290.752441 150.426758 291.332520 Q 149.937988 291.912598 149.937988 293.008301 L 149.937988 296.000000 L 148.944336 296.000000 L 148.944336 289.984375 L 149.937988 289.984375 L 149.937988 291.160645 Q 150.185059 290.521484 150.697998 290.180420 Q 151.210938 289.839355 151.914551 289.839355 Q 152.279785 289.839355 152.596680 289.930664 Q 152.913574 290.021973 153.203613 290.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 160.015625 292.498047 L 160.015625 292.981445 L 155.734863 292.981445 L 155.734863 293.013672 Q 155.691895 294.243652 156.204834 294.780762 Q 156.717773 295.317871 157.652344 295.317871 Q 158.125000 295.317871 158.640625 295.167480 Q 159.156250 295.017090 159.741699 294.710938 L 159.741699 295.693848 Q 159.177734 295.924805 158.654053 296.040283 Q 158.130371 296.155762 157.641602 296.155762 Q 156.239746 296.155762 155.450195 295.315186 Q 154.660645 294.474609 154.660645 292.997559 Q 154.660645 291.558105 155.434082 290.698730 Q 156.207520 289.839355 157.496582 289.839355 Q 158.645996 289.839355 159.309326 290.618164 Q 159.972656 291.396973 160.015625 292.498047 Z M 159.027344 292.208008 Q 158.962891 291.584961 158.573486 291.131104 Q 158.184082 290.677246 157.453613 290.677246 Q 156.739258 290.677246 156.277344 291.149902 Q 155.815430 291.622559 155.772461 292.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 161.547852 292.111328 L 167.241211 292.111328 L 167.241211 293.019043 L 161.547852 293.019043 Z " fill-opacity="1.000000" />
&lt;path d="M 172.608398 290.752441 L 172.608398 287.642578 L 173.596680 287.642578 L 173.596680 296.000000 L 172.608398 296.000000 L 172.608398 295.242676 Q 172.361328 295.688477 171.950439 295.922119 Q 171.539551 296.155762 171.002441 296.155762 Q 169.912109 296.155762 169.286377 295.309814 Q 168.660645 294.463867 168.660645 292.976074 Q 168.660645 291.509766 169.289062 290.674561 Q 169.917480 289.839355 171.002441 289.839355 Q 171.544922 289.839355 171.958496 290.072998 Q 172.372070 290.306641 172.608398 290.752441 Z M 169.702637 292.997559 Q 169.702637 294.146973 170.067871 294.732422 Q 170.433105 295.317871 171.147461 295.317871 Q 171.861816 295.317871 172.235107 294.727051 Q 172.608398 294.136230 172.608398 292.997559 Q 172.608398 291.853516 172.235107 291.265381 Q 171.861816 290.677246 171.147461 290.677246 Q 170.433105 290.677246 170.067871 291.262695 Q 169.702637 291.848145 169.702637 292.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 179.608398 290.752441 L 179.608398 287.642578 L 180.596680 287.642578 L 180.596680 296.000000 L 179.608398 296.000000 L 179.608398 295.242676 Q 179.361328 295.688477 178.950439 295.922119 Q 178.539551 296.155762 178.002441 296.155762 Q 176.912109 296.155762 176.286377 295.309814 Q 175.660645 294.463867 175.660645 292.976074 Q 175.660645 291.509766 176.289062 290.674561 Q 176.917480 289.839355 178.002441 289.839355 Q 178.544922 289.839355 178.958496 290.072998 Q 179.372070 290.306641 179.608398 290.752441 Z M 176.702637 292.997559 Q 176.702637 294.146973 177.067871 294.732422 Q 177.433105 295.317871 178.147461 295.317871 Q 178.861816 295.317871 179.235107 294.727051 Q 179.608398 294.136230 179.608398 292.997559 Q 179.608398 291.853516 179.235107 291.265381 Q 178.861816 290.677246 178.147461 290.677246 Q 177.433105 290.677246 177.067871 291.262695 Q 176.702637 291.848145 176.702637 292.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 187.645020 292.272461 L 187.645020 296.000000 L 186.651367 296.000000 L 186.651367 292.272461 Q 186.651367 291.461426 186.366699 291.080078 Q 186.082031 290.698730 185.475098 290.698730 Q 184.782227 290.698730 184.408936 291.190186 Q 184.035645 291.681641 184.035645 292.600098 L 184.035645 296.000000 L 183.047363 296.000000 L 183.047363 289.984375 L 184.035645 289.984375 L 184.035645 290.886719 Q 184.298828 290.371094 184.750000 290.105225 Q 185.201172 289.839355 185.818848 289.839355 Q 186.737305 289.839355 187.191162 290.443604 Q 187.645020 291.047852 187.645020 292.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 194.226074 290.193848 L 194.226074 291.160645 Q 193.801758 290.913574 193.372070 290.790039 Q 192.942383 290.666504 192.496582 290.666504 Q 191.825195 290.666504 191.494873 290.884033 Q 191.164551 291.101562 191.164551 291.547363 Q 191.164551 291.950195 191.411621 292.148926 Q 191.658691 292.347656 192.641602 292.535645 L 193.039062 292.610840 Q 193.774902 292.750488 194.153564 293.169434 Q 194.532227 293.588379 194.532227 294.259766 Q 194.532227 295.151367 193.898438 295.653564 Q 193.264648 296.155762 192.136719 296.155762 Q 191.690918 296.155762 191.202148 296.061768 Q 190.713379 295.967773 190.144043 295.779785 L 190.144043 294.759277 Q 190.697266 295.043945 191.202148 295.186279 Q 191.707031 295.328613 192.158203 295.328613 Q 192.813477 295.328613 193.173340 295.062744 Q 193.533203 294.796875 193.533203 294.318848 Q 193.533203 293.631348 192.217285 293.368164 L 192.174316 293.357422 L 191.803711 293.282227 Q 190.949707 293.115723 190.557617 292.720947 Q 190.165527 292.326172 190.165527 291.644043 Q 190.165527 290.779297 190.750977 290.309326 Q 191.336426 289.839355 192.421387 289.839355 Q 192.904785 289.839355 193.350586 289.927979 Q 193.796387 290.016602 194.226074 290.193848 Z " fill-opacity="1.000000" />
&lt;path d="M 205.878906 299.319336 L 205.878906 285.300781 L 206.738281 285.300781 L 206.738281 299.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 209.892578 293.335938 L 209.892578 292.412109 L 216.729980 292.412109 L 216.729980 293.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 216.892578 293.335938 L 216.892578 292.412109 L 223.729980 292.412109 L 223.729980 293.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 223.892578 293.335938 L 223.892578 292.412109 L 226.878906 292.412109 L 226.878906 285.300781 L 227.738281 285.300781 L 227.738281 293.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 280.335938 L 83.892578 279.412109 L 90.729980 279.412109 L 90.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 280.335938 L 90.892578 279.412109 L 97.729980 279.412109 L 97.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 280.335938 L 97.892578 279.412109 L 104.729980 279.412109 L 104.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 280.335938 L 104.892578 279.412109 L 111.729980 279.412109 L 111.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 280.335938 L 111.892578 279.412109 L 118.729980 279.412109 L 118.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 280.335938 L 118.892578 279.412109 L 125.729980 279.412109 L 125.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 280.335938 L 125.892578 279.412109 L 132.729980 279.412109 L 132.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 280.335938 L 132.892578 279.412109 L 139.729980 279.412109 L 139.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 280.335938 L 139.892578 279.412109 L 146.729980 279.412109 L 146.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 146.892578 280.335938 L 146.892578 279.412109 L 153.729980 279.412109 L 153.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 280.335938 L 153.892578 279.412109 L 160.729980 279.412109 L 160.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 160.892578 280.335938 L 160.892578 279.412109 L 167.729980 279.412109 L 167.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 167.892578 280.335938 L 167.892578 279.412109 L 174.729980 279.412109 L 174.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 174.892578 280.335938 L 174.892578 279.412109 L 181.729980 279.412109 L 181.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 181.892578 280.335938 L 181.892578 279.412109 L 188.729980 279.412109 L 188.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 188.892578 280.335938 L 188.892578 279.412109 L 195.729980 279.412109 L 195.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 195.892578 280.335938 L 195.892578 279.412109 L 202.729980 279.412109 L 202.729980 280.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 205.878906 286.319336 L 205.878906 280.335938 L 202.892578 280.335938 L 202.892578 279.412109 L 205.878906 279.412109 L 205.878906 272.300781 L 206.738281 272.300781 L 206.738281 286.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 286.319336 L 226.878906 272.300781 L 227.738281 272.300781 L 227.738281 286.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 98.735840 248.980957 L 99.826172 248.980957 L 99.826172 252.053223 L 102.796387 252.053223 L 102.796387 248.980957 L 103.886719 248.980957 L 103.886719 257.000000 L 102.796387 257.000000 L 102.796387 252.966309 L 99.826172 252.966309 L 99.826172 257.000000 L 98.735840 257.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 205.878906 273.319336 L 205.878906 259.300781 L 206.738281 259.300781 L 206.738281 273.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 273.319336 L 226.878906 259.300781 L 227.738281 259.300781 L 227.738281 273.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 108.308594 251.677246 Q 107.556641 251.677246 107.169922 252.262695 Q 106.783203 252.848145 106.783203 253.997559 Q 106.783203 255.141602 107.169922 255.729736 Q 107.556641 256.317871 108.308594 256.317871 Q 109.065918 256.317871 109.452637 255.729736 Q 109.839355 255.141602 109.839355 253.997559 Q 109.839355 252.848145 109.452637 252.262695 Q 109.065918 251.677246 108.308594 251.677246 Z M 108.308594 250.839355 Q 109.560059 250.839355 110.223389 251.650391 Q 110.886719 252.461426 110.886719 253.997559 Q 110.886719 255.539062 110.226074 256.347412 Q 109.565430 257.155762 108.308594 257.155762 Q 107.057129 257.155762 106.396484 256.347412 Q 105.735840 255.539062 105.735840 253.997559 Q 105.735840 252.461426 106.396484 251.650391 Q 107.057129 250.839355 108.308594 250.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 115.630859 251.596680 Q 115.813477 251.209961 116.095459 251.024658 Q 116.377441 250.839355 116.774902 250.839355 Q 117.500000 250.839355 117.798096 251.400635 Q 118.096191 251.961914 118.096191 253.514160 L 118.096191 257.000000 L 117.193848 257.000000 L 117.193848 253.557129 Q 117.193848 252.284180 117.051514 251.975342 Q 116.909180 251.666504 116.533203 251.666504 Q 116.103516 251.666504 115.945068 251.996826 Q 115.786621 252.327148 115.786621 253.557129 L 115.786621 257.000000 L 114.884277 257.000000 L 114.884277 253.557129 Q 114.884277 252.268066 114.731201 251.967285 Q 114.578125 251.666504 114.180664 251.666504 Q 113.788574 251.666504 113.635498 251.996826 Q 113.482422 252.327148 113.482422 253.557129 L 113.482422 257.000000 L 112.585449 257.000000 L 112.585449 250.984375 L 113.482422 250.984375 L 113.482422 251.500000 Q 113.659668 251.177734 113.925537 251.008545 Q 114.191406 250.839355 114.529785 250.839355 Q 114.937988 250.839355 115.209229 251.027344 Q 115.480469 251.215332 115.630859 251.596680 Z " fill-opacity="1.000000" />
&lt;path d="M 125.015625 253.498047 L 125.015625 253.981445 L 120.734863 253.981445 L 120.734863 254.013672 Q 120.691895 255.243652 121.204834 255.780762 Q 121.717773 256.317871 122.652344 256.317871 Q 123.125000 256.317871 123.640625 256.167480 Q 124.156250 256.017090 124.741699 255.710938 L 124.741699 256.693848 Q 124.177734 256.924805 123.654053 257.040283 Q 123.130371 257.155762 122.641602 257.155762 Q 121.239746 257.155762 120.450195 256.315186 Q 119.660645 255.474609 119.660645 253.997559 Q 119.660645 252.558105 120.434082 251.698730 Q 121.207520 250.839355 122.496582 250.839355 Q 123.645996 250.839355 124.309326 251.618164 Q 124.972656 252.396973 125.015625 253.498047 Z M 124.027344 253.208008 Q 123.962891 252.584961 123.573486 252.131104 Q 123.184082 251.677246 122.453613 251.677246 Q 121.739258 251.677246 121.277344 252.149902 Q 120.815430 252.622559 120.772461 253.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 129.861816 254.824707 Q 129.861816 255.490723 130.106201 255.829102 Q 130.350586 256.167480 130.828613 256.167480 L 131.983398 256.167480 L 131.983398 257.000000 L 130.731934 257.000000 Q 129.845703 257.000000 129.359619 256.433350 Q 128.873535 255.866699 128.873535 254.824707 L 128.873535 249.383789 L 127.289062 249.383789 L 127.289062 248.610352 L 129.861816 248.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 136.770508 253.976074 L 136.442871 253.976074 Q 135.578125 253.976074 135.140381 254.279541 Q 134.702637 254.583008 134.702637 255.184570 Q 134.702637 255.727051 135.030273 256.027832 Q 135.357910 256.328613 135.937988 256.328613 Q 136.754395 256.328613 137.221680 255.761963 Q 137.688965 255.195312 137.694336 254.196289 L 137.694336 253.976074 Z M 138.687988 253.567871 L 138.687988 257.000000 L 137.694336 257.000000 L 137.694336 256.108398 Q 137.377441 256.645508 136.896729 256.900635 Q 136.416016 257.155762 135.728516 257.155762 Q 134.810059 257.155762 134.262207 256.637451 Q 133.714355 256.119141 133.714355 255.249023 Q 133.714355 254.244629 134.388428 253.723633 Q 135.062500 253.202637 136.367676 253.202637 L 137.694336 253.202637 L 137.694336 253.046875 Q 137.688965 252.327148 137.329102 252.002197 Q 136.969238 251.677246 136.179688 251.677246 Q 135.674805 251.677246 135.159180 251.822266 Q 134.643555 251.967285 134.154785 252.246582 L 134.154785 251.258301 Q 134.702637 251.048828 135.204834 250.944092 Q 135.707031 250.839355 136.179688 250.839355 Q 136.926270 250.839355 137.455322 251.059570 Q 137.984375 251.279785 138.312012 251.720215 Q 138.516113 251.988770 138.602051 252.383545 Q 138.687988 252.778320 138.687988 253.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 144.930664 253.997559 Q 144.930664 252.848145 144.565430 252.262695 Q 144.200195 251.677246 143.485840 251.677246 Q 142.766113 251.677246 142.395508 252.265381 Q 142.024902 252.853516 142.024902 253.997559 Q 142.024902 255.136230 142.395508 255.727051 Q 142.766113 256.317871 143.485840 256.317871 Q 144.200195 256.317871 144.565430 255.732422 Q 144.930664 255.146973 144.930664 253.997559 Z M 142.024902 251.752441 Q 142.261230 251.312012 142.677490 251.075684 Q 143.093750 250.839355 143.641602 250.839355 Q 144.726562 250.839355 145.349609 251.674561 Q 145.972656 252.509766 145.972656 253.976074 Q 145.972656 255.463867 145.346924 256.309814 Q 144.721191 257.155762 143.630859 257.155762 Q 143.093750 257.155762 142.682861 256.922119 Q 142.271973 256.688477 142.024902 256.242676 L 142.024902 257.000000 L 141.036621 257.000000 L 141.036621 248.642578 L 142.024902 248.642578 Z " fill-opacity="1.000000" />
&lt;path d="M 205.878906 260.319336 L 205.878906 246.300781 L 206.738281 246.300781 L 206.738281 260.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 260.319336 L 226.878906 246.300781 L 227.738281 246.300781 L 227.738281 260.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 205.878906 234.319336 L 205.878906 220.300781 L 206.738281 220.300781 L 206.738281 234.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 205.878906 247.319336 L 205.878906 233.300781 L 206.738281 233.300781 L 206.738281 247.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 234.319336 L 226.878906 220.300781 L 227.738281 220.300781 L 227.738281 234.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 247.319336 L 226.878906 233.300781 L 227.738281 233.300781 L 227.738281 247.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 215.335938 L 48.892578 214.412109 L 55.729980 214.412109 L 55.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 215.335938 L 55.892578 214.412109 L 62.729980 214.412109 L 62.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 215.335938 L 62.892578 214.412109 L 69.729980 214.412109 L 69.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 215.335938 L 69.892578 214.412109 L 76.729980 214.412109 L 76.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 215.335938 L 76.892578 214.412109 L 83.729980 214.412109 L 83.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 215.335938 L 83.892578 214.412109 L 90.729980 214.412109 L 90.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 215.335938 L 90.892578 214.412109 L 97.729980 214.412109 L 97.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 215.335938 L 97.892578 214.412109 L 104.729980 214.412109 L 104.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 215.335938 L 104.892578 214.412109 L 111.729980 214.412109 L 111.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 215.335938 L 111.892578 214.412109 L 118.729980 214.412109 L 118.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 215.335938 L 118.892578 214.412109 L 125.729980 214.412109 L 125.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 215.335938 L 125.892578 214.412109 L 132.729980 214.412109 L 132.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 215.335938 L 132.892578 214.412109 L 139.729980 214.412109 L 139.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 215.335938 L 139.892578 214.412109 L 146.729980 214.412109 L 146.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 146.892578 215.335938 L 146.892578 214.412109 L 153.729980 214.412109 L 153.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 215.335938 L 153.892578 214.412109 L 160.729980 214.412109 L 160.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 160.892578 215.335938 L 160.892578 214.412109 L 167.729980 214.412109 L 167.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 167.892578 215.335938 L 167.892578 214.412109 L 174.729980 214.412109 L 174.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 174.892578 215.335938 L 174.892578 214.412109 L 181.729980 214.412109 L 181.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 181.892578 215.335938 L 181.892578 214.412109 L 188.729980 214.412109 L 188.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 188.892578 215.335938 L 188.892578 214.412109 L 195.729980 214.412109 L 195.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 195.892578 215.335938 L 195.892578 214.412109 L 202.729980 214.412109 L 202.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 205.878906 221.319336 L 205.878906 215.335938 L 202.892578 215.335938 L 202.892578 214.412109 L 206.738281 214.412109 L 206.738281 221.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 221.319336 L 226.878906 207.300781 L 227.738281 207.300781 L 227.738281 221.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 128.878906 182.319336 L 128.878906 168.300781 L 129.738281 168.300781 L 129.738281 182.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 128.878906 195.319336 L 128.878906 181.300781 L 129.738281 181.300781 L 129.738281 195.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 129.308594 205.418945 L 126.032227 198.866211 L 132.590332 198.866211 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 208.319336 L 226.878906 194.300781 L 227.738281 194.300781 L 227.738281 208.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 200.592285 183.116211 Q 199.877930 184.340820 199.526123 185.557373 Q 199.174316 186.773926 199.174316 188.009277 Q 199.174316 189.239258 199.526123 190.458496 Q 199.877930 191.677734 200.592285 192.913086 L 199.732910 192.913086 Q 198.921875 191.634766 198.524414 190.423584 Q 198.126953 189.212402 198.126953 188.009277 Q 198.126953 186.811523 198.524414 185.597656 Q 198.921875 184.383789 199.732910 183.116211 Z " fill-opacity="1.000000" />
&lt;path d="M 208.698730 191.693848 Q 208.301270 191.924805 207.879639 192.040283 Q 207.458008 192.155762 207.017578 192.155762 Q 205.621094 192.155762 204.834229 191.317871 Q 204.047363 190.479980 204.047363 188.997559 Q 204.047363 187.515137 204.834229 186.677246 Q 205.621094 185.839355 207.017578 185.839355 Q 207.452637 185.839355 207.866211 185.952148 Q 208.279785 186.064941 208.698730 186.301270 L 208.698730 187.337891 Q 208.306641 186.988770 207.911865 186.833008 Q 207.517090 186.677246 207.017578 186.677246 Q 206.088379 186.677246 205.588867 187.278809 Q 205.089355 187.880371 205.089355 188.997559 Q 205.089355 190.109375 205.591553 190.713623 Q 206.093750 191.317871 207.017578 191.317871 Q 207.533203 191.317871 207.941406 191.159424 Q 208.349609 191.000977 208.698730 190.667969 Z " fill-opacity="1.000000" />
&lt;path d="M 216.203613 187.225098 Q 215.886719 186.978027 215.559082 186.865234 Q 215.231445 186.752441 214.839355 186.752441 Q 213.915527 186.752441 213.426758 187.332520 Q 212.937988 187.912598 212.937988 189.008301 L 212.937988 192.000000 L 211.944336 192.000000 L 211.944336 185.984375 L 212.937988 185.984375 L 212.937988 187.160645 Q 213.185059 186.521484 213.697998 186.180420 Q 214.210938 185.839355 214.914551 185.839355 Q 215.279785 185.839355 215.596680 185.930664 Q 215.913574 186.021973 216.203613 186.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 220.308594 186.677246 Q 219.556641 186.677246 219.169922 187.262695 Q 218.783203 187.848145 218.783203 188.997559 Q 218.783203 190.141602 219.169922 190.729736 Q 219.556641 191.317871 220.308594 191.317871 Q 221.065918 191.317871 221.452637 190.729736 Q 221.839355 190.141602 221.839355 188.997559 Q 221.839355 187.848145 221.452637 187.262695 Q 221.065918 186.677246 220.308594 186.677246 Z M 220.308594 185.839355 Q 221.560059 185.839355 222.223389 186.650391 Q 222.886719 187.461426 222.886719 188.997559 Q 222.886719 190.539062 222.226074 191.347412 Q 221.565430 192.155762 220.308594 192.155762 Q 219.057129 192.155762 218.396484 191.347412 Q 217.735840 190.539062 217.735840 188.997559 Q 217.735840 187.461426 218.396484 186.650391 Q 219.057129 185.839355 220.308594 185.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 229.645020 188.272461 L 229.645020 192.000000 L 228.651367 192.000000 L 228.651367 188.272461 Q 228.651367 187.461426 228.366699 187.080078 Q 228.082031 186.698730 227.475098 186.698730 Q 226.782227 186.698730 226.408936 187.190186 Q 226.035645 187.681641 226.035645 188.600098 L 226.035645 192.000000 L 225.047363 192.000000 L 225.047363 185.984375 L 226.035645 185.984375 L 226.035645 186.886719 Q 226.298828 186.371094 226.750000 186.105225 Q 227.201172 185.839355 227.818848 185.839355 Q 228.737305 185.839355 229.191162 186.443604 Q 229.645020 187.047852 229.645020 188.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 234.222656 192.107422 L 234.222656 186.752441 L 232.520020 186.752441 L 232.520020 185.984375 L 235.210938 185.984375 L 235.210938 192.107422 Q 235.210938 193.154785 234.730225 193.721436 Q 234.249512 194.288086 233.363281 194.288086 L 231.999023 194.288086 L 231.999023 193.450195 L 233.255859 193.450195 Q 233.739258 193.450195 233.980957 193.114502 Q 234.222656 192.778809 234.222656 192.107422 Z M 234.222656 183.642578 L 235.210938 183.642578 L 235.210938 184.894043 L 234.222656 184.894043 Z " fill-opacity="1.000000" />
&lt;path d="M 241.308594 186.677246 Q 240.556641 186.677246 240.169922 187.262695 Q 239.783203 187.848145 239.783203 188.997559 Q 239.783203 190.141602 240.169922 190.729736 Q 240.556641 191.317871 241.308594 191.317871 Q 242.065918 191.317871 242.452637 190.729736 Q 242.839355 190.141602 242.839355 188.997559 Q 242.839355 187.848145 242.452637 187.262695 Q 242.065918 186.677246 241.308594 186.677246 Z M 241.308594 185.839355 Q 242.560059 185.839355 243.223389 186.650391 Q 243.886719 187.461426 243.886719 188.997559 Q 243.886719 190.539062 243.226074 191.347412 Q 242.565430 192.155762 241.308594 192.155762 Q 240.057129 192.155762 239.396484 191.347412 Q 238.735840 190.539062 238.735840 188.997559 Q 238.735840 187.461426 239.396484 186.650391 Q 240.057129 185.839355 241.308594 185.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 249.930664 188.997559 Q 249.930664 187.848145 249.565430 187.262695 Q 249.200195 186.677246 248.485840 186.677246 Q 247.766113 186.677246 247.395508 187.265381 Q 247.024902 187.853516 247.024902 188.997559 Q 247.024902 190.136230 247.395508 190.727051 Q 247.766113 191.317871 248.485840 191.317871 Q 249.200195 191.317871 249.565430 190.732422 Q 249.930664 190.146973 249.930664 188.997559 Z M 247.024902 186.752441 Q 247.261230 186.312012 247.677490 186.075684 Q 248.093750 185.839355 248.641602 185.839355 Q 249.726562 185.839355 250.349609 186.674561 Q 250.972656 187.509766 250.972656 188.976074 Q 250.972656 190.463867 250.346924 191.309814 Q 249.721191 192.155762 248.630859 192.155762 Q 248.093750 192.155762 247.682861 191.922119 Q 247.271973 191.688477 247.024902 191.242676 L 247.024902 192.000000 L 246.036621 192.000000 L 246.036621 183.642578 L 247.024902 183.642578 Z " fill-opacity="1.000000" />
&lt;path d="M 253.869141 183.116211 L 254.728516 183.116211 Q 255.539551 184.383789 255.937012 185.597656 Q 256.334473 186.811523 256.334473 188.009277 Q 256.334473 189.217773 255.937012 190.431641 Q 255.539551 191.645508 254.728516 192.913086 L 253.869141 192.913086 Q 254.583496 191.666992 254.935303 190.447754 Q 255.287109 189.228516 255.287109 188.009277 Q 255.287109 186.784668 254.935303 185.565430 Q 254.583496 184.346191 253.869141 183.116211 Z " fill-opacity="1.000000" />
&lt;path d="M 206.770508 175.976074 L 206.442871 175.976074 Q 205.578125 175.976074 205.140381 176.279541 Q 204.702637 176.583008 204.702637 177.184570 Q 204.702637 177.727051 205.030273 178.027832 Q 205.357910 178.328613 205.937988 178.328613 Q 206.754395 178.328613 207.221680 177.761963 Q 207.688965 177.195312 207.694336 176.196289 L 207.694336 175.976074 Z M 208.687988 175.567871 L 208.687988 179.000000 L 207.694336 179.000000 L 207.694336 178.108398 Q 207.377441 178.645508 206.896729 178.900635 Q 206.416016 179.155762 205.728516 179.155762 Q 204.810059 179.155762 204.262207 178.637451 Q 203.714355 178.119141 203.714355 177.249023 Q 203.714355 176.244629 204.388428 175.723633 Q 205.062500 175.202637 206.367676 175.202637 L 207.694336 175.202637 L 207.694336 175.046875 Q 207.688965 174.327148 207.329102 174.002197 Q 206.969238 173.677246 206.179688 173.677246 Q 205.674805 173.677246 205.159180 173.822266 Q 204.643555 173.967285 204.154785 174.246582 L 204.154785 173.258301 Q 204.702637 173.048828 205.204834 172.944092 Q 205.707031 172.839355 206.179688 172.839355 Q 206.926270 172.839355 207.455322 173.059570 Q 207.984375 173.279785 208.312012 173.720215 Q 208.516113 173.988770 208.602051 174.383545 Q 208.687988 174.778320 208.687988 175.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 214.608398 173.752441 L 214.608398 170.642578 L 215.596680 170.642578 L 215.596680 179.000000 L 214.608398 179.000000 L 214.608398 178.242676 Q 214.361328 178.688477 213.950439 178.922119 Q 213.539551 179.155762 213.002441 179.155762 Q 211.912109 179.155762 211.286377 178.309814 Q 210.660645 177.463867 210.660645 175.976074 Q 210.660645 174.509766 211.289062 173.674561 Q 211.917480 172.839355 213.002441 172.839355 Q 213.544922 172.839355 213.958496 173.072998 Q 214.372070 173.306641 214.608398 173.752441 Z M 211.702637 175.997559 Q 211.702637 177.146973 212.067871 177.732422 Q 212.433105 178.317871 213.147461 178.317871 Q 213.861816 178.317871 214.235107 177.727051 Q 214.608398 177.136230 214.608398 175.997559 Q 214.608398 174.853516 214.235107 174.265381 Q 213.861816 173.677246 213.147461 173.677246 Q 212.433105 173.677246 212.067871 174.262695 Q 211.702637 174.848145 211.702637 175.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 221.608398 173.752441 L 221.608398 170.642578 L 222.596680 170.642578 L 222.596680 179.000000 L 221.608398 179.000000 L 221.608398 178.242676 Q 221.361328 178.688477 220.950439 178.922119 Q 220.539551 179.155762 220.002441 179.155762 Q 218.912109 179.155762 218.286377 178.309814 Q 217.660645 177.463867 217.660645 175.976074 Q 217.660645 174.509766 218.289062 173.674561 Q 218.917480 172.839355 220.002441 172.839355 Q 220.544922 172.839355 220.958496 173.072998 Q 221.372070 173.306641 221.608398 173.752441 Z M 218.702637 175.997559 Q 218.702637 177.146973 219.067871 177.732422 Q 219.433105 178.317871 220.147461 178.317871 Q 220.861816 178.317871 221.235107 177.727051 Q 221.608398 177.136230 221.608398 175.997559 Q 221.608398 174.853516 221.235107 174.265381 Q 220.861816 173.677246 220.147461 173.677246 Q 219.433105 173.677246 219.067871 174.262695 Q 218.702637 174.848145 218.702637 175.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 230.203613 174.225098 Q 229.886719 173.978027 229.559082 173.865234 Q 229.231445 173.752441 228.839355 173.752441 Q 227.915527 173.752441 227.426758 174.332520 Q 226.937988 174.912598 226.937988 176.008301 L 226.937988 179.000000 L 225.944336 179.000000 L 225.944336 172.984375 L 226.937988 172.984375 L 226.937988 174.160645 Q 227.185059 173.521484 227.697998 173.180420 Q 228.210938 172.839355 228.914551 172.839355 Q 229.279785 172.839355 229.596680 172.930664 Q 229.913574 173.021973 230.203613 173.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 237.015625 175.498047 L 237.015625 175.981445 L 232.734863 175.981445 L 232.734863 176.013672 Q 232.691895 177.243652 233.204834 177.780762 Q 233.717773 178.317871 234.652344 178.317871 Q 235.125000 178.317871 235.640625 178.167480 Q 236.156250 178.017090 236.741699 177.710938 L 236.741699 178.693848 Q 236.177734 178.924805 235.654053 179.040283 Q 235.130371 179.155762 234.641602 179.155762 Q 233.239746 179.155762 232.450195 178.315186 Q 231.660645 177.474609 231.660645 175.997559 Q 231.660645 174.558105 232.434082 173.698730 Q 233.207520 172.839355 234.496582 172.839355 Q 235.645996 172.839355 236.309326 173.618164 Q 236.972656 174.396973 237.015625 175.498047 Z M 236.027344 175.208008 Q 235.962891 174.584961 235.573486 174.131104 Q 235.184082 173.677246 234.453613 173.677246 Q 233.739258 173.677246 233.277344 174.149902 Q 232.815430 174.622559 232.772461 175.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 243.226074 173.193848 L 243.226074 174.160645 Q 242.801758 173.913574 242.372070 173.790039 Q 241.942383 173.666504 241.496582 173.666504 Q 240.825195 173.666504 240.494873 173.884033 Q 240.164551 174.101562 240.164551 174.547363 Q 240.164551 174.950195 240.411621 175.148926 Q 240.658691 175.347656 241.641602 175.535645 L 242.039062 175.610840 Q 242.774902 175.750488 243.153564 176.169434 Q 243.532227 176.588379 243.532227 177.259766 Q 243.532227 178.151367 242.898438 178.653564 Q 242.264648 179.155762 241.136719 179.155762 Q 240.690918 179.155762 240.202148 179.061768 Q 239.713379 178.967773 239.144043 178.779785 L 239.144043 177.759277 Q 239.697266 178.043945 240.202148 178.186279 Q 240.707031 178.328613 241.158203 178.328613 Q 241.813477 178.328613 242.173340 178.062744 Q 242.533203 177.796875 242.533203 177.318848 Q 242.533203 176.631348 241.217285 176.368164 L 241.174316 176.357422 L 240.803711 176.282227 Q 239.949707 176.115723 239.557617 175.720947 Q 239.165527 175.326172 239.165527 174.644043 Q 239.165527 173.779297 239.750977 173.309326 Q 240.336426 172.839355 241.421387 172.839355 Q 241.904785 172.839355 242.350586 172.927979 Q 242.796387 173.016602 243.226074 173.193848 Z " fill-opacity="1.000000" />
&lt;path d="M 250.226074 173.193848 L 250.226074 174.160645 Q 249.801758 173.913574 249.372070 173.790039 Q 248.942383 173.666504 248.496582 173.666504 Q 247.825195 173.666504 247.494873 173.884033 Q 247.164551 174.101562 247.164551 174.547363 Q 247.164551 174.950195 247.411621 175.148926 Q 247.658691 175.347656 248.641602 175.535645 L 249.039062 175.610840 Q 249.774902 175.750488 250.153564 176.169434 Q 250.532227 176.588379 250.532227 177.259766 Q 250.532227 178.151367 249.898438 178.653564 Q 249.264648 179.155762 248.136719 179.155762 Q 247.690918 179.155762 247.202148 179.061768 Q 246.713379 178.967773 246.144043 178.779785 L 246.144043 177.759277 Q 246.697266 178.043945 247.202148 178.186279 Q 247.707031 178.328613 248.158203 178.328613 Q 248.813477 178.328613 249.173340 178.062744 Q 249.533203 177.796875 249.533203 177.318848 Q 249.533203 176.631348 248.217285 176.368164 L 248.174316 176.357422 L 247.803711 176.282227 Q 246.949707 176.115723 246.557617 175.720947 Q 246.165527 175.326172 246.165527 174.644043 Q 246.165527 173.779297 246.750977 173.309326 Q 247.336426 172.839355 248.421387 172.839355 Q 248.904785 172.839355 249.350586 172.927979 Q 249.796387 173.016602 250.226074 173.193848 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 163.335938 L 48.892578 162.412109 L 55.729980 162.412109 L 55.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 163.335938 L 55.892578 162.412109 L 62.729980 162.412109 L 62.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 163.335938 L 62.892578 162.412109 L 69.729980 162.412109 L 69.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 163.335938 L 69.892578 162.412109 L 76.729980 162.412109 L 76.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 163.335938 L 76.892578 162.412109 L 83.729980 162.412109 L 83.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 163.335938 L 83.892578 162.412109 L 90.729980 162.412109 L 90.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 163.335938 L 90.892578 162.412109 L 97.729980 162.412109 L 97.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 163.335938 L 97.892578 162.412109 L 104.729980 162.412109 L 104.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 163.335938 L 104.892578 162.412109 L 111.729980 162.412109 L 111.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 163.335938 L 111.892578 162.412109 L 118.729980 162.412109 L 118.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 163.335938 L 118.892578 162.412109 L 125.729980 162.412109 L 125.729980 163.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 128.878906 169.319336 L 128.878906 163.335938 L 125.892578 163.335938 L 125.892578 162.412109 L 129.738281 162.412109 L 129.738281 169.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 197.047363 163.722656 L 197.047363 159.995117 L 198.035645 159.995117 L 198.035645 163.722656 Q 198.035645 164.533691 198.322998 164.915039 Q 198.610352 165.296387 199.211914 165.296387 Q 199.910156 165.296387 200.280762 164.804932 Q 200.651367 164.313477 200.651367 163.395020 L 200.651367 159.995117 L 201.645020 159.995117 L 201.645020 166.000000 L 200.651367 166.000000 L 200.651367 165.097656 Q 200.388184 165.618652 199.934326 165.887207 Q 199.480469 166.155762 198.873535 166.155762 Q 197.949707 166.155762 197.498535 165.551514 Q 197.047363 164.947266 197.047363 163.722656 Z " fill-opacity="1.000000" />
&lt;path d="M 205.014160 165.242676 L 205.014160 168.288086 L 204.020508 168.288086 L 204.020508 159.984375 L 205.014160 159.984375 L 205.014160 160.752441 Q 205.261230 160.306641 205.672119 160.072998 Q 206.083008 159.839355 206.620117 159.839355 Q 207.710449 159.839355 208.330811 160.682617 Q 208.951172 161.525879 208.951172 163.019043 Q 208.951172 164.485352 208.328125 165.320557 Q 207.705078 166.155762 206.620117 166.155762 Q 206.072266 166.155762 205.661377 165.922119 Q 205.250488 165.688477 205.014160 165.242676 Z M 207.914551 162.997559 Q 207.914551 161.848145 207.552002 161.262695 Q 207.189453 160.677246 206.475098 160.677246 Q 205.755371 160.677246 205.384766 161.265381 Q 205.014160 161.853516 205.014160 162.997559 Q 205.014160 164.136230 205.384766 164.727051 Q 205.755371 165.317871 206.475098 165.317871 Q 207.189453 165.317871 207.552002 164.732422 Q 207.914551 164.146973 207.914551 162.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 214.608398 160.752441 L 214.608398 157.642578 L 215.596680 157.642578 L 215.596680 166.000000 L 214.608398 166.000000 L 214.608398 165.242676 Q 214.361328 165.688477 213.950439 165.922119 Q 213.539551 166.155762 213.002441 166.155762 Q 211.912109 166.155762 211.286377 165.309814 Q 210.660645 164.463867 210.660645 162.976074 Q 210.660645 161.509766 211.289062 160.674561 Q 211.917480 159.839355 213.002441 159.839355 Q 213.544922 159.839355 213.958496 160.072998 Q 214.372070 160.306641 214.608398 160.752441 Z M 211.702637 162.997559 Q 211.702637 164.146973 212.067871 164.732422 Q 212.433105 165.317871 213.147461 165.317871 Q 213.861816 165.317871 214.235107 164.727051 Q 214.608398 164.136230 214.608398 162.997559 Q 214.608398 161.853516 214.235107 161.265381 Q 213.861816 160.677246 213.147461 160.677246 Q 212.433105 160.677246 212.067871 161.262695 Q 211.702637 161.848145 211.702637 162.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 220.770508 162.976074 L 220.442871 162.976074 Q 219.578125 162.976074 219.140381 163.279541 Q 218.702637 163.583008 218.702637 164.184570 Q 218.702637 164.727051 219.030273 165.027832 Q 219.357910 165.328613 219.937988 165.328613 Q 220.754395 165.328613 221.221680 164.761963 Q 221.688965 164.195312 221.694336 163.196289 L 221.694336 162.976074 Z M 222.687988 162.567871 L 222.687988 166.000000 L 221.694336 166.000000 L 221.694336 165.108398 Q 221.377441 165.645508 220.896729 165.900635 Q 220.416016 166.155762 219.728516 166.155762 Q 218.810059 166.155762 218.262207 165.637451 Q 217.714355 165.119141 217.714355 164.249023 Q 217.714355 163.244629 218.388428 162.723633 Q 219.062500 162.202637 220.367676 162.202637 L 221.694336 162.202637 L 221.694336 162.046875 Q 221.688965 161.327148 221.329102 161.002197 Q 220.969238 160.677246 220.179688 160.677246 Q 219.674805 160.677246 219.159180 160.822266 Q 218.643555 160.967285 218.154785 161.246582 L 218.154785 160.258301 Q 218.702637 160.048828 219.204834 159.944092 Q 219.707031 159.839355 220.179688 159.839355 Q 220.926270 159.839355 221.455322 160.059570 Q 221.984375 160.279785 222.312012 160.720215 Q 222.516113 160.988770 222.602051 161.383545 Q 222.687988 161.778320 222.687988 162.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 227.297852 158.276367 L 227.297852 159.984375 L 229.542969 159.984375 L 229.542969 160.752441 L 227.297852 160.752441 L 227.297852 164.018066 Q 227.297852 164.684082 227.550293 164.947266 Q 227.802734 165.210449 228.431152 165.210449 L 229.542969 165.210449 L 229.542969 166.000000 L 228.334473 166.000000 Q 227.222656 166.000000 226.766113 165.554199 Q 226.309570 165.108398 226.309570 164.018066 L 226.309570 160.752441 L 224.703613 160.752441 L 224.703613 159.984375 L 226.309570 159.984375 L 226.309570 158.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 237.015625 162.498047 L 237.015625 162.981445 L 232.734863 162.981445 L 232.734863 163.013672 Q 232.691895 164.243652 233.204834 164.780762 Q 233.717773 165.317871 234.652344 165.317871 Q 235.125000 165.317871 235.640625 165.167480 Q 236.156250 165.017090 236.741699 164.710938 L 236.741699 165.693848 Q 236.177734 165.924805 235.654053 166.040283 Q 235.130371 166.155762 234.641602 166.155762 Q 233.239746 166.155762 232.450195 165.315186 Q 231.660645 164.474609 231.660645 162.997559 Q 231.660645 161.558105 232.434082 160.698730 Q 233.207520 159.839355 234.496582 159.839355 Q 235.645996 159.839355 236.309326 160.618164 Q 236.972656 161.396973 237.015625 162.498047 Z M 236.027344 162.208008 Q 235.962891 161.584961 235.573486 161.131104 Q 235.184082 160.677246 234.453613 160.677246 Q 233.739258 160.677246 233.277344 161.149902 Q 232.815430 161.622559 232.772461 162.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 246.079590 157.980957 L 250.532227 157.980957 L 250.532227 158.894043 L 248.851074 158.894043 L 248.851074 165.086914 L 250.532227 165.086914 L 250.532227 166.000000 L 246.079590 166.000000 L 246.079590 165.086914 L 247.760742 165.086914 L 247.760742 158.894043 L 246.079590 158.894043 Z " fill-opacity="1.000000" />
&lt;path d="M 254.143066 158.872559 L 254.143066 161.885742 L 255.399902 161.885742 Q 256.151855 161.885742 256.573486 161.488281 Q 256.995117 161.090820 256.995117 160.376465 Q 256.995117 159.662109 256.576172 159.267334 Q 256.157227 158.872559 255.399902 158.872559 Z M 253.058105 157.980957 L 255.399902 157.980957 Q 256.742676 157.980957 257.435547 158.590576 Q 258.128418 159.200195 258.128418 160.376465 Q 258.128418 161.563477 257.438232 162.170410 Q 256.748047 162.777344 255.399902 162.777344 L 254.143066 162.777344 L 254.143066 166.000000 L 253.058105 166.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 114.878906 130.319336 L 114.878906 116.300781 L 115.738281 116.300781 L 115.738281 130.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 114.878906 137.335938 L 114.878906 129.300781 L 115.738281 129.300781 L 115.738281 136.412109 L 118.729980 136.412109 L 118.729980 137.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 156.319336 L 226.878906 142.300781 L 227.738281 142.300781 L 227.738281 156.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 137.335938 L 118.892578 136.412109 L 125.729980 136.412109 L 125.729980 137.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 137.335938 L 125.892578 136.412109 L 132.729980 136.412109 L 132.729980 137.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 137.335938 L 132.892578 136.412109 L 139.729980 136.412109 L 139.729980 137.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 137.335938 L 139.892578 136.412109 L 142.878906 136.412109 L 142.878906 129.300781 L 143.738281 129.300781 L 143.738281 137.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 143.319336 L 226.878906 129.300781 L 227.738281 129.300781 L 227.738281 143.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 121.341797 126.108398 Q 122.711426 126.108398 123.253906 125.434326 Q 123.796387 124.760254 123.796387 122.998535 Q 123.796387 121.220703 123.256592 120.546631 Q 122.716797 119.872559 121.341797 119.872559 L 120.826172 119.872559 L 120.826172 126.108398 Z M 121.363281 118.980957 Q 123.200195 118.980957 124.070312 119.958496 Q 124.940430 120.936035 124.940430 122.998535 Q 124.940430 125.050293 124.070312 126.025146 Q 123.200195 127.000000 121.363281 127.000000 L 119.735840 127.000000 L 119.735840 118.980957 Z " fill-opacity="1.000000" />
&lt;path d="M 126.102051 119.007812 L 127.584473 119.007812 L 130.721191 125.587402 L 130.721191 119.007812 L 131.875977 119.007812 L 131.875977 127.000000 L 130.393555 127.000000 L 127.256836 120.420410 L 127.256836 127.000000 L 126.102051 127.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 138.435547 119.254883 L 138.435547 120.355957 Q 137.941406 120.039062 137.444580 119.877930 Q 136.947754 119.716797 136.442871 119.716797 Q 135.674805 119.716797 135.229004 120.073975 Q 134.783203 120.431152 134.783203 121.038086 Q 134.783203 121.569824 135.075928 121.849121 Q 135.368652 122.128418 136.168945 122.316406 L 136.738281 122.445312 Q 137.866211 122.708496 138.381836 123.272461 Q 138.897461 123.836426 138.897461 124.808594 Q 138.897461 125.952637 138.188477 126.554199 Q 137.479492 127.155762 136.125977 127.155762 Q 135.562012 127.155762 134.992676 127.034912 Q 134.423340 126.914062 133.848633 126.672363 L 133.848633 125.517578 Q 134.466309 125.909668 135.016846 126.092285 Q 135.567383 126.274902 136.125977 126.274902 Q 136.947754 126.274902 137.404297 125.906982 Q 137.860840 125.539062 137.860840 124.878418 Q 137.860840 124.276855 137.546631 123.959961 Q 137.232422 123.643066 136.453613 123.471191 L 135.873535 123.336914 Q 134.756348 123.084473 134.251465 122.574219 Q 133.746582 122.063965 133.746582 121.204590 Q 133.746582 120.130371 134.468994 119.483154 Q 135.191406 118.835938 136.389160 118.835938 Q 136.851074 118.835938 137.361328 118.940674 Q 137.871582 119.045410 138.435547 119.254883 Z " fill-opacity="1.000000" />
&lt;path d="M 142.878906 130.319336 L 142.878906 116.300781 L 143.738281 116.300781 L 143.738281 130.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 147.032227 124.142578 L 153.590332 120.866211 L 153.590332 127.418945 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 124.335938 L 153.892578 123.412109 L 160.729980 123.412109 L 160.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 160.892578 124.335938 L 160.892578 123.412109 L 167.729980 123.412109 L 167.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 167.892578 124.335938 L 167.892578 123.412109 L 174.729980 123.412109 L 174.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 174.892578 124.335938 L 174.892578 123.412109 L 181.729980 123.412109 L 181.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 181.892578 124.335938 L 181.892578 123.412109 L 188.729980 123.412109 L 188.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 188.892578 124.335938 L 188.892578 123.412109 L 195.729980 123.412109 L 195.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 195.892578 124.335938 L 195.892578 123.412109 L 202.729980 123.412109 L 202.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 202.892578 124.335938 L 202.892578 123.412109 L 209.729980 123.412109 L 209.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 209.892578 124.335938 L 209.892578 123.412109 L 216.729980 123.412109 L 216.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 216.892578 124.335938 L 216.892578 123.412109 L 223.729980 123.412109 L 223.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 226.878906 130.319336 L 226.878906 124.335938 L 223.892578 124.335938 L 223.892578 123.412109 L 227.738281 123.412109 L 227.738281 130.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 9.089355 111.830078 L 10.979980 111.830078 L 10.979980 114.000000 L 9.089355 114.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 21.193359 106.007812 L 22.643555 106.007812 L 24.029297 110.079102 L 25.425781 106.007812 L 26.881348 106.007812 L 26.881348 114.000000 L 25.876953 114.000000 L 25.876953 106.937012 L 24.448242 111.147949 L 23.626465 111.147949 L 22.192383 106.937012 L 22.192383 114.000000 L 21.193359 114.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 31.770508 110.976074 L 31.442871 110.976074 Q 30.578125 110.976074 30.140381 111.279541 Q 29.702637 111.583008 29.702637 112.184570 Q 29.702637 112.727051 30.030273 113.027832 Q 30.357910 113.328613 30.937988 113.328613 Q 31.754395 113.328613 32.221680 112.761963 Q 32.688965 112.195312 32.694336 111.196289 L 32.694336 110.976074 Z M 33.687988 110.567871 L 33.687988 114.000000 L 32.694336 114.000000 L 32.694336 113.108398 Q 32.377441 113.645508 31.896729 113.900635 Q 31.416016 114.155762 30.728516 114.155762 Q 29.810059 114.155762 29.262207 113.637451 Q 28.714355 113.119141 28.714355 112.249023 Q 28.714355 111.244629 29.388428 110.723633 Q 30.062500 110.202637 31.367676 110.202637 L 32.694336 110.202637 L 32.694336 110.046875 Q 32.688965 109.327148 32.329102 109.002197 Q 31.969238 108.677246 31.179688 108.677246 Q 30.674805 108.677246 30.159180 108.822266 Q 29.643555 108.967285 29.154785 109.246582 L 29.154785 108.258301 Q 29.702637 108.048828 30.204834 107.944092 Q 30.707031 107.839355 31.179688 107.839355 Q 31.926270 107.839355 32.455322 108.059570 Q 32.984375 108.279785 33.312012 108.720215 Q 33.516113 108.988770 33.602051 109.383545 Q 33.687988 109.778320 33.687988 110.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 36.267578 105.642578 L 37.288086 105.642578 L 37.288086 110.481934 L 39.882324 107.984375 L 41.085449 107.984375 L 38.716797 110.250977 L 41.456055 114.000000 L 40.247559 114.000000 L 38.023926 110.895508 L 37.288086 111.588379 L 37.288086 114.000000 L 36.267578 114.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 48.015625 110.498047 L 48.015625 110.981445 L 43.734863 110.981445 L 43.734863 111.013672 Q 43.691895 112.243652 44.204834 112.780762 Q 44.717773 113.317871 45.652344 113.317871 Q 46.125000 113.317871 46.640625 113.167480 Q 47.156250 113.017090 47.741699 112.710938 L 47.741699 113.693848 Q 47.177734 113.924805 46.654053 114.040283 Q 46.130371 114.155762 45.641602 114.155762 Q 44.239746 114.155762 43.450195 113.315186 Q 42.660645 112.474609 42.660645 110.997559 Q 42.660645 109.558105 43.434082 108.698730 Q 44.207520 107.839355 45.496582 107.839355 Q 46.645996 107.839355 47.309326 108.618164 Q 47.972656 109.396973 48.015625 110.498047 Z M 47.027344 110.208008 Q 46.962891 109.584961 46.573486 109.131104 Q 46.184082 108.677246 45.453613 108.677246 Q 44.739258 108.677246 44.277344 109.149902 Q 43.815430 109.622559 43.772461 110.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 62.203613 109.225098 Q 61.886719 108.978027 61.559082 108.865234 Q 61.231445 108.752441 60.839355 108.752441 Q 59.915527 108.752441 59.426758 109.332520 Q 58.937988 109.912598 58.937988 111.008301 L 58.937988 114.000000 L 57.944336 114.000000 L 57.944336 107.984375 L 58.937988 107.984375 L 58.937988 109.160645 Q 59.185059 108.521484 59.697998 108.180420 Q 60.210938 107.839355 60.914551 107.839355 Q 61.279785 107.839355 61.596680 107.930664 Q 61.913574 108.021973 62.203613 108.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 69.015625 110.498047 L 69.015625 110.981445 L 64.734863 110.981445 L 64.734863 111.013672 Q 64.691895 112.243652 65.204834 112.780762 Q 65.717773 113.317871 66.652344 113.317871 Q 67.125000 113.317871 67.640625 113.167480 Q 68.156250 113.017090 68.741699 112.710938 L 68.741699 113.693848 Q 68.177734 113.924805 67.654053 114.040283 Q 67.130371 114.155762 66.641602 114.155762 Q 65.239746 114.155762 64.450195 113.315186 Q 63.660645 112.474609 63.660645 110.997559 Q 63.660645 109.558105 64.434082 108.698730 Q 65.207520 107.839355 66.496582 107.839355 Q 67.645996 107.839355 68.309326 108.618164 Q 68.972656 109.396973 69.015625 110.498047 Z M 68.027344 110.208008 Q 67.962891 109.584961 67.573486 109.131104 Q 67.184082 108.677246 66.453613 108.677246 Q 65.739258 108.677246 65.277344 109.149902 Q 64.815430 109.622559 64.772461 110.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 71.783203 111.019043 Q 71.783203 112.168457 72.145752 112.753906 Q 72.508301 113.339355 73.222656 113.339355 Q 73.937012 113.339355 74.304932 112.751221 Q 74.672852 112.163086 74.672852 111.019043 Q 74.672852 109.875000 74.304932 109.286865 Q 73.937012 108.698730 73.222656 108.698730 Q 72.508301 108.698730 72.145752 109.284180 Q 71.783203 109.869629 71.783203 111.019043 Z M 74.672852 113.253418 Q 74.431152 113.699219 74.020264 113.938232 Q 73.609375 114.177246 73.066895 114.177246 Q 71.987305 114.177246 71.361572 113.342041 Q 70.735840 112.506836 70.735840 111.040527 Q 70.735840 109.547363 71.358887 108.704102 Q 71.981934 107.860840 73.066895 107.860840 Q 73.604004 107.860840 74.014893 108.094482 Q 74.425781 108.328125 74.672852 108.773926 L 74.672852 108.005859 L 75.666504 108.005859 L 75.666504 116.309570 L 74.672852 116.309570 Z " fill-opacity="1.000000" />
&lt;path d="M 78.047363 111.722656 L 78.047363 107.995117 L 79.035645 107.995117 L 79.035645 111.722656 Q 79.035645 112.533691 79.322998 112.915039 Q 79.610352 113.296387 80.211914 113.296387 Q 80.910156 113.296387 81.280762 112.804932 Q 81.651367 112.313477 81.651367 111.395020 L 81.651367 107.995117 L 82.645020 107.995117 L 82.645020 114.000000 L 81.651367 114.000000 L 81.651367 113.097656 Q 81.388184 113.618652 80.934326 113.887207 Q 80.480469 114.155762 79.873535 114.155762 Q 78.949707 114.155762 78.498535 113.551514 Q 78.047363 112.947266 78.047363 111.722656 Z " fill-opacity="1.000000" />
&lt;path d="M 90.015625 110.498047 L 90.015625 110.981445 L 85.734863 110.981445 L 85.734863 111.013672 Q 85.691895 112.243652 86.204834 112.780762 Q 86.717773 113.317871 87.652344 113.317871 Q 88.125000 113.317871 88.640625 113.167480 Q 89.156250 113.017090 89.741699 112.710938 L 89.741699 113.693848 Q 89.177734 113.924805 88.654053 114.040283 Q 88.130371 114.155762 87.641602 114.155762 Q 86.239746 114.155762 85.450195 113.315186 Q 84.660645 112.474609 84.660645 110.997559 Q 84.660645 109.558105 85.434082 108.698730 Q 86.207520 107.839355 87.496582 107.839355 Q 88.645996 107.839355 89.309326 108.618164 Q 89.972656 109.396973 90.015625 110.498047 Z M 89.027344 110.208008 Q 88.962891 109.584961 88.573486 109.131104 Q 88.184082 108.677246 87.453613 108.677246 Q 86.739258 108.677246 86.277344 109.149902 Q 85.815430 109.622559 85.772461 110.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 96.226074 108.193848 L 96.226074 109.160645 Q 95.801758 108.913574 95.372070 108.790039 Q 94.942383 108.666504 94.496582 108.666504 Q 93.825195 108.666504 93.494873 108.884033 Q 93.164551 109.101562 93.164551 109.547363 Q 93.164551 109.950195 93.411621 110.148926 Q 93.658691 110.347656 94.641602 110.535645 L 95.039062 110.610840 Q 95.774902 110.750488 96.153564 111.169434 Q 96.532227 111.588379 96.532227 112.259766 Q 96.532227 113.151367 95.898438 113.653564 Q 95.264648 114.155762 94.136719 114.155762 Q 93.690918 114.155762 93.202148 114.061768 Q 92.713379 113.967773 92.144043 113.779785 L 92.144043 112.759277 Q 92.697266 113.043945 93.202148 113.186279 Q 93.707031 113.328613 94.158203 113.328613 Q 94.813477 113.328613 95.173340 113.062744 Q 95.533203 112.796875 95.533203 112.318848 Q 95.533203 111.631348 94.217285 111.368164 L 94.174316 111.357422 L 93.803711 111.282227 Q 92.949707 111.115723 92.557617 110.720947 Q 92.165527 110.326172 92.165527 109.644043 Q 92.165527 108.779297 92.750977 108.309326 Q 93.336426 107.839355 94.421387 107.839355 Q 94.904785 107.839355 95.350586 107.927979 Q 95.796387 108.016602 96.226074 108.193848 Z " fill-opacity="1.000000" />
&lt;path d="M 101.297852 106.276367 L 101.297852 107.984375 L 103.542969 107.984375 L 103.542969 108.752441 L 101.297852 108.752441 L 101.297852 112.018066 Q 101.297852 112.684082 101.550293 112.947266 Q 101.802734 113.210449 102.431152 113.210449 L 103.542969 113.210449 L 103.542969 114.000000 L 102.334473 114.000000 Q 101.222656 114.000000 100.766113 113.554199 Q 100.309570 113.108398 100.309570 112.018066 L 100.309570 108.752441 L 98.703613 108.752441 L 98.703613 107.984375 L 100.309570 107.984375 L 100.309570 106.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 114.878906 117.319336 L 114.878906 110.412109 L 118.729980 110.412109 L 118.729980 111.335938 L 115.738281 111.335938 L 115.738281 117.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 111.335938 L 118.892578 110.412109 L 125.729980 110.412109 L 125.729980 111.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 111.335938 L 125.892578 110.412109 L 132.729980 110.412109 L 132.729980 111.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 111.335938 L 132.892578 110.412109 L 139.729980 110.412109 L 139.729980 111.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 142.878906 117.319336 L 142.878906 111.335938 L 139.892578 111.335938 L 139.892578 110.412109 L 143.738281 110.412109 L 143.738281 117.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 26.319336 L 44.878906 19.412109 L 48.729980 19.412109 L 48.729980 20.335938 L 45.738281 20.335938 L 45.738281 26.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 39.319336 L 44.878906 25.300781 L 45.738281 25.300781 L 45.738281 39.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 52.319336 L 44.878906 38.300781 L 45.738281 38.300781 L 45.738281 52.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 65.319336 L 44.878906 51.300781 L 45.738281 51.300781 L 45.738281 65.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 78.319336 L 44.878906 64.300781 L 45.738281 64.300781 L 45.738281 78.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 91.319336 L 44.878906 77.300781 L 45.738281 77.300781 L 45.738281 91.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 104.319336 L 44.878906 90.300781 L 45.738281 90.300781 L 45.738281 104.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 93.878906 33.335938 L 93.878906 25.300781 L 94.738281 25.300781 L 94.738281 32.412109 L 97.729980 32.412109 L 97.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 92.450195 61.092285 L 94.136719 61.092285 L 94.136719 55.033691 L 92.117188 56.005859 L 92.117188 54.963867 L 94.125977 54.007812 L 95.210938 54.007812 L 95.210938 61.092285 L 96.875977 61.092285 L 96.875977 62.000000 L 92.450195 62.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 95.608398 69.752441 L 95.608398 66.642578 L 96.596680 66.642578 L 96.596680 75.000000 L 95.608398 75.000000 L 95.608398 74.242676 Q 95.361328 74.688477 94.950439 74.922119 Q 94.539551 75.155762 94.002441 75.155762 Q 92.912109 75.155762 92.286377 74.309814 Q 91.660645 73.463867 91.660645 71.976074 Q 91.660645 70.509766 92.289062 69.674561 Q 92.917480 68.839355 94.002441 68.839355 Q 94.544922 68.839355 94.958496 69.072998 Q 95.372070 69.306641 95.608398 69.752441 Z M 92.702637 71.997559 Q 92.702637 73.146973 93.067871 73.732422 Q 93.433105 74.317871 94.147461 74.317871 Q 94.861816 74.317871 95.235107 73.727051 Q 95.608398 73.136230 95.608398 71.997559 Q 95.608398 70.853516 95.235107 70.265381 Q 94.861816 69.677246 94.147461 69.677246 Q 93.433105 69.677246 93.067871 70.262695 Q 92.702637 70.848145 92.702637 71.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 128.878906 91.319336 L 128.878906 77.300781 L 129.738281 77.300781 L 129.738281 91.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 129.308594 101.418945 L 126.032227 94.866211 L 132.590332 94.866211 Z " fill-opacity="1.000000" />
&lt;path d="M 101.308594 69.677246 Q 100.556641 69.677246 100.169922 70.262695 Q 99.783203 70.848145 99.783203 71.997559 Q 99.783203 73.141602 100.169922 73.729736 Q 100.556641 74.317871 101.308594 74.317871 Q 102.065918 74.317871 102.452637 73.729736 Q 102.839355 73.141602 102.839355 71.997559 Q 102.839355 70.848145 102.452637 70.262695 Q 102.065918 69.677246 101.308594 69.677246 Z M 101.308594 68.839355 Q 102.560059 68.839355 103.223389 69.650391 Q 103.886719 70.461426 103.886719 71.997559 Q 103.886719 73.539062 103.226074 74.347412 Q 102.565430 75.155762 101.308594 75.155762 Q 100.057129 75.155762 99.396484 74.347412 Q 98.735840 73.539062 98.735840 71.997559 Q 98.735840 70.461426 99.396484 69.650391 Q 100.057129 68.839355 101.308594 68.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 108.630859 69.596680 Q 108.813477 69.209961 109.095459 69.024658 Q 109.377441 68.839355 109.774902 68.839355 Q 110.500000 68.839355 110.798096 69.400635 Q 111.096191 69.961914 111.096191 71.514160 L 111.096191 75.000000 L 110.193848 75.000000 L 110.193848 71.557129 Q 110.193848 70.284180 110.051514 69.975342 Q 109.909180 69.666504 109.533203 69.666504 Q 109.103516 69.666504 108.945068 69.996826 Q 108.786621 70.327148 108.786621 71.557129 L 108.786621 75.000000 L 107.884277 75.000000 L 107.884277 71.557129 Q 107.884277 70.268066 107.731201 69.967285 Q 107.578125 69.666504 107.180664 69.666504 Q 106.788574 69.666504 106.635498 69.996826 Q 106.482422 70.327148 106.482422 71.557129 L 106.482422 75.000000 L 105.585449 75.000000 L 105.585449 68.984375 L 106.482422 68.984375 L 106.482422 69.500000 Q 106.659668 69.177734 106.925537 69.008545 Q 107.191406 68.839355 107.529785 68.839355 Q 107.937988 68.839355 108.209229 69.027344 Q 108.480469 69.215332 108.630859 69.596680 Z " fill-opacity="1.000000" />
&lt;path d="M 115.770508 71.976074 L 115.442871 71.976074 Q 114.578125 71.976074 114.140381 72.279541 Q 113.702637 72.583008 113.702637 73.184570 Q 113.702637 73.727051 114.030273 74.027832 Q 114.357910 74.328613 114.937988 74.328613 Q 115.754395 74.328613 116.221680 73.761963 Q 116.688965 73.195312 116.694336 72.196289 L 116.694336 71.976074 Z M 117.687988 71.567871 L 117.687988 75.000000 L 116.694336 75.000000 L 116.694336 74.108398 Q 116.377441 74.645508 115.896729 74.900635 Q 115.416016 75.155762 114.728516 75.155762 Q 113.810059 75.155762 113.262207 74.637451 Q 112.714355 74.119141 112.714355 73.249023 Q 112.714355 72.244629 113.388428 71.723633 Q 114.062500 71.202637 115.367676 71.202637 L 116.694336 71.202637 L 116.694336 71.046875 Q 116.688965 70.327148 116.329102 70.002197 Q 115.969238 69.677246 115.179688 69.677246 Q 114.674805 69.677246 114.159180 69.822266 Q 113.643555 69.967285 113.154785 70.246582 L 113.154785 69.258301 Q 113.702637 69.048828 114.204834 68.944092 Q 114.707031 68.839355 115.179688 68.839355 Q 115.926270 68.839355 116.455322 69.059570 Q 116.984375 69.279785 117.312012 69.720215 Q 117.516113 69.988770 117.602051 70.383545 Q 117.687988 70.778320 117.687988 71.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 120.697266 69.005859 L 123.227051 69.005859 L 123.227051 74.231934 L 125.187500 74.231934 L 125.187500 75.000000 L 120.278320 75.000000 L 120.278320 74.231934 L 122.238770 74.231934 L 122.238770 69.773926 L 120.697266 69.773926 Z M 122.238770 66.669434 L 123.227051 66.669434 L 123.227051 67.915527 L 122.238770 67.915527 Z " fill-opacity="1.000000" />
&lt;path d="M 131.645020 71.272461 L 131.645020 75.000000 L 130.651367 75.000000 L 130.651367 71.272461 Q 130.651367 70.461426 130.366699 70.080078 Q 130.082031 69.698730 129.475098 69.698730 Q 128.782227 69.698730 128.408936 70.190186 Q 128.035645 70.681641 128.035645 71.600098 L 128.035645 75.000000 L 127.047363 75.000000 L 127.047363 68.984375 L 128.035645 68.984375 L 128.035645 69.886719 Q 128.298828 69.371094 128.750000 69.105225 Q 129.201172 68.839355 129.818848 68.839355 Q 130.737305 68.839355 131.191162 69.443604 Q 131.645020 70.047852 131.645020 71.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 145.645020 71.272461 L 145.645020 75.000000 L 144.651367 75.000000 L 144.651367 71.272461 Q 144.651367 70.461426 144.366699 70.080078 Q 144.082031 69.698730 143.475098 69.698730 Q 142.782227 69.698730 142.408936 70.190186 Q 142.035645 70.681641 142.035645 71.600098 L 142.035645 75.000000 L 141.047363 75.000000 L 141.047363 68.984375 L 142.035645 68.984375 L 142.035645 69.886719 Q 142.298828 69.371094 142.750000 69.105225 Q 143.201172 68.839355 143.818848 68.839355 Q 144.737305 68.839355 145.191162 69.443604 Q 145.645020 70.047852 145.645020 71.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 150.770508 71.976074 L 150.442871 71.976074 Q 149.578125 71.976074 149.140381 72.279541 Q 148.702637 72.583008 148.702637 73.184570 Q 148.702637 73.727051 149.030273 74.027832 Q 149.357910 74.328613 149.937988 74.328613 Q 150.754395 74.328613 151.221680 73.761963 Q 151.688965 73.195312 151.694336 72.196289 L 151.694336 71.976074 Z M 152.687988 71.567871 L 152.687988 75.000000 L 151.694336 75.000000 L 151.694336 74.108398 Q 151.377441 74.645508 150.896729 74.900635 Q 150.416016 75.155762 149.728516 75.155762 Q 148.810059 75.155762 148.262207 74.637451 Q 147.714355 74.119141 147.714355 73.249023 Q 147.714355 72.244629 148.388428 71.723633 Q 149.062500 71.202637 150.367676 71.202637 L 151.694336 71.202637 L 151.694336 71.046875 Q 151.688965 70.327148 151.329102 70.002197 Q 150.969238 69.677246 150.179688 69.677246 Q 149.674805 69.677246 149.159180 69.822266 Q 148.643555 69.967285 148.154785 70.246582 L 148.154785 69.258301 Q 148.702637 69.048828 149.204834 68.944092 Q 149.707031 68.839355 150.179688 68.839355 Q 150.926270 68.839355 151.455322 69.059570 Q 151.984375 69.279785 152.312012 69.720215 Q 152.516113 69.988770 152.602051 70.383545 Q 152.687988 70.778320 152.687988 71.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 157.630859 69.596680 Q 157.813477 69.209961 158.095459 69.024658 Q 158.377441 68.839355 158.774902 68.839355 Q 159.500000 68.839355 159.798096 69.400635 Q 160.096191 69.961914 160.096191 71.514160 L 160.096191 75.000000 L 159.193848 75.000000 L 159.193848 71.557129 Q 159.193848 70.284180 159.051514 69.975342 Q 158.909180 69.666504 158.533203 69.666504 Q 158.103516 69.666504 157.945068 69.996826 Q 157.786621 70.327148 157.786621 71.557129 L 157.786621 75.000000 L 156.884277 75.000000 L 156.884277 71.557129 Q 156.884277 70.268066 156.731201 69.967285 Q 156.578125 69.666504 156.180664 69.666504 Q 155.788574 69.666504 155.635498 69.996826 Q 155.482422 70.327148 155.482422 71.557129 L 155.482422 75.000000 L 154.585449 75.000000 L 154.585449 68.984375 L 155.482422 68.984375 L 155.482422 69.500000 Q 155.659668 69.177734 155.925537 69.008545 Q 156.191406 68.839355 156.529785 68.839355 Q 156.937988 68.839355 157.209229 69.027344 Q 157.480469 69.215332 157.630859 69.596680 Z " fill-opacity="1.000000" />
&lt;path d="M 167.015625 71.498047 L 167.015625 71.981445 L 162.734863 71.981445 L 162.734863 72.013672 Q 162.691895 73.243652 163.204834 73.780762 Q 163.717773 74.317871 164.652344 74.317871 Q 165.125000 74.317871 165.640625 74.167480 Q 166.156250 74.017090 166.741699 73.710938 L 166.741699 74.693848 Q 166.177734 74.924805 165.654053 75.040283 Q 165.130371 75.155762 164.641602 75.155762 Q 163.239746 75.155762 162.450195 74.315186 Q 161.660645 73.474609 161.660645 71.997559 Q 161.660645 70.558105 162.434082 69.698730 Q 163.207520 68.839355 164.496582 68.839355 Q 165.645996 68.839355 166.309326 69.618164 Q 166.972656 70.396973 167.015625 71.498047 Z M 166.027344 71.208008 Q 165.962891 70.584961 165.573486 70.131104 Q 165.184082 69.677246 164.453613 69.677246 Q 163.739258 69.677246 163.277344 70.149902 Q 162.815430 70.622559 162.772461 71.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 100.089355 59.830078 L 101.979980 59.830078 L 101.979980 62.000000 L 100.089355 62.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 116.082031 58.213379 Q 116.500977 58.320801 116.796387 58.618896 Q 117.091797 58.916992 117.532227 59.808594 L 118.622559 62.000000 L 117.457031 62.000000 L 116.500977 59.975098 Q 116.087402 59.110352 115.757080 58.860596 Q 115.426758 58.610840 114.895020 58.610840 L 113.858398 58.610840 L 113.858398 62.000000 L 112.768066 62.000000 L 112.768066 53.980957 L 115.002441 53.980957 Q 116.323730 53.980957 117.027344 54.577148 Q 117.730957 55.173340 117.730957 56.301270 Q 117.730957 57.096191 117.298584 57.598389 Q 116.866211 58.100586 116.082031 58.213379 Z M 113.858398 54.872559 L 113.858398 57.719238 L 115.045410 57.719238 Q 115.824219 57.719238 116.205566 57.370117 Q 116.586914 57.020996 116.586914 56.301270 Q 116.586914 55.608398 116.181396 55.240479 Q 115.775879 54.872559 115.002441 54.872559 Z " fill-opacity="1.000000" />
&lt;path d="M 125.015625 58.498047 L 125.015625 58.981445 L 120.734863 58.981445 L 120.734863 59.013672 Q 120.691895 60.243652 121.204834 60.780762 Q 121.717773 61.317871 122.652344 61.317871 Q 123.125000 61.317871 123.640625 61.167480 Q 124.156250 61.017090 124.741699 60.710938 L 124.741699 61.693848 Q 124.177734 61.924805 123.654053 62.040283 Q 123.130371 62.155762 122.641602 62.155762 Q 121.239746 62.155762 120.450195 61.315186 Q 119.660645 60.474609 119.660645 58.997559 Q 119.660645 57.558105 120.434082 56.698730 Q 121.207520 55.839355 122.496582 55.839355 Q 123.645996 55.839355 124.309326 56.618164 Q 124.972656 57.396973 125.015625 58.498047 Z M 124.027344 58.208008 Q 123.962891 57.584961 123.573486 57.131104 Q 123.184082 56.677246 122.453613 56.677246 Q 121.739258 56.677246 121.277344 57.149902 Q 120.815430 57.622559 120.772461 58.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 131.226074 56.193848 L 131.226074 57.160645 Q 130.801758 56.913574 130.372070 56.790039 Q 129.942383 56.666504 129.496582 56.666504 Q 128.825195 56.666504 128.494873 56.884033 Q 128.164551 57.101562 128.164551 57.547363 Q 128.164551 57.950195 128.411621 58.148926 Q 128.658691 58.347656 129.641602 58.535645 L 130.039062 58.610840 Q 130.774902 58.750488 131.153564 59.169434 Q 131.532227 59.588379 131.532227 60.259766 Q 131.532227 61.151367 130.898438 61.653564 Q 130.264648 62.155762 129.136719 62.155762 Q 128.690918 62.155762 128.202148 62.061768 Q 127.713379 61.967773 127.144043 61.779785 L 127.144043 60.759277 Q 127.697266 61.043945 128.202148 61.186279 Q 128.707031 61.328613 129.158203 61.328613 Q 129.813477 61.328613 130.173340 61.062744 Q 130.533203 60.796875 130.533203 60.318848 Q 130.533203 59.631348 129.217285 59.368164 L 129.174316 59.357422 L 128.803711 59.282227 Q 127.949707 59.115723 127.557617 58.720947 Q 127.165527 58.326172 127.165527 57.644043 Q 127.165527 56.779297 127.750977 56.309326 Q 128.336426 55.839355 129.421387 55.839355 Q 129.904785 55.839355 130.350586 55.927979 Q 130.796387 56.016602 131.226074 56.193848 Z " fill-opacity="1.000000" />
&lt;path d="M 136.308594 56.677246 Q 135.556641 56.677246 135.169922 57.262695 Q 134.783203 57.848145 134.783203 58.997559 Q 134.783203 60.141602 135.169922 60.729736 Q 135.556641 61.317871 136.308594 61.317871 Q 137.065918 61.317871 137.452637 60.729736 Q 137.839355 60.141602 137.839355 58.997559 Q 137.839355 57.848145 137.452637 57.262695 Q 137.065918 56.677246 136.308594 56.677246 Z M 136.308594 55.839355 Q 137.560059 55.839355 138.223389 56.650391 Q 138.886719 57.461426 138.886719 58.997559 Q 138.886719 60.539062 138.226074 61.347412 Q 137.565430 62.155762 136.308594 62.155762 Q 135.057129 62.155762 134.396484 61.347412 Q 133.735840 60.539062 133.735840 58.997559 Q 133.735840 57.461426 134.396484 56.650391 Q 135.057129 55.839355 136.308594 55.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 143.861816 59.824707 Q 143.861816 60.490723 144.106201 60.829102 Q 144.350586 61.167480 144.828613 61.167480 L 145.983398 61.167480 L 145.983398 62.000000 L 144.731934 62.000000 Q 143.845703 62.000000 143.359619 61.433350 Q 142.873535 60.866699 142.873535 59.824707 L 142.873535 54.383789 L 141.289062 54.383789 L 141.289062 53.610352 L 143.861816 53.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 147.537109 55.984375 L 148.562988 55.984375 L 150.308594 61.033203 L 152.059570 55.984375 L 153.085449 55.984375 L 150.947754 62.000000 L 149.674805 62.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 160.015625 58.498047 L 160.015625 58.981445 L 155.734863 58.981445 L 155.734863 59.013672 Q 155.691895 60.243652 156.204834 60.780762 Q 156.717773 61.317871 157.652344 61.317871 Q 158.125000 61.317871 158.640625 61.167480 Q 159.156250 61.017090 159.741699 60.710938 L 159.741699 61.693848 Q 159.177734 61.924805 158.654053 62.040283 Q 158.130371 62.155762 157.641602 62.155762 Q 156.239746 62.155762 155.450195 61.315186 Q 154.660645 60.474609 154.660645 58.997559 Q 154.660645 57.558105 155.434082 56.698730 Q 156.207520 55.839355 157.496582 55.839355 Q 158.645996 55.839355 159.309326 56.618164 Q 159.972656 57.396973 160.015625 58.498047 Z M 159.027344 58.208008 Q 158.962891 57.584961 158.573486 57.131104 Q 158.184082 56.677246 157.453613 56.677246 Q 156.739258 56.677246 156.277344 57.149902 Q 155.815430 57.622559 155.772461 58.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 128.878906 52.319336 L 128.878906 38.300781 L 129.738281 38.300781 L 129.738281 52.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 33.335938 L 97.892578 32.412109 L 104.729980 32.412109 L 104.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 33.335938 L 104.892578 32.412109 L 111.729980 32.412109 L 111.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 33.335938 L 111.892578 32.412109 L 118.729980 32.412109 L 118.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 33.335938 L 118.892578 32.412109 L 125.729980 32.412109 L 125.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 33.335938 L 125.892578 32.412109 L 132.729980 32.412109 L 132.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 33.335938 L 132.892578 32.412109 L 139.729980 32.412109 L 139.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 33.335938 L 139.892578 32.412109 L 146.729980 32.412109 L 146.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 146.892578 33.335938 L 146.892578 32.412109 L 153.729980 32.412109 L 153.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 33.335938 L 153.892578 32.412109 L 160.729980 32.412109 L 160.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 160.892578 33.335938 L 160.892578 32.412109 L 163.878906 32.412109 L 163.878906 25.300781 L 164.738281 25.300781 L 164.738281 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 20.335938 L 48.892578 19.412109 L 55.729980 19.412109 L 55.729980 20.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 20.335938 L 55.892578 19.412109 L 62.729980 19.412109 L 62.729980 20.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 20.335938 L 62.892578 19.412109 L 69.729980 19.412109 L 69.729980 20.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 20.335938 L 69.892578 19.412109 L 76.729980 19.412109 L 76.729980 20.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 20.335938 L 76.892578 19.412109 L 83.729980 19.412109 L 83.729980 20.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 20.335938 L 83.892578 19.412109 L 90.729980 19.412109 L 90.729980 20.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 93.878906 26.319336 L 93.878906 12.300781 L 94.738281 12.300781 L 94.738281 26.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 99.079590 14.980957 L 103.532227 14.980957 L 103.532227 15.894043 L 101.851074 15.894043 L 101.851074 22.086914 L 103.532227 22.086914 L 103.532227 23.000000 L 99.079590 23.000000 L 99.079590 22.086914 L 100.760742 22.086914 L 100.760742 15.894043 L 99.079590 15.894043 Z " fill-opacity="1.000000" />
&lt;path d="M 110.645020 19.272461 L 110.645020 23.000000 L 109.651367 23.000000 L 109.651367 19.272461 Q 109.651367 18.461426 109.366699 18.080078 Q 109.082031 17.698730 108.475098 17.698730 Q 107.782227 17.698730 107.408936 18.190186 Q 107.035645 18.681641 107.035645 19.600098 L 107.035645 23.000000 L 106.047363 23.000000 L 106.047363 16.984375 L 107.035645 16.984375 L 107.035645 17.886719 Q 107.298828 17.371094 107.750000 17.105225 Q 108.201172 16.839355 108.818848 16.839355 Q 109.737305 16.839355 110.191162 17.443604 Q 110.645020 18.047852 110.645020 19.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 115.297852 15.276367 L 115.297852 16.984375 L 117.542969 16.984375 L 117.542969 17.752441 L 115.297852 17.752441 L 115.297852 21.018066 Q 115.297852 21.684082 115.550293 21.947266 Q 115.802734 22.210449 116.431152 22.210449 L 117.542969 22.210449 L 117.542969 23.000000 L 116.334473 23.000000 Q 115.222656 23.000000 114.766113 22.554199 Q 114.309570 22.108398 114.309570 21.018066 L 114.309570 17.752441 L 112.703613 17.752441 L 112.703613 16.984375 L 114.309570 16.984375 L 114.309570 15.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 125.015625 19.498047 L 125.015625 19.981445 L 120.734863 19.981445 L 120.734863 20.013672 Q 120.691895 21.243652 121.204834 21.780762 Q 121.717773 22.317871 122.652344 22.317871 Q 123.125000 22.317871 123.640625 22.167480 Q 124.156250 22.017090 124.741699 21.710938 L 124.741699 22.693848 Q 124.177734 22.924805 123.654053 23.040283 Q 123.130371 23.155762 122.641602 23.155762 Q 121.239746 23.155762 120.450195 22.315186 Q 119.660645 21.474609 119.660645 19.997559 Q 119.660645 18.558105 120.434082 17.698730 Q 121.207520 16.839355 122.496582 16.839355 Q 123.645996 16.839355 124.309326 17.618164 Q 124.972656 18.396973 125.015625 19.498047 Z M 124.027344 19.208008 Q 123.962891 18.584961 123.573486 18.131104 Q 123.184082 17.677246 122.453613 17.677246 Q 121.739258 17.677246 121.277344 18.149902 Q 120.815430 18.622559 120.772461 19.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 132.203613 18.225098 Q 131.886719 17.978027 131.559082 17.865234 Q 131.231445 17.752441 130.839355 17.752441 Q 129.915527 17.752441 129.426758 18.332520 Q 128.937988 18.912598 128.937988 20.008301 L 128.937988 23.000000 L 127.944336 23.000000 L 127.944336 16.984375 L 128.937988 16.984375 L 128.937988 18.160645 Q 129.185059 17.521484 129.697998 17.180420 Q 130.210938 16.839355 130.914551 16.839355 Q 131.279785 16.839355 131.596680 16.930664 Q 131.913574 17.021973 132.203613 17.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 138.645020 19.272461 L 138.645020 23.000000 L 137.651367 23.000000 L 137.651367 19.272461 Q 137.651367 18.461426 137.366699 18.080078 Q 137.082031 17.698730 136.475098 17.698730 Q 135.782227 17.698730 135.408936 18.190186 Q 135.035645 18.681641 135.035645 19.600098 L 135.035645 23.000000 L 134.047363 23.000000 L 134.047363 16.984375 L 135.035645 16.984375 L 135.035645 17.886719 Q 135.298828 17.371094 135.750000 17.105225 Q 136.201172 16.839355 136.818848 16.839355 Q 137.737305 16.839355 138.191162 17.443604 Q 138.645020 18.047852 138.645020 19.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 146.015625 19.498047 L 146.015625 19.981445 L 141.734863 19.981445 L 141.734863 20.013672 Q 141.691895 21.243652 142.204834 21.780762 Q 142.717773 22.317871 143.652344 22.317871 Q 144.125000 22.317871 144.640625 22.167480 Q 145.156250 22.017090 145.741699 21.710938 L 145.741699 22.693848 Q 145.177734 22.924805 144.654053 23.040283 Q 144.130371 23.155762 143.641602 23.155762 Q 142.239746 23.155762 141.450195 22.315186 Q 140.660645 21.474609 140.660645 19.997559 Q 140.660645 18.558105 141.434082 17.698730 Q 142.207520 16.839355 143.496582 16.839355 Q 144.645996 16.839355 145.309326 17.618164 Q 145.972656 18.396973 146.015625 19.498047 Z M 145.027344 19.208008 Q 144.962891 18.584961 144.573486 18.131104 Q 144.184082 17.677246 143.453613 17.677246 Q 142.739258 17.677246 142.277344 18.149902 Q 141.815430 18.622559 141.772461 19.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 150.297852 15.276367 L 150.297852 16.984375 L 152.542969 16.984375 L 152.542969 17.752441 L 150.297852 17.752441 L 150.297852 21.018066 Q 150.297852 21.684082 150.550293 21.947266 Q 150.802734 22.210449 151.431152 22.210449 L 152.542969 22.210449 L 152.542969 23.000000 L 151.334473 23.000000 Q 150.222656 23.000000 149.766113 22.554199 Q 149.309570 22.108398 149.309570 21.018066 L 149.309570 17.752441 L 147.703613 17.752441 L 147.703613 16.984375 L 149.309570 16.984375 L 149.309570 15.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 26.319336 L 163.878906 12.300781 L 164.738281 12.300781 L 164.738281 26.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 93.878906 13.319336 L 93.878906 6.412109 L 97.729980 6.412109 L 97.729980 7.335938 L 94.738281 7.335938 L 94.738281 13.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 7.335938 L 97.892578 6.412109 L 104.729980 6.412109 L 104.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 7.335938 L 104.892578 6.412109 L 111.729980 6.412109 L 111.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 7.335938 L 111.892578 6.412109 L 118.729980 6.412109 L 118.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 7.335938 L 118.892578 6.412109 L 125.729980 6.412109 L 125.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 7.335938 L 125.892578 6.412109 L 132.729980 6.412109 L 132.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 7.335938 L 132.892578 6.412109 L 139.729980 6.412109 L 139.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 7.335938 L 139.892578 6.412109 L 146.729980 6.412109 L 146.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 146.892578 7.335938 L 146.892578 6.412109 L 153.729980 6.412109 L 153.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 7.335938 L 153.892578 6.412109 L 160.729980 6.412109 L 160.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 13.319336 L 163.878906 7.335938 L 160.892578 7.335938 L 160.892578 6.412109 L 164.738281 6.412109 L 164.738281 13.319336 Z " fill-opacity="1.000000" />
&lt;/svg>
&lt;p>The downside of this, is that you need to expose a server to the internet, exposing your IP, and you need to harden said server adequately.&lt;/p>
&lt;p>While I haven&amp;rsquo;t run into any issues, I know others who have, so I&amp;rsquo;m still wary.&lt;/p>
&lt;p>There are a few neat solutions to avoid exposing your IP, the most common is putting a VPS in front of your home server, and proxying requests down over a VPN like Wireguard. &lt;a href="https://www.alexellis.io/">Alex Ellis&amp;rsquo;&lt;/a> project &lt;a href="https://github.com/inlets/inlets">inlets&lt;/a> is a great way to automate this. You can plug in your DigitalOcean (or other provider) API keys, and it will provision a server for you.&lt;/p>
&lt;p>I do use inlets for some smaller projects, but &lt;a href="https://www.cloudflare.com/products/tunnel/">Cloudflare Tunnel&lt;/a> is more robust, and not self-hosted, which takes out a lot of work. I don&amp;rsquo;t need to worry about issues with the VPS, or other infrastructure. It also has a very compelling free tier.&lt;/p>
&lt;p>I&amp;rsquo;ll spare you the set up details, as the &lt;a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup">documentation&lt;/a> is excellent. If you want to take a look at my configuration in Kubernetes, my &lt;code>cloudflared&lt;/code> deployment YAML is available &lt;a href="https://github.com/hugomd/kubernetes-homelab/blob/main/cloudflared/20-deployment.yml">here&lt;/a>.&lt;/p>
&lt;p>I had a few issues after first set up. I initially had &lt;code>cloudflared&lt;/code> proxying to &lt;code>http://ingress-nginx-controller:80&lt;/code>, which caused &lt;a href="https://www.authelia.com/">Authelia&lt;/a> redirection to fail. I fixed this by proxying to &lt;code>https://ingress-nginx-controller:443&lt;/code> and setting &lt;code>noTLSVerify: true&lt;/code>.&lt;/p>
&lt;p>The next issue I hit was that Cloudflare DNS doesn&amp;rsquo;t seem to let you proxy directly to a tunnel from either the root domain, or a wildcard domain. Requests from &lt;code>my.domain&lt;/code> or &lt;code>*.my.domain&lt;/code> failed. The fix here was to set up a &lt;a href="https://developers.cloudflare.com/load-balancing/create-load-balancer-ui">load balancer&lt;/a>, which would then route traffic to my tunnel.&lt;/p>
&lt;p>The infrastructure now looks like:&lt;/p>
&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="169" height="313" style="fill: var(--color)">
&lt;path d="M 2.878906 221.319336 L 2.878906 214.412109 L 6.729980 214.412109 L 6.729980 215.335938 L 3.738281 215.335938 L 3.738281 221.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 2.878906 234.319336 L 2.878906 220.300781 L 3.738281 220.300781 L 3.738281 234.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 2.878906 247.319336 L 2.878906 233.300781 L 3.738281 233.300781 L 3.738281 247.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 2.878906 260.319336 L 2.878906 246.300781 L 3.738281 246.300781 L 3.738281 260.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 2.878906 273.319336 L 2.878906 259.300781 L 3.738281 259.300781 L 3.738281 273.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 2.878906 286.319336 L 2.878906 272.300781 L 3.738281 272.300781 L 3.738281 286.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 2.878906 299.319336 L 2.878906 285.300781 L 3.738281 285.300781 L 3.738281 299.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 2.878906 306.335938 L 2.878906 298.300781 L 3.738281 298.300781 L 3.738281 305.412109 L 6.729980 305.412109 L 6.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 6.892578 306.335938 L 6.892578 305.412109 L 13.729980 305.412109 L 13.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 13.892578 306.335938 L 13.892578 305.412109 L 20.729980 305.412109 L 20.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 20.892578 306.335938 L 20.892578 305.412109 L 27.729980 305.412109 L 27.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 27.892578 306.335938 L 27.892578 305.412109 L 34.729980 305.412109 L 34.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 34.892578 306.335938 L 34.892578 305.412109 L 41.729980 305.412109 L 41.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 41.892578 306.335938 L 41.892578 305.412109 L 48.729980 305.412109 L 48.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 306.335938 L 48.892578 305.412109 L 55.729980 305.412109 L 55.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 306.335938 L 55.892578 305.412109 L 62.729980 305.412109 L 62.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 306.335938 L 62.892578 305.412109 L 69.729980 305.412109 L 69.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 306.335938 L 69.892578 305.412109 L 76.729980 305.412109 L 76.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 306.335938 L 76.892578 305.412109 L 83.729980 305.412109 L 83.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 306.335938 L 83.892578 305.412109 L 90.729980 305.412109 L 90.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 306.335938 L 90.892578 305.412109 L 97.729980 305.412109 L 97.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 306.335938 L 97.892578 305.412109 L 104.729980 305.412109 L 104.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 306.335938 L 104.892578 305.412109 L 111.729980 305.412109 L 111.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 306.335938 L 111.892578 305.412109 L 118.729980 305.412109 L 118.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 306.335938 L 118.892578 305.412109 L 125.729980 305.412109 L 125.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 306.335938 L 125.892578 305.412109 L 132.729980 305.412109 L 132.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 306.335938 L 132.892578 305.412109 L 139.729980 305.412109 L 139.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 306.335938 L 139.892578 305.412109 L 146.729980 305.412109 L 146.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 146.892578 306.335938 L 146.892578 305.412109 L 153.729980 305.412109 L 153.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 306.335938 L 153.892578 305.412109 L 160.729980 305.412109 L 160.729980 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 160.892578 306.335938 L 160.892578 305.412109 L 163.878906 305.412109 L 163.878906 298.300781 L 164.738281 298.300781 L 164.738281 306.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 56.735840 248.980957 L 57.826172 248.980957 L 57.826172 252.053223 L 60.796387 252.053223 L 60.796387 248.980957 L 61.886719 248.980957 L 61.886719 257.000000 L 60.796387 257.000000 L 60.796387 252.966309 L 57.826172 252.966309 L 57.826172 257.000000 L 56.735840 257.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 273.319336 L 163.878906 259.300781 L 164.738281 259.300781 L 164.738281 273.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 286.319336 L 163.878906 272.300781 L 164.738281 272.300781 L 164.738281 286.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 299.319336 L 163.878906 285.300781 L 164.738281 285.300781 L 164.738281 299.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 66.308594 251.677246 Q 65.556641 251.677246 65.169922 252.262695 Q 64.783203 252.848145 64.783203 253.997559 Q 64.783203 255.141602 65.169922 255.729736 Q 65.556641 256.317871 66.308594 256.317871 Q 67.065918 256.317871 67.452637 255.729736 Q 67.839355 255.141602 67.839355 253.997559 Q 67.839355 252.848145 67.452637 252.262695 Q 67.065918 251.677246 66.308594 251.677246 Z M 66.308594 250.839355 Q 67.560059 250.839355 68.223389 251.650391 Q 68.886719 252.461426 68.886719 253.997559 Q 68.886719 255.539062 68.226074 256.347412 Q 67.565430 257.155762 66.308594 257.155762 Q 65.057129 257.155762 64.396484 256.347412 Q 63.735840 255.539062 63.735840 253.997559 Q 63.735840 252.461426 64.396484 251.650391 Q 65.057129 250.839355 66.308594 250.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 73.630859 251.596680 Q 73.813477 251.209961 74.095459 251.024658 Q 74.377441 250.839355 74.774902 250.839355 Q 75.500000 250.839355 75.798096 251.400635 Q 76.096191 251.961914 76.096191 253.514160 L 76.096191 257.000000 L 75.193848 257.000000 L 75.193848 253.557129 Q 75.193848 252.284180 75.051514 251.975342 Q 74.909180 251.666504 74.533203 251.666504 Q 74.103516 251.666504 73.945068 251.996826 Q 73.786621 252.327148 73.786621 253.557129 L 73.786621 257.000000 L 72.884277 257.000000 L 72.884277 253.557129 Q 72.884277 252.268066 72.731201 251.967285 Q 72.578125 251.666504 72.180664 251.666504 Q 71.788574 251.666504 71.635498 251.996826 Q 71.482422 252.327148 71.482422 253.557129 L 71.482422 257.000000 L 70.585449 257.000000 L 70.585449 250.984375 L 71.482422 250.984375 L 71.482422 251.500000 Q 71.659668 251.177734 71.925537 251.008545 Q 72.191406 250.839355 72.529785 250.839355 Q 72.937988 250.839355 73.209229 251.027344 Q 73.480469 251.215332 73.630859 251.596680 Z " fill-opacity="1.000000" />
&lt;path d="M 83.015625 253.498047 L 83.015625 253.981445 L 78.734863 253.981445 L 78.734863 254.013672 Q 78.691895 255.243652 79.204834 255.780762 Q 79.717773 256.317871 80.652344 256.317871 Q 81.125000 256.317871 81.640625 256.167480 Q 82.156250 256.017090 82.741699 255.710938 L 82.741699 256.693848 Q 82.177734 256.924805 81.654053 257.040283 Q 81.130371 257.155762 80.641602 257.155762 Q 79.239746 257.155762 78.450195 256.315186 Q 77.660645 255.474609 77.660645 253.997559 Q 77.660645 252.558105 78.434082 251.698730 Q 79.207520 250.839355 80.496582 250.839355 Q 81.645996 250.839355 82.309326 251.618164 Q 82.972656 252.396973 83.015625 253.498047 Z M 82.027344 253.208008 Q 81.962891 252.584961 81.573486 252.131104 Q 81.184082 251.677246 80.453613 251.677246 Q 79.739258 251.677246 79.277344 252.149902 Q 78.815430 252.622559 78.772461 253.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 87.861816 254.824707 Q 87.861816 255.490723 88.106201 255.829102 Q 88.350586 256.167480 88.828613 256.167480 L 89.983398 256.167480 L 89.983398 257.000000 L 88.731934 257.000000 Q 87.845703 257.000000 87.359619 256.433350 Q 86.873535 255.866699 86.873535 254.824707 L 86.873535 249.383789 L 85.289062 249.383789 L 85.289062 248.610352 L 87.861816 248.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 94.770508 253.976074 L 94.442871 253.976074 Q 93.578125 253.976074 93.140381 254.279541 Q 92.702637 254.583008 92.702637 255.184570 Q 92.702637 255.727051 93.030273 256.027832 Q 93.357910 256.328613 93.937988 256.328613 Q 94.754395 256.328613 95.221680 255.761963 Q 95.688965 255.195312 95.694336 254.196289 L 95.694336 253.976074 Z M 96.687988 253.567871 L 96.687988 257.000000 L 95.694336 257.000000 L 95.694336 256.108398 Q 95.377441 256.645508 94.896729 256.900635 Q 94.416016 257.155762 93.728516 257.155762 Q 92.810059 257.155762 92.262207 256.637451 Q 91.714355 256.119141 91.714355 255.249023 Q 91.714355 254.244629 92.388428 253.723633 Q 93.062500 253.202637 94.367676 253.202637 L 95.694336 253.202637 L 95.694336 253.046875 Q 95.688965 252.327148 95.329102 252.002197 Q 94.969238 251.677246 94.179688 251.677246 Q 93.674805 251.677246 93.159180 251.822266 Q 92.643555 251.967285 92.154785 252.246582 L 92.154785 251.258301 Q 92.702637 251.048828 93.204834 250.944092 Q 93.707031 250.839355 94.179688 250.839355 Q 94.926270 250.839355 95.455322 251.059570 Q 95.984375 251.279785 96.312012 251.720215 Q 96.516113 251.988770 96.602051 252.383545 Q 96.687988 252.778320 96.687988 253.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 102.930664 253.997559 Q 102.930664 252.848145 102.565430 252.262695 Q 102.200195 251.677246 101.485840 251.677246 Q 100.766113 251.677246 100.395508 252.265381 Q 100.024902 252.853516 100.024902 253.997559 Q 100.024902 255.136230 100.395508 255.727051 Q 100.766113 256.317871 101.485840 256.317871 Q 102.200195 256.317871 102.565430 255.732422 Q 102.930664 255.146973 102.930664 253.997559 Z M 100.024902 251.752441 Q 100.261230 251.312012 100.677490 251.075684 Q 101.093750 250.839355 101.641602 250.839355 Q 102.726562 250.839355 103.349609 251.674561 Q 103.972656 252.509766 103.972656 253.976074 Q 103.972656 255.463867 103.346924 256.309814 Q 102.721191 257.155762 101.630859 257.155762 Q 101.093750 257.155762 100.682861 256.922119 Q 100.271973 256.688477 100.024902 256.242676 L 100.024902 257.000000 L 99.036621 257.000000 L 99.036621 248.642578 L 100.024902 248.642578 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 260.319336 L 163.878906 246.300781 L 164.738281 246.300781 L 164.738281 260.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 234.319336 L 163.878906 220.300781 L 164.738281 220.300781 L 164.738281 234.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 247.319336 L 163.878906 233.300781 L 164.738281 233.300781 L 164.738281 247.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 6.892578 215.335938 L 6.892578 214.412109 L 13.729980 214.412109 L 13.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 13.892578 215.335938 L 13.892578 214.412109 L 16.878906 214.412109 L 16.878906 207.300781 L 17.738281 207.300781 L 17.738281 214.412109 L 20.729980 214.412109 L 20.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 20.892578 215.335938 L 20.892578 214.412109 L 27.729980 214.412109 L 27.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 27.892578 215.335938 L 27.892578 214.412109 L 34.729980 214.412109 L 34.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 34.892578 215.335938 L 34.892578 214.412109 L 41.729980 214.412109 L 41.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 41.892578 215.335938 L 41.892578 214.412109 L 48.729980 214.412109 L 48.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 215.335938 L 48.892578 214.412109 L 55.729980 214.412109 L 55.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 215.335938 L 55.892578 214.412109 L 62.729980 214.412109 L 62.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 215.335938 L 62.892578 214.412109 L 69.729980 214.412109 L 69.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 215.335938 L 69.892578 214.412109 L 76.729980 214.412109 L 76.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 215.335938 L 76.892578 214.412109 L 83.729980 214.412109 L 83.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 215.335938 L 83.892578 214.412109 L 90.729980 214.412109 L 90.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 215.335938 L 90.892578 214.412109 L 97.729980 214.412109 L 97.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 215.335938 L 97.892578 214.412109 L 104.729980 214.412109 L 104.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 215.335938 L 104.892578 214.412109 L 111.729980 214.412109 L 111.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 215.335938 L 111.892578 214.412109 L 118.729980 214.412109 L 118.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 215.335938 L 118.892578 214.412109 L 125.729980 214.412109 L 125.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 215.335938 L 125.892578 214.412109 L 132.729980 214.412109 L 132.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 215.335938 L 132.892578 214.412109 L 139.729980 214.412109 L 139.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 215.335938 L 139.892578 214.412109 L 142.878906 214.412109 L 142.878906 207.300781 L 143.738281 207.300781 L 143.738281 214.412109 L 146.729980 214.412109 L 146.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 146.892578 215.335938 L 146.892578 214.412109 L 153.729980 214.412109 L 153.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 153.892578 215.335938 L 153.892578 214.412109 L 160.729980 214.412109 L 160.729980 215.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 163.878906 221.319336 L 163.878906 215.335938 L 160.892578 215.335938 L 160.892578 214.412109 L 164.738281 214.412109 L 164.738281 221.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 14.735840 53.980957 L 15.826172 53.980957 L 15.826172 57.053223 L 18.796387 57.053223 L 18.796387 53.980957 L 19.886719 53.980957 L 19.886719 62.000000 L 18.796387 62.000000 L 18.796387 57.966309 L 15.826172 57.966309 L 15.826172 62.000000 L 14.735840 62.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 16.878906 104.319336 L 16.878906 97.412109 L 20.729980 97.412109 L 20.729980 98.335938 L 17.738281 98.335938 L 17.738281 104.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 16.878906 117.319336 L 16.878906 103.300781 L 17.738281 103.300781 L 17.738281 117.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 16.878906 124.335938 L 16.878906 116.300781 L 17.738281 116.300781 L 17.738281 123.412109 L 20.729980 123.412109 L 20.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 16.878906 195.319336 L 16.878906 188.412109 L 20.729980 188.412109 L 20.729980 189.335938 L 17.738281 189.335938 L 17.738281 195.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 16.878906 208.319336 L 16.878906 194.300781 L 17.738281 194.300781 L 17.738281 208.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 47.698730 204.693848 Q 47.301270 204.924805 46.879639 205.040283 Q 46.458008 205.155762 46.017578 205.155762 Q 44.621094 205.155762 43.834229 204.317871 Q 43.047363 203.479980 43.047363 201.997559 Q 43.047363 200.515137 43.834229 199.677246 Q 44.621094 198.839355 46.017578 198.839355 Q 46.452637 198.839355 46.866211 198.952148 Q 47.279785 199.064941 47.698730 199.301270 L 47.698730 200.337891 Q 47.306641 199.988770 46.911865 199.833008 Q 46.517090 199.677246 46.017578 199.677246 Q 45.088379 199.677246 44.588867 200.278809 Q 44.089355 200.880371 44.089355 201.997559 Q 44.089355 203.109375 44.591553 203.713623 Q 45.093750 204.317871 46.017578 204.317871 Q 46.533203 204.317871 46.941406 204.159424 Q 47.349609 204.000977 47.698730 203.667969 Z " fill-opacity="1.000000" />
&lt;path d="M 52.861816 202.824707 Q 52.861816 203.490723 53.106201 203.829102 Q 53.350586 204.167480 53.828613 204.167480 L 54.983398 204.167480 L 54.983398 205.000000 L 53.731934 205.000000 Q 52.845703 205.000000 52.359619 204.433350 Q 51.873535 203.866699 51.873535 202.824707 L 51.873535 197.383789 L 50.289062 197.383789 L 50.289062 196.610352 L 52.861816 196.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 59.308594 199.677246 Q 58.556641 199.677246 58.169922 200.262695 Q 57.783203 200.848145 57.783203 201.997559 Q 57.783203 203.141602 58.169922 203.729736 Q 58.556641 204.317871 59.308594 204.317871 Q 60.065918 204.317871 60.452637 203.729736 Q 60.839355 203.141602 60.839355 201.997559 Q 60.839355 200.848145 60.452637 200.262695 Q 60.065918 199.677246 59.308594 199.677246 Z M 59.308594 198.839355 Q 60.560059 198.839355 61.223389 199.650391 Q 61.886719 200.461426 61.886719 201.997559 Q 61.886719 203.539062 61.226074 204.347412 Q 60.565430 205.155762 59.308594 205.155762 Q 58.057129 205.155762 57.396484 204.347412 Q 56.735840 203.539062 56.735840 201.997559 Q 56.735840 200.461426 57.396484 199.650391 Q 58.057129 198.839355 59.308594 198.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 64.047363 202.722656 L 64.047363 198.995117 L 65.035645 198.995117 L 65.035645 202.722656 Q 65.035645 203.533691 65.322998 203.915039 Q 65.610352 204.296387 66.211914 204.296387 Q 66.910156 204.296387 67.280762 203.804932 Q 67.651367 203.313477 67.651367 202.395020 L 67.651367 198.995117 L 68.645020 198.995117 L 68.645020 205.000000 L 67.651367 205.000000 L 67.651367 204.097656 Q 67.388184 204.618652 66.934326 204.887207 Q 66.480469 205.155762 65.873535 205.155762 Q 64.949707 205.155762 64.498535 204.551514 Q 64.047363 203.947266 64.047363 202.722656 Z " fill-opacity="1.000000" />
&lt;path d="M 74.608398 199.752441 L 74.608398 196.642578 L 75.596680 196.642578 L 75.596680 205.000000 L 74.608398 205.000000 L 74.608398 204.242676 Q 74.361328 204.688477 73.950439 204.922119 Q 73.539551 205.155762 73.002441 205.155762 Q 71.912109 205.155762 71.286377 204.309814 Q 70.660645 203.463867 70.660645 201.976074 Q 70.660645 200.509766 71.289062 199.674561 Q 71.917480 198.839355 73.002441 198.839355 Q 73.544922 198.839355 73.958496 199.072998 Q 74.372070 199.306641 74.608398 199.752441 Z M 71.702637 201.997559 Q 71.702637 203.146973 72.067871 203.732422 Q 72.433105 204.317871 73.147461 204.317871 Q 73.861816 204.317871 74.235107 203.727051 Q 74.608398 203.136230 74.608398 201.997559 Q 74.608398 200.853516 74.235107 200.265381 Q 73.861816 199.677246 73.147461 199.677246 Q 72.433105 199.677246 72.067871 200.262695 Q 71.702637 200.848145 71.702637 201.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 82.709473 196.642578 L 82.709473 197.464355 L 81.586914 197.464355 Q 81.055176 197.464355 80.848389 197.681885 Q 80.641602 197.899414 80.641602 198.452637 L 80.641602 198.984375 L 82.709473 198.984375 L 82.709473 199.752441 L 80.641602 199.752441 L 80.641602 205.000000 L 79.653320 205.000000 L 79.653320 199.752441 L 78.047363 199.752441 L 78.047363 198.984375 L 79.653320 198.984375 L 79.653320 198.565430 Q 79.653320 197.577148 80.107178 197.109863 Q 80.561035 196.642578 81.522461 196.642578 Z " fill-opacity="1.000000" />
&lt;path d="M 87.861816 202.824707 Q 87.861816 203.490723 88.106201 203.829102 Q 88.350586 204.167480 88.828613 204.167480 L 89.983398 204.167480 L 89.983398 205.000000 L 88.731934 205.000000 Q 87.845703 205.000000 87.359619 204.433350 Q 86.873535 203.866699 86.873535 202.824707 L 86.873535 197.383789 L 85.289062 197.383789 L 85.289062 196.610352 L 87.861816 196.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 94.770508 201.976074 L 94.442871 201.976074 Q 93.578125 201.976074 93.140381 202.279541 Q 92.702637 202.583008 92.702637 203.184570 Q 92.702637 203.727051 93.030273 204.027832 Q 93.357910 204.328613 93.937988 204.328613 Q 94.754395 204.328613 95.221680 203.761963 Q 95.688965 203.195312 95.694336 202.196289 L 95.694336 201.976074 Z M 96.687988 201.567871 L 96.687988 205.000000 L 95.694336 205.000000 L 95.694336 204.108398 Q 95.377441 204.645508 94.896729 204.900635 Q 94.416016 205.155762 93.728516 205.155762 Q 92.810059 205.155762 92.262207 204.637451 Q 91.714355 204.119141 91.714355 203.249023 Q 91.714355 202.244629 92.388428 201.723633 Q 93.062500 201.202637 94.367676 201.202637 L 95.694336 201.202637 L 95.694336 201.046875 Q 95.688965 200.327148 95.329102 200.002197 Q 94.969238 199.677246 94.179688 199.677246 Q 93.674805 199.677246 93.159180 199.822266 Q 92.643555 199.967285 92.154785 200.246582 L 92.154785 199.258301 Q 92.702637 199.048828 93.204834 198.944092 Q 93.707031 198.839355 94.179688 198.839355 Q 94.926270 198.839355 95.455322 199.059570 Q 95.984375 199.279785 96.312012 199.720215 Q 96.516113 199.988770 96.602051 200.383545 Q 96.687988 200.778320 96.687988 201.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 104.203613 200.225098 Q 103.886719 199.978027 103.559082 199.865234 Q 103.231445 199.752441 102.839355 199.752441 Q 101.915527 199.752441 101.426758 200.332520 Q 100.937988 200.912598 100.937988 202.008301 L 100.937988 205.000000 L 99.944336 205.000000 L 99.944336 198.984375 L 100.937988 198.984375 L 100.937988 200.160645 Q 101.185059 199.521484 101.697998 199.180420 Q 102.210938 198.839355 102.914551 198.839355 Q 103.279785 198.839355 103.596680 198.930664 Q 103.913574 199.021973 104.203613 199.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 111.015625 201.498047 L 111.015625 201.981445 L 106.734863 201.981445 L 106.734863 202.013672 Q 106.691895 203.243652 107.204834 203.780762 Q 107.717773 204.317871 108.652344 204.317871 Q 109.125000 204.317871 109.640625 204.167480 Q 110.156250 204.017090 110.741699 203.710938 L 110.741699 204.693848 Q 110.177734 204.924805 109.654053 205.040283 Q 109.130371 205.155762 108.641602 205.155762 Q 107.239746 205.155762 106.450195 204.315186 Q 105.660645 203.474609 105.660645 201.997559 Q 105.660645 200.558105 106.434082 199.698730 Q 107.207520 198.839355 108.496582 198.839355 Q 109.645996 198.839355 110.309326 199.618164 Q 110.972656 200.396973 111.015625 201.498047 Z M 110.027344 201.208008 Q 109.962891 200.584961 109.573486 200.131104 Q 109.184082 199.677246 108.453613 199.677246 Q 107.739258 199.677246 107.277344 200.149902 Q 106.815430 200.622559 106.772461 201.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 116.608398 199.752441 L 116.608398 196.642578 L 117.596680 196.642578 L 117.596680 205.000000 L 116.608398 205.000000 L 116.608398 204.242676 Q 116.361328 204.688477 115.950439 204.922119 Q 115.539551 205.155762 115.002441 205.155762 Q 113.912109 205.155762 113.286377 204.309814 Q 112.660645 203.463867 112.660645 201.976074 Q 112.660645 200.509766 113.289062 199.674561 Q 113.917480 198.839355 115.002441 198.839355 Q 115.544922 198.839355 115.958496 199.072998 Q 116.372070 199.306641 116.608398 199.752441 Z M 113.702637 201.997559 Q 113.702637 203.146973 114.067871 203.732422 Q 114.433105 204.317871 115.147461 204.317871 Q 115.861816 204.317871 116.235107 203.727051 Q 116.608398 203.136230 116.608398 201.997559 Q 116.608398 200.853516 116.235107 200.265381 Q 115.861816 199.677246 115.147461 199.677246 Q 114.433105 199.677246 114.067871 200.262695 Q 113.702637 200.848145 113.702637 201.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 142.878906 208.319336 L 142.878906 194.300781 L 143.738281 194.300781 L 143.738281 208.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 20.892578 189.335938 L 20.892578 188.412109 L 27.729980 188.412109 L 27.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 27.892578 189.335938 L 27.892578 188.412109 L 34.729980 188.412109 L 34.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 34.892578 189.335938 L 34.892578 188.412109 L 41.729980 188.412109 L 41.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 41.892578 189.335938 L 41.892578 188.412109 L 48.729980 188.412109 L 48.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 189.335938 L 48.892578 188.412109 L 55.729980 188.412109 L 55.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 189.335938 L 55.892578 188.412109 L 62.729980 188.412109 L 62.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 189.335938 L 62.892578 188.412109 L 69.729980 188.412109 L 69.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 189.335938 L 69.892578 188.412109 L 76.729980 188.412109 L 76.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 189.335938 L 76.892578 188.412109 L 83.729980 188.412109 L 83.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 189.335938 L 83.892578 188.412109 L 90.729980 188.412109 L 90.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 189.335938 L 90.892578 188.412109 L 97.729980 188.412109 L 97.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 189.335938 L 97.892578 188.412109 L 104.729980 188.412109 L 104.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 189.335938 L 104.892578 188.412109 L 111.729980 188.412109 L 111.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 189.335938 L 111.892578 188.412109 L 118.729980 188.412109 L 118.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 189.335938 L 118.892578 188.412109 L 125.729980 188.412109 L 125.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 189.335938 L 125.892578 188.412109 L 132.729980 188.412109 L 132.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 189.335938 L 132.892578 188.412109 L 139.729980 188.412109 L 139.729980 189.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 142.878906 195.319336 L 142.878906 189.335938 L 139.892578 189.335938 L 139.892578 188.412109 L 143.738281 188.412109 L 143.738281 195.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 23.143066 145.872559 L 23.143066 148.885742 L 24.399902 148.885742 Q 25.151855 148.885742 25.573486 148.488281 Q 25.995117 148.090820 25.995117 147.376465 Q 25.995117 146.662109 25.576172 146.267334 Q 25.157227 145.872559 24.399902 145.872559 Z M 22.058105 144.980957 L 24.399902 144.980957 Q 25.742676 144.980957 26.435547 145.590576 Q 27.128418 146.200195 27.128418 147.376465 Q 27.128418 148.563477 26.438232 149.170410 Q 25.748047 149.777344 24.399902 149.777344 L 23.143066 149.777344 L 23.143066 153.000000 L 22.058105 153.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 79.878906 169.319336 L 79.878906 155.300781 L 80.738281 155.300781 L 80.738281 169.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 80.308594 179.418945 L 77.032227 172.866211 L 83.590332 172.866211 Z " fill-opacity="1.000000" />
&lt;path d="M 34.203613 148.225098 Q 33.886719 147.978027 33.559082 147.865234 Q 33.231445 147.752441 32.839355 147.752441 Q 31.915527 147.752441 31.426758 148.332520 Q 30.937988 148.912598 30.937988 150.008301 L 30.937988 153.000000 L 29.944336 153.000000 L 29.944336 146.984375 L 30.937988 146.984375 L 30.937988 148.160645 Q 31.185059 147.521484 31.697998 147.180420 Q 32.210938 146.839355 32.914551 146.839355 Q 33.279785 146.839355 33.596680 146.930664 Q 33.913574 147.021973 34.203613 147.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 38.308594 147.677246 Q 37.556641 147.677246 37.169922 148.262695 Q 36.783203 148.848145 36.783203 149.997559 Q 36.783203 151.141602 37.169922 151.729736 Q 37.556641 152.317871 38.308594 152.317871 Q 39.065918 152.317871 39.452637 151.729736 Q 39.839355 151.141602 39.839355 149.997559 Q 39.839355 148.848145 39.452637 148.262695 Q 39.065918 147.677246 38.308594 147.677246 Z M 38.308594 146.839355 Q 39.560059 146.839355 40.223389 147.650391 Q 40.886719 148.461426 40.886719 149.997559 Q 40.886719 151.539062 40.226074 152.347412 Q 39.565430 153.155762 38.308594 153.155762 Q 37.057129 153.155762 36.396484 152.347412 Q 35.735840 151.539062 35.735840 149.997559 Q 35.735840 148.461426 36.396484 147.650391 Q 37.057129 146.839355 38.308594 146.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 48.004883 146.984375 L 45.851074 149.863281 L 48.214355 153.000000 L 47.070312 153.000000 L 45.308594 150.588379 L 43.552246 153.000000 L 42.408203 153.000000 L 44.771484 149.863281 L 42.617676 146.984375 L 43.713379 146.984375 L 45.308594 149.159668 L 46.893066 146.984375 Z " fill-opacity="1.000000" />
&lt;path d="M 53.608398 151.066406 Q 53.361328 151.694824 52.979980 152.720703 Q 52.448242 154.138672 52.265625 154.450195 Q 52.018555 154.869141 51.647949 155.078613 Q 51.277344 155.288086 50.783203 155.288086 L 49.988281 155.288086 L 49.988281 154.460938 L 50.573730 154.460938 Q 51.008789 154.460938 51.255859 154.208496 Q 51.502930 153.956055 51.884277 152.903320 L 49.558594 146.984375 L 50.605957 146.984375 L 52.389160 151.689453 L 54.145508 146.984375 L 55.192871 146.984375 Z " fill-opacity="1.000000" />
&lt;path d="M 66.297852 145.276367 L 66.297852 146.984375 L 68.542969 146.984375 L 68.542969 147.752441 L 66.297852 147.752441 L 66.297852 151.018066 Q 66.297852 151.684082 66.550293 151.947266 Q 66.802734 152.210449 67.431152 152.210449 L 68.542969 152.210449 L 68.542969 153.000000 L 67.334473 153.000000 Q 66.222656 153.000000 65.766113 152.554199 Q 65.309570 152.108398 65.309570 151.018066 L 65.309570 147.752441 L 63.703613 147.752441 L 63.703613 146.984375 L 65.309570 146.984375 L 65.309570 145.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 73.308594 147.677246 Q 72.556641 147.677246 72.169922 148.262695 Q 71.783203 148.848145 71.783203 149.997559 Q 71.783203 151.141602 72.169922 151.729736 Q 72.556641 152.317871 73.308594 152.317871 Q 74.065918 152.317871 74.452637 151.729736 Q 74.839355 151.141602 74.839355 149.997559 Q 74.839355 148.848145 74.452637 148.262695 Q 74.065918 147.677246 73.308594 147.677246 Z M 73.308594 146.839355 Q 74.560059 146.839355 75.223389 147.650391 Q 75.886719 148.461426 75.886719 149.997559 Q 75.886719 151.539062 75.226074 152.347412 Q 74.565430 153.155762 73.308594 153.155762 Q 72.057129 153.155762 71.396484 152.347412 Q 70.735840 151.539062 70.735840 149.997559 Q 70.735840 148.461426 71.396484 147.650391 Q 72.057129 146.839355 73.308594 146.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 89.645020 149.272461 L 89.645020 153.000000 L 88.651367 153.000000 L 88.651367 149.272461 Q 88.651367 148.461426 88.366699 148.080078 Q 88.082031 147.698730 87.475098 147.698730 Q 86.782227 147.698730 86.408936 148.190186 Q 86.035645 148.681641 86.035645 149.600098 L 86.035645 153.000000 L 85.047363 153.000000 L 85.047363 144.642578 L 86.035645 144.642578 L 86.035645 147.886719 Q 86.298828 147.371094 86.750000 147.105225 Q 87.201172 146.839355 87.818848 146.839355 Q 88.737305 146.839355 89.191162 147.443604 Q 89.645020 148.047852 89.645020 149.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 94.308594 147.677246 Q 93.556641 147.677246 93.169922 148.262695 Q 92.783203 148.848145 92.783203 149.997559 Q 92.783203 151.141602 93.169922 151.729736 Q 93.556641 152.317871 94.308594 152.317871 Q 95.065918 152.317871 95.452637 151.729736 Q 95.839355 151.141602 95.839355 149.997559 Q 95.839355 148.848145 95.452637 148.262695 Q 95.065918 147.677246 94.308594 147.677246 Z M 94.308594 146.839355 Q 95.560059 146.839355 96.223389 147.650391 Q 96.886719 148.461426 96.886719 149.997559 Q 96.886719 151.539062 96.226074 152.347412 Q 95.565430 153.155762 94.308594 153.155762 Q 93.057129 153.155762 92.396484 152.347412 Q 91.735840 151.539062 91.735840 149.997559 Q 91.735840 148.461426 92.396484 147.650391 Q 93.057129 146.839355 94.308594 146.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 101.630859 147.596680 Q 101.813477 147.209961 102.095459 147.024658 Q 102.377441 146.839355 102.774902 146.839355 Q 103.500000 146.839355 103.798096 147.400635 Q 104.096191 147.961914 104.096191 149.514160 L 104.096191 153.000000 L 103.193848 153.000000 L 103.193848 149.557129 Q 103.193848 148.284180 103.051514 147.975342 Q 102.909180 147.666504 102.533203 147.666504 Q 102.103516 147.666504 101.945068 147.996826 Q 101.786621 148.327148 101.786621 149.557129 L 101.786621 153.000000 L 100.884277 153.000000 L 100.884277 149.557129 Q 100.884277 148.268066 100.731201 147.967285 Q 100.578125 147.666504 100.180664 147.666504 Q 99.788574 147.666504 99.635498 147.996826 Q 99.482422 148.327148 99.482422 149.557129 L 99.482422 153.000000 L 98.585449 153.000000 L 98.585449 146.984375 L 99.482422 146.984375 L 99.482422 147.500000 Q 99.659668 147.177734 99.925537 147.008545 Q 100.191406 146.839355 100.529785 146.839355 Q 100.937988 146.839355 101.209229 147.027344 Q 101.480469 147.215332 101.630859 147.596680 Z " fill-opacity="1.000000" />
&lt;path d="M 111.015625 149.498047 L 111.015625 149.981445 L 106.734863 149.981445 L 106.734863 150.013672 Q 106.691895 151.243652 107.204834 151.780762 Q 107.717773 152.317871 108.652344 152.317871 Q 109.125000 152.317871 109.640625 152.167480 Q 110.156250 152.017090 110.741699 151.710938 L 110.741699 152.693848 Q 110.177734 152.924805 109.654053 153.040283 Q 109.130371 153.155762 108.641602 153.155762 Q 107.239746 153.155762 106.450195 152.315186 Q 105.660645 151.474609 105.660645 149.997559 Q 105.660645 148.558105 106.434082 147.698730 Q 107.207520 146.839355 108.496582 146.839355 Q 109.645996 146.839355 110.309326 147.618164 Q 110.972656 148.396973 111.015625 149.498047 Z M 110.027344 149.208008 Q 109.962891 148.584961 109.573486 148.131104 Q 109.184082 147.677246 108.453613 147.677246 Q 107.739258 147.677246 107.277344 148.149902 Q 106.815430 148.622559 106.772461 149.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 115.861816 150.824707 Q 115.861816 151.490723 116.106201 151.829102 Q 116.350586 152.167480 116.828613 152.167480 L 117.983398 152.167480 L 117.983398 153.000000 L 116.731934 153.000000 Q 115.845703 153.000000 115.359619 152.433350 Q 114.873535 151.866699 114.873535 150.824707 L 114.873535 145.383789 L 113.289062 145.383789 L 113.289062 144.610352 L 115.861816 144.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 122.770508 149.976074 L 122.442871 149.976074 Q 121.578125 149.976074 121.140381 150.279541 Q 120.702637 150.583008 120.702637 151.184570 Q 120.702637 151.727051 121.030273 152.027832 Q 121.357910 152.328613 121.937988 152.328613 Q 122.754395 152.328613 123.221680 151.761963 Q 123.688965 151.195312 123.694336 150.196289 L 123.694336 149.976074 Z M 124.687988 149.567871 L 124.687988 153.000000 L 123.694336 153.000000 L 123.694336 152.108398 Q 123.377441 152.645508 122.896729 152.900635 Q 122.416016 153.155762 121.728516 153.155762 Q 120.810059 153.155762 120.262207 152.637451 Q 119.714355 152.119141 119.714355 151.249023 Q 119.714355 150.244629 120.388428 149.723633 Q 121.062500 149.202637 122.367676 149.202637 L 123.694336 149.202637 L 123.694336 149.046875 Q 123.688965 148.327148 123.329102 148.002197 Q 122.969238 147.677246 122.179688 147.677246 Q 121.674805 147.677246 121.159180 147.822266 Q 120.643555 147.967285 120.154785 148.246582 L 120.154785 147.258301 Q 120.702637 147.048828 121.204834 146.944092 Q 121.707031 146.839355 122.179688 146.839355 Q 122.926270 146.839355 123.455322 147.059570 Q 123.984375 147.279785 124.312012 147.720215 Q 124.516113 147.988770 124.602051 148.383545 Q 124.687988 148.778320 124.687988 149.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 130.930664 149.997559 Q 130.930664 148.848145 130.565430 148.262695 Q 130.200195 147.677246 129.485840 147.677246 Q 128.766113 147.677246 128.395508 148.265381 Q 128.024902 148.853516 128.024902 149.997559 Q 128.024902 151.136230 128.395508 151.727051 Q 128.766113 152.317871 129.485840 152.317871 Q 130.200195 152.317871 130.565430 151.732422 Q 130.930664 151.146973 130.930664 149.997559 Z M 128.024902 147.752441 Q 128.261230 147.312012 128.677490 147.075684 Q 129.093750 146.839355 129.641602 146.839355 Q 130.726562 146.839355 131.349609 147.674561 Q 131.972656 148.509766 131.972656 149.976074 Q 131.972656 151.463867 131.346924 152.309814 Q 130.721191 153.155762 129.630859 153.155762 Q 129.093750 153.155762 128.682861 152.922119 Q 128.271973 152.688477 128.024902 152.242676 L 128.024902 153.000000 L 127.036621 153.000000 L 127.036621 144.642578 L 128.024902 144.642578 Z " fill-opacity="1.000000" />
&lt;path d="M 79.878906 143.319336 L 79.878906 129.300781 L 80.738281 129.300781 L 80.738281 143.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 20.892578 124.335938 L 20.892578 123.412109 L 27.729980 123.412109 L 27.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 27.892578 124.335938 L 27.892578 123.412109 L 34.729980 123.412109 L 34.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 34.892578 124.335938 L 34.892578 123.412109 L 41.729980 123.412109 L 41.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 41.892578 124.335938 L 41.892578 123.412109 L 48.729980 123.412109 L 48.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 124.335938 L 48.892578 123.412109 L 55.729980 123.412109 L 55.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 124.335938 L 55.892578 123.412109 L 62.729980 123.412109 L 62.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 124.335938 L 62.892578 123.412109 L 69.729980 123.412109 L 69.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 124.335938 L 69.892578 123.412109 L 76.729980 123.412109 L 76.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 124.335938 L 76.892578 123.412109 L 83.729980 123.412109 L 83.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 124.335938 L 83.892578 123.412109 L 90.729980 123.412109 L 90.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 124.335938 L 90.892578 123.412109 L 97.729980 123.412109 L 97.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 124.335938 L 97.892578 123.412109 L 104.729980 123.412109 L 104.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 124.335938 L 104.892578 123.412109 L 111.729980 123.412109 L 111.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 124.335938 L 111.892578 123.412109 L 118.729980 123.412109 L 118.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 124.335938 L 118.892578 123.412109 L 125.729980 123.412109 L 125.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 124.335938 L 125.892578 123.412109 L 132.729980 123.412109 L 132.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 124.335938 L 132.892578 123.412109 L 139.729980 123.412109 L 139.729980 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 139.892578 124.335938 L 139.892578 123.412109 L 142.878906 123.412109 L 142.878906 116.300781 L 143.738281 116.300781 L 143.738281 124.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 40.763184 113.715332 Q 40.349609 113.935547 39.914551 114.045654 Q 39.479492 114.155762 38.990723 114.155762 Q 37.449219 114.155762 36.597900 113.065430 Q 35.746582 111.975098 35.746582 109.998535 Q 35.746582 108.032715 36.603271 106.934326 Q 37.459961 105.835938 38.990723 105.835938 Q 39.479492 105.835938 39.914551 105.946045 Q 40.349609 106.056152 40.763184 106.276367 L 40.763184 107.388184 Q 40.365723 107.060547 39.909180 106.888672 Q 39.452637 106.716797 38.990723 106.716797 Q 37.932617 106.716797 37.406250 107.533203 Q 36.879883 108.349609 36.879883 109.998535 Q 36.879883 111.642090 37.406250 112.458496 Q 37.932617 113.274902 38.990723 113.274902 Q 39.463379 113.274902 39.917236 113.103027 Q 40.371094 112.931152 40.763184 112.603516 Z " fill-opacity="1.000000" />
&lt;path d="M 45.861816 111.824707 Q 45.861816 112.490723 46.106201 112.829102 Q 46.350586 113.167480 46.828613 113.167480 L 47.983398 113.167480 L 47.983398 114.000000 L 46.731934 114.000000 Q 45.845703 114.000000 45.359619 113.433350 Q 44.873535 112.866699 44.873535 111.824707 L 44.873535 106.383789 L 43.289062 106.383789 L 43.289062 105.610352 L 45.861816 105.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 52.308594 108.677246 Q 51.556641 108.677246 51.169922 109.262695 Q 50.783203 109.848145 50.783203 110.997559 Q 50.783203 112.141602 51.169922 112.729736 Q 51.556641 113.317871 52.308594 113.317871 Q 53.065918 113.317871 53.452637 112.729736 Q 53.839355 112.141602 53.839355 110.997559 Q 53.839355 109.848145 53.452637 109.262695 Q 53.065918 108.677246 52.308594 108.677246 Z M 52.308594 107.839355 Q 53.560059 107.839355 54.223389 108.650391 Q 54.886719 109.461426 54.886719 110.997559 Q 54.886719 112.539062 54.226074 113.347412 Q 53.565430 114.155762 52.308594 114.155762 Q 51.057129 114.155762 50.396484 113.347412 Q 49.735840 112.539062 49.735840 110.997559 Q 49.735840 109.461426 50.396484 108.650391 Q 51.057129 107.839355 52.308594 107.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 57.047363 111.722656 L 57.047363 107.995117 L 58.035645 107.995117 L 58.035645 111.722656 Q 58.035645 112.533691 58.322998 112.915039 Q 58.610352 113.296387 59.211914 113.296387 Q 59.910156 113.296387 60.280762 112.804932 Q 60.651367 112.313477 60.651367 111.395020 L 60.651367 107.995117 L 61.645020 107.995117 L 61.645020 114.000000 L 60.651367 114.000000 L 60.651367 113.097656 Q 60.388184 113.618652 59.934326 113.887207 Q 59.480469 114.155762 58.873535 114.155762 Q 57.949707 114.155762 57.498535 113.551514 Q 57.047363 112.947266 57.047363 111.722656 Z " fill-opacity="1.000000" />
&lt;path d="M 67.608398 108.752441 L 67.608398 105.642578 L 68.596680 105.642578 L 68.596680 114.000000 L 67.608398 114.000000 L 67.608398 113.242676 Q 67.361328 113.688477 66.950439 113.922119 Q 66.539551 114.155762 66.002441 114.155762 Q 64.912109 114.155762 64.286377 113.309814 Q 63.660645 112.463867 63.660645 110.976074 Q 63.660645 109.509766 64.289062 108.674561 Q 64.917480 107.839355 66.002441 107.839355 Q 66.544922 107.839355 66.958496 108.072998 Q 67.372070 108.306641 67.608398 108.752441 Z M 64.702637 110.997559 Q 64.702637 112.146973 65.067871 112.732422 Q 65.433105 113.317871 66.147461 113.317871 Q 66.861816 113.317871 67.235107 112.727051 Q 67.608398 112.136230 67.608398 110.997559 Q 67.608398 109.853516 67.235107 109.265381 Q 66.861816 108.677246 66.147461 108.677246 Q 65.433105 108.677246 65.067871 109.262695 Q 64.702637 109.848145 64.702637 110.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 75.709473 105.642578 L 75.709473 106.464355 L 74.586914 106.464355 Q 74.055176 106.464355 73.848389 106.681885 Q 73.641602 106.899414 73.641602 107.452637 L 73.641602 107.984375 L 75.709473 107.984375 L 75.709473 108.752441 L 73.641602 108.752441 L 73.641602 114.000000 L 72.653320 114.000000 L 72.653320 108.752441 L 71.047363 108.752441 L 71.047363 107.984375 L 72.653320 107.984375 L 72.653320 107.565430 Q 72.653320 106.577148 73.107178 106.109863 Q 73.561035 105.642578 74.522461 105.642578 Z " fill-opacity="1.000000" />
&lt;path d="M 80.861816 111.824707 Q 80.861816 112.490723 81.106201 112.829102 Q 81.350586 113.167480 81.828613 113.167480 L 82.983398 113.167480 L 82.983398 114.000000 L 81.731934 114.000000 Q 80.845703 114.000000 80.359619 113.433350 Q 79.873535 112.866699 79.873535 111.824707 L 79.873535 106.383789 L 78.289062 106.383789 L 78.289062 105.610352 L 80.861816 105.610352 Z " fill-opacity="1.000000" />
&lt;path d="M 87.770508 110.976074 L 87.442871 110.976074 Q 86.578125 110.976074 86.140381 111.279541 Q 85.702637 111.583008 85.702637 112.184570 Q 85.702637 112.727051 86.030273 113.027832 Q 86.357910 113.328613 86.937988 113.328613 Q 87.754395 113.328613 88.221680 112.761963 Q 88.688965 112.195312 88.694336 111.196289 L 88.694336 110.976074 Z M 89.687988 110.567871 L 89.687988 114.000000 L 88.694336 114.000000 L 88.694336 113.108398 Q 88.377441 113.645508 87.896729 113.900635 Q 87.416016 114.155762 86.728516 114.155762 Q 85.810059 114.155762 85.262207 113.637451 Q 84.714355 113.119141 84.714355 112.249023 Q 84.714355 111.244629 85.388428 110.723633 Q 86.062500 110.202637 87.367676 110.202637 L 88.694336 110.202637 L 88.694336 110.046875 Q 88.688965 109.327148 88.329102 109.002197 Q 87.969238 108.677246 87.179688 108.677246 Q 86.674805 108.677246 86.159180 108.822266 Q 85.643555 108.967285 85.154785 109.246582 L 85.154785 108.258301 Q 85.702637 108.048828 86.204834 107.944092 Q 86.707031 107.839355 87.179688 107.839355 Q 87.926270 107.839355 88.455322 108.059570 Q 88.984375 108.279785 89.312012 108.720215 Q 89.516113 108.988770 89.602051 109.383545 Q 89.687988 109.778320 89.687988 110.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 97.203613 109.225098 Q 96.886719 108.978027 96.559082 108.865234 Q 96.231445 108.752441 95.839355 108.752441 Q 94.915527 108.752441 94.426758 109.332520 Q 93.937988 109.912598 93.937988 111.008301 L 93.937988 114.000000 L 92.944336 114.000000 L 92.944336 107.984375 L 93.937988 107.984375 L 93.937988 109.160645 Q 94.185059 108.521484 94.697998 108.180420 Q 95.210938 107.839355 95.914551 107.839355 Q 96.279785 107.839355 96.596680 107.930664 Q 96.913574 108.021973 97.203613 108.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 104.015625 110.498047 L 104.015625 110.981445 L 99.734863 110.981445 L 99.734863 111.013672 Q 99.691895 112.243652 100.204834 112.780762 Q 100.717773 113.317871 101.652344 113.317871 Q 102.125000 113.317871 102.640625 113.167480 Q 103.156250 113.017090 103.741699 112.710938 L 103.741699 113.693848 Q 103.177734 113.924805 102.654053 114.040283 Q 102.130371 114.155762 101.641602 114.155762 Q 100.239746 114.155762 99.450195 113.315186 Q 98.660645 112.474609 98.660645 110.997559 Q 98.660645 109.558105 99.434082 108.698730 Q 100.207520 107.839355 101.496582 107.839355 Q 102.645996 107.839355 103.309326 108.618164 Q 103.972656 109.396973 104.015625 110.498047 Z M 103.027344 110.208008 Q 102.962891 109.584961 102.573486 109.131104 Q 102.184082 108.677246 101.453613 108.677246 Q 100.739258 108.677246 100.277344 109.149902 Q 99.815430 109.622559 99.772461 110.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 113.154785 105.980957 L 114.245117 105.980957 L 114.245117 113.086914 L 118.117676 113.086914 L 118.117676 114.000000 L 113.154785 114.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 120.981934 109.955566 L 120.981934 113.108398 L 122.265625 113.108398 Q 123.210938 113.108398 123.613770 112.778076 Q 124.016602 112.447754 124.016602 111.690430 Q 124.016602 110.691406 123.592285 110.323486 Q 123.167969 109.955566 122.265625 109.955566 Z M 120.981934 106.872559 L 120.981934 109.074707 L 122.244141 109.074707 Q 123.028320 109.074707 123.380127 108.773926 Q 123.731934 108.473145 123.731934 108.016602 Q 123.731934 107.409668 123.385498 107.141113 Q 123.039062 106.872559 122.244141 106.872559 Z M 119.891602 105.980957 L 122.265625 105.980957 Q 123.495605 105.980957 124.161621 106.512695 Q 124.827637 107.044434 124.827637 108.016602 Q 124.827637 108.537598 124.475830 108.961914 Q 124.124023 109.386230 123.420410 109.493652 Q 124.209961 109.611816 124.658447 110.167725 Q 125.106934 110.723633 125.106934 111.797852 Q 125.106934 112.888184 124.392578 113.444092 Q 123.678223 114.000000 122.265625 114.000000 L 119.891602 114.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 142.878906 117.319336 L 142.878906 103.300781 L 143.738281 103.300781 L 143.738281 117.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 20.892578 98.335938 L 20.892578 97.412109 L 27.729980 97.412109 L 27.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 27.892578 98.335938 L 27.892578 97.412109 L 34.729980 97.412109 L 34.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 34.892578 98.335938 L 34.892578 97.412109 L 41.729980 97.412109 L 41.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 41.892578 98.335938 L 41.892578 97.412109 L 48.729980 97.412109 L 48.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 98.335938 L 48.892578 97.412109 L 55.729980 97.412109 L 55.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 98.335938 L 55.892578 97.412109 L 62.729980 97.412109 L 62.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 98.335938 L 62.892578 97.412109 L 69.729980 97.412109 L 69.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 98.335938 L 69.892578 97.412109 L 76.729980 97.412109 L 76.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 98.335938 L 76.892578 97.412109 L 83.729980 97.412109 L 83.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 98.335938 L 83.892578 97.412109 L 90.729980 97.412109 L 90.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 98.335938 L 90.892578 97.412109 L 97.729980 97.412109 L 97.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 98.335938 L 97.892578 97.412109 L 104.729980 97.412109 L 104.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 98.335938 L 104.892578 97.412109 L 111.729980 97.412109 L 111.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 98.335938 L 111.892578 97.412109 L 118.729980 97.412109 L 118.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 118.892578 98.335938 L 118.892578 97.412109 L 125.729980 97.412109 L 125.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 125.892578 98.335938 L 125.892578 97.412109 L 132.729980 97.412109 L 132.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 132.892578 98.335938 L 132.892578 97.412109 L 139.729980 97.412109 L 139.729980 98.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 142.878906 104.319336 L 142.878906 98.335938 L 139.892578 98.335938 L 139.892578 97.412109 L 143.738281 97.412109 L 143.738281 104.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 79.878906 78.319336 L 79.878906 64.300781 L 80.738281 64.300781 L 80.738281 78.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 80.308594 88.418945 L 77.032227 81.866211 L 83.590332 81.866211 Z " fill-opacity="1.000000" />
&lt;path d="M 21.252441 53.980957 L 27.370117 53.980957 L 27.370117 54.894043 L 24.861816 54.894043 L 24.861816 62.000000 L 23.771484 62.000000 L 23.771484 54.894043 L 21.252441 54.894043 Z " fill-opacity="1.000000" />
&lt;path d="M 28.252441 53.980957 L 34.370117 53.980957 L 34.370117 54.894043 L 31.861816 54.894043 L 31.861816 62.000000 L 30.771484 62.000000 L 30.771484 54.894043 L 28.252441 54.894043 Z " fill-opacity="1.000000" />
&lt;path d="M 37.143066 54.872559 L 37.143066 57.885742 L 38.399902 57.885742 Q 39.151855 57.885742 39.573486 57.488281 Q 39.995117 57.090820 39.995117 56.376465 Q 39.995117 55.662109 39.576172 55.267334 Q 39.157227 54.872559 38.399902 54.872559 Z M 36.058105 53.980957 L 38.399902 53.980957 Q 39.742676 53.980957 40.435547 54.590576 Q 41.128418 55.200195 41.128418 56.376465 Q 41.128418 57.563477 40.438232 58.170410 Q 39.748047 58.777344 38.399902 58.777344 L 37.143066 58.777344 L 37.143066 62.000000 L 36.058105 62.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 52.297852 54.276367 L 52.297852 55.984375 L 54.542969 55.984375 L 54.542969 56.752441 L 52.297852 56.752441 L 52.297852 60.018066 Q 52.297852 60.684082 52.550293 60.947266 Q 52.802734 61.210449 53.431152 61.210449 L 54.542969 61.210449 L 54.542969 62.000000 L 53.334473 62.000000 Q 52.222656 62.000000 51.766113 61.554199 Q 51.309570 61.108398 51.309570 60.018066 L 51.309570 56.752441 L 49.703613 56.752441 L 49.703613 55.984375 L 51.309570 55.984375 L 51.309570 54.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 59.308594 56.677246 Q 58.556641 56.677246 58.169922 57.262695 Q 57.783203 57.848145 57.783203 58.997559 Q 57.783203 60.141602 58.169922 60.729736 Q 58.556641 61.317871 59.308594 61.317871 Q 60.065918 61.317871 60.452637 60.729736 Q 60.839355 60.141602 60.839355 58.997559 Q 60.839355 57.848145 60.452637 57.262695 Q 60.065918 56.677246 59.308594 56.677246 Z M 59.308594 55.839355 Q 60.560059 55.839355 61.223389 56.650391 Q 61.886719 57.461426 61.886719 58.997559 Q 61.886719 60.539062 61.226074 61.347412 Q 60.565430 62.155762 59.308594 62.155762 Q 58.057129 62.155762 57.396484 61.347412 Q 56.735840 60.539062 56.735840 58.997559 Q 56.735840 57.461426 57.396484 56.650391 Q 58.057129 55.839355 59.308594 55.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 76.332520 57.321777 L 73.947754 58.610840 L 76.332520 59.905273 L 75.956543 60.560547 L 73.711426 59.212402 L 73.711426 61.715332 L 72.943359 61.715332 L 72.943359 59.212402 L 70.698242 60.560547 L 70.322266 59.905273 L 72.712402 58.610840 L 70.322266 57.321777 L 70.698242 56.661133 L 72.943359 58.009277 L 72.943359 55.506348 L 73.711426 55.506348 L 73.711426 58.009277 L 75.956543 56.661133 Z " fill-opacity="1.000000" />
&lt;path d="M 79.089355 59.830078 L 80.979980 59.830078 L 80.979980 62.000000 L 79.089355 62.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 87.630859 56.596680 Q 87.813477 56.209961 88.095459 56.024658 Q 88.377441 55.839355 88.774902 55.839355 Q 89.500000 55.839355 89.798096 56.400635 Q 90.096191 56.961914 90.096191 58.514160 L 90.096191 62.000000 L 89.193848 62.000000 L 89.193848 58.557129 Q 89.193848 57.284180 89.051514 56.975342 Q 88.909180 56.666504 88.533203 56.666504 Q 88.103516 56.666504 87.945068 56.996826 Q 87.786621 57.327148 87.786621 58.557129 L 87.786621 62.000000 L 86.884277 62.000000 L 86.884277 58.557129 Q 86.884277 57.268066 86.731201 56.967285 Q 86.578125 56.666504 86.180664 56.666504 Q 85.788574 56.666504 85.635498 56.996826 Q 85.482422 57.327148 85.482422 58.557129 L 85.482422 62.000000 L 84.585449 62.000000 L 84.585449 55.984375 L 85.482422 55.984375 L 85.482422 56.500000 Q 85.659668 56.177734 85.925537 56.008545 Q 86.191406 55.839355 86.529785 55.839355 Q 86.937988 55.839355 87.209229 56.027344 Q 87.480469 56.215332 87.630859 56.596680 Z " fill-opacity="1.000000" />
&lt;path d="M 95.608398 60.066406 Q 95.361328 60.694824 94.979980 61.720703 Q 94.448242 63.138672 94.265625 63.450195 Q 94.018555 63.869141 93.647949 64.078613 Q 93.277344 64.288086 92.783203 64.288086 L 91.988281 64.288086 L 91.988281 63.460938 L 92.573730 63.460938 Q 93.008789 63.460938 93.255859 63.208496 Q 93.502930 62.956055 93.884277 61.903320 L 91.558594 55.984375 L 92.605957 55.984375 L 94.389160 60.689453 L 96.145508 55.984375 L 97.192871 55.984375 Z " fill-opacity="1.000000" />
&lt;path d="M 100.089355 59.830078 L 101.979980 59.830078 L 101.979980 62.000000 L 100.089355 62.000000 Z " fill-opacity="1.000000" />
&lt;path d="M 109.608398 56.752441 L 109.608398 53.642578 L 110.596680 53.642578 L 110.596680 62.000000 L 109.608398 62.000000 L 109.608398 61.242676 Q 109.361328 61.688477 108.950439 61.922119 Q 108.539551 62.155762 108.002441 62.155762 Q 106.912109 62.155762 106.286377 61.309814 Q 105.660645 60.463867 105.660645 58.976074 Q 105.660645 57.509766 106.289062 56.674561 Q 106.917480 55.839355 108.002441 55.839355 Q 108.544922 55.839355 108.958496 56.072998 Q 109.372070 56.306641 109.608398 56.752441 Z M 106.702637 58.997559 Q 106.702637 60.146973 107.067871 60.732422 Q 107.433105 61.317871 108.147461 61.317871 Q 108.861816 61.317871 109.235107 60.727051 Q 109.608398 60.136230 109.608398 58.997559 Q 109.608398 57.853516 109.235107 57.265381 Q 108.861816 56.677246 108.147461 56.677246 Q 107.433105 56.677246 107.067871 57.262695 Q 106.702637 57.848145 106.702637 58.997559 Z " fill-opacity="1.000000" />
&lt;path d="M 115.308594 56.677246 Q 114.556641 56.677246 114.169922 57.262695 Q 113.783203 57.848145 113.783203 58.997559 Q 113.783203 60.141602 114.169922 60.729736 Q 114.556641 61.317871 115.308594 61.317871 Q 116.065918 61.317871 116.452637 60.729736 Q 116.839355 60.141602 116.839355 58.997559 Q 116.839355 57.848145 116.452637 57.262695 Q 116.065918 56.677246 115.308594 56.677246 Z M 115.308594 55.839355 Q 116.560059 55.839355 117.223389 56.650391 Q 117.886719 57.461426 117.886719 58.997559 Q 117.886719 60.539062 117.226074 61.347412 Q 116.565430 62.155762 115.308594 62.155762 Q 114.057129 62.155762 113.396484 61.347412 Q 112.735840 60.539062 112.735840 58.997559 Q 112.735840 57.461426 113.396484 56.650391 Q 114.057129 55.839355 115.308594 55.839355 Z " fill-opacity="1.000000" />
&lt;path d="M 122.630859 56.596680 Q 122.813477 56.209961 123.095459 56.024658 Q 123.377441 55.839355 123.774902 55.839355 Q 124.500000 55.839355 124.798096 56.400635 Q 125.096191 56.961914 125.096191 58.514160 L 125.096191 62.000000 L 124.193848 62.000000 L 124.193848 58.557129 Q 124.193848 57.284180 124.051514 56.975342 Q 123.909180 56.666504 123.533203 56.666504 Q 123.103516 56.666504 122.945068 56.996826 Q 122.786621 57.327148 122.786621 58.557129 L 122.786621 62.000000 L 121.884277 62.000000 L 121.884277 58.557129 Q 121.884277 57.268066 121.731201 56.967285 Q 121.578125 56.666504 121.180664 56.666504 Q 120.788574 56.666504 120.635498 56.996826 Q 120.482422 57.327148 120.482422 58.557129 L 120.482422 62.000000 L 119.585449 62.000000 L 119.585449 55.984375 L 120.482422 55.984375 L 120.482422 56.500000 Q 120.659668 56.177734 120.925537 56.008545 Q 121.191406 55.839355 121.529785 55.839355 Q 121.937988 55.839355 122.209229 56.027344 Q 122.480469 56.215332 122.630859 56.596680 Z " fill-opacity="1.000000" />
&lt;path d="M 129.770508 58.976074 L 129.442871 58.976074 Q 128.578125 58.976074 128.140381 59.279541 Q 127.702637 59.583008 127.702637 60.184570 Q 127.702637 60.727051 128.030273 61.027832 Q 128.357910 61.328613 128.937988 61.328613 Q 129.754395 61.328613 130.221680 60.761963 Q 130.688965 60.195312 130.694336 59.196289 L 130.694336 58.976074 Z M 131.687988 58.567871 L 131.687988 62.000000 L 130.694336 62.000000 L 130.694336 61.108398 Q 130.377441 61.645508 129.896729 61.900635 Q 129.416016 62.155762 128.728516 62.155762 Q 127.810059 62.155762 127.262207 61.637451 Q 126.714355 61.119141 126.714355 60.249023 Q 126.714355 59.244629 127.388428 58.723633 Q 128.062500 58.202637 129.367676 58.202637 L 130.694336 58.202637 L 130.694336 58.046875 Q 130.688965 57.327148 130.329102 57.002197 Q 129.969238 56.677246 129.179688 56.677246 Q 128.674805 56.677246 128.159180 56.822266 Q 127.643555 56.967285 127.154785 57.246582 L 127.154785 56.258301 Q 127.702637 56.048828 128.204834 55.944092 Q 128.707031 55.839355 129.179688 55.839355 Q 129.926270 55.839355 130.455322 56.059570 Q 130.984375 56.279785 131.312012 56.720215 Q 131.516113 56.988770 131.602051 57.383545 Q 131.687988 57.778320 131.687988 58.567871 Z " fill-opacity="1.000000" />
&lt;path d="M 134.697266 56.005859 L 137.227051 56.005859 L 137.227051 61.231934 L 139.187500 61.231934 L 139.187500 62.000000 L 134.278320 62.000000 L 134.278320 61.231934 L 136.238770 61.231934 L 136.238770 56.773926 L 134.697266 56.773926 Z M 136.238770 53.669434 L 137.227051 53.669434 L 137.227051 54.915527 L 136.238770 54.915527 Z " fill-opacity="1.000000" />
&lt;path d="M 145.645020 58.272461 L 145.645020 62.000000 L 144.651367 62.000000 L 144.651367 58.272461 Q 144.651367 57.461426 144.366699 57.080078 Q 144.082031 56.698730 143.475098 56.698730 Q 142.782227 56.698730 142.408936 57.190186 Q 142.035645 57.681641 142.035645 58.600098 L 142.035645 62.000000 L 141.047363 62.000000 L 141.047363 55.984375 L 142.035645 55.984375 L 142.035645 56.886719 Q 142.298828 56.371094 142.750000 56.105225 Q 143.201172 55.839355 143.818848 55.839355 Q 144.737305 55.839355 145.191162 56.443604 Q 145.645020 57.047852 145.645020 58.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 13.319336 L 44.878906 6.412109 L 48.729980 6.412109 L 48.729980 7.335938 L 45.738281 7.335938 L 45.738281 13.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 26.319336 L 44.878906 12.300781 L 45.738281 12.300781 L 45.738281 26.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 44.878906 33.335938 L 44.878906 25.300781 L 45.738281 25.300781 L 45.738281 32.412109 L 48.729980 32.412109 L 48.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 79.878906 52.319336 L 79.878906 38.300781 L 80.738281 38.300781 L 80.738281 52.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 33.335938 L 48.892578 32.412109 L 55.729980 32.412109 L 55.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 33.335938 L 55.892578 32.412109 L 62.729980 32.412109 L 62.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 33.335938 L 62.892578 32.412109 L 69.729980 32.412109 L 69.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 33.335938 L 69.892578 32.412109 L 76.729980 32.412109 L 76.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 33.335938 L 76.892578 32.412109 L 83.729980 32.412109 L 83.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 33.335938 L 83.892578 32.412109 L 90.729980 32.412109 L 90.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 33.335938 L 90.892578 32.412109 L 97.729980 32.412109 L 97.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 33.335938 L 97.892578 32.412109 L 104.729980 32.412109 L 104.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 33.335938 L 104.892578 32.412109 L 111.729980 32.412109 L 111.729980 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 111.892578 33.335938 L 111.892578 32.412109 L 114.878906 32.412109 L 114.878906 25.300781 L 115.738281 25.300781 L 115.738281 33.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 50.079590 14.980957 L 54.532227 14.980957 L 54.532227 15.894043 L 52.851074 15.894043 L 52.851074 22.086914 L 54.532227 22.086914 L 54.532227 23.000000 L 50.079590 23.000000 L 50.079590 22.086914 L 51.760742 22.086914 L 51.760742 15.894043 L 50.079590 15.894043 Z " fill-opacity="1.000000" />
&lt;path d="M 61.645020 19.272461 L 61.645020 23.000000 L 60.651367 23.000000 L 60.651367 19.272461 Q 60.651367 18.461426 60.366699 18.080078 Q 60.082031 17.698730 59.475098 17.698730 Q 58.782227 17.698730 58.408936 18.190186 Q 58.035645 18.681641 58.035645 19.600098 L 58.035645 23.000000 L 57.047363 23.000000 L 57.047363 16.984375 L 58.035645 16.984375 L 58.035645 17.886719 Q 58.298828 17.371094 58.750000 17.105225 Q 59.201172 16.839355 59.818848 16.839355 Q 60.737305 16.839355 61.191162 17.443604 Q 61.645020 18.047852 61.645020 19.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 66.297852 15.276367 L 66.297852 16.984375 L 68.542969 16.984375 L 68.542969 17.752441 L 66.297852 17.752441 L 66.297852 21.018066 Q 66.297852 21.684082 66.550293 21.947266 Q 66.802734 22.210449 67.431152 22.210449 L 68.542969 22.210449 L 68.542969 23.000000 L 67.334473 23.000000 Q 66.222656 23.000000 65.766113 22.554199 Q 65.309570 22.108398 65.309570 21.018066 L 65.309570 17.752441 L 63.703613 17.752441 L 63.703613 16.984375 L 65.309570 16.984375 L 65.309570 15.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 76.015625 19.498047 L 76.015625 19.981445 L 71.734863 19.981445 L 71.734863 20.013672 Q 71.691895 21.243652 72.204834 21.780762 Q 72.717773 22.317871 73.652344 22.317871 Q 74.125000 22.317871 74.640625 22.167480 Q 75.156250 22.017090 75.741699 21.710938 L 75.741699 22.693848 Q 75.177734 22.924805 74.654053 23.040283 Q 74.130371 23.155762 73.641602 23.155762 Q 72.239746 23.155762 71.450195 22.315186 Q 70.660645 21.474609 70.660645 19.997559 Q 70.660645 18.558105 71.434082 17.698730 Q 72.207520 16.839355 73.496582 16.839355 Q 74.645996 16.839355 75.309326 17.618164 Q 75.972656 18.396973 76.015625 19.498047 Z M 75.027344 19.208008 Q 74.962891 18.584961 74.573486 18.131104 Q 74.184082 17.677246 73.453613 17.677246 Q 72.739258 17.677246 72.277344 18.149902 Q 71.815430 18.622559 71.772461 19.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 83.203613 18.225098 Q 82.886719 17.978027 82.559082 17.865234 Q 82.231445 17.752441 81.839355 17.752441 Q 80.915527 17.752441 80.426758 18.332520 Q 79.937988 18.912598 79.937988 20.008301 L 79.937988 23.000000 L 78.944336 23.000000 L 78.944336 16.984375 L 79.937988 16.984375 L 79.937988 18.160645 Q 80.185059 17.521484 80.697998 17.180420 Q 81.210938 16.839355 81.914551 16.839355 Q 82.279785 16.839355 82.596680 16.930664 Q 82.913574 17.021973 83.203613 17.215332 Z " fill-opacity="1.000000" />
&lt;path d="M 89.645020 19.272461 L 89.645020 23.000000 L 88.651367 23.000000 L 88.651367 19.272461 Q 88.651367 18.461426 88.366699 18.080078 Q 88.082031 17.698730 87.475098 17.698730 Q 86.782227 17.698730 86.408936 18.190186 Q 86.035645 18.681641 86.035645 19.600098 L 86.035645 23.000000 L 85.047363 23.000000 L 85.047363 16.984375 L 86.035645 16.984375 L 86.035645 17.886719 Q 86.298828 17.371094 86.750000 17.105225 Q 87.201172 16.839355 87.818848 16.839355 Q 88.737305 16.839355 89.191162 17.443604 Q 89.645020 18.047852 89.645020 19.272461 Z " fill-opacity="1.000000" />
&lt;path d="M 97.015625 19.498047 L 97.015625 19.981445 L 92.734863 19.981445 L 92.734863 20.013672 Q 92.691895 21.243652 93.204834 21.780762 Q 93.717773 22.317871 94.652344 22.317871 Q 95.125000 22.317871 95.640625 22.167480 Q 96.156250 22.017090 96.741699 21.710938 L 96.741699 22.693848 Q 96.177734 22.924805 95.654053 23.040283 Q 95.130371 23.155762 94.641602 23.155762 Q 93.239746 23.155762 92.450195 22.315186 Q 91.660645 21.474609 91.660645 19.997559 Q 91.660645 18.558105 92.434082 17.698730 Q 93.207520 16.839355 94.496582 16.839355 Q 95.645996 16.839355 96.309326 17.618164 Q 96.972656 18.396973 97.015625 19.498047 Z M 96.027344 19.208008 Q 95.962891 18.584961 95.573486 18.131104 Q 95.184082 17.677246 94.453613 17.677246 Q 93.739258 17.677246 93.277344 18.149902 Q 92.815430 18.622559 92.772461 19.213379 Z " fill-opacity="1.000000" />
&lt;path d="M 101.297852 15.276367 L 101.297852 16.984375 L 103.542969 16.984375 L 103.542969 17.752441 L 101.297852 17.752441 L 101.297852 21.018066 Q 101.297852 21.684082 101.550293 21.947266 Q 101.802734 22.210449 102.431152 22.210449 L 103.542969 22.210449 L 103.542969 23.000000 L 102.334473 23.000000 Q 101.222656 23.000000 100.766113 22.554199 Q 100.309570 22.108398 100.309570 21.018066 L 100.309570 17.752441 L 98.703613 17.752441 L 98.703613 16.984375 L 100.309570 16.984375 L 100.309570 15.276367 Z " fill-opacity="1.000000" />
&lt;path d="M 114.878906 26.319336 L 114.878906 12.300781 L 115.738281 12.300781 L 115.738281 26.319336 Z " fill-opacity="1.000000" />
&lt;path d="M 48.892578 7.335938 L 48.892578 6.412109 L 55.729980 6.412109 L 55.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 55.892578 7.335938 L 55.892578 6.412109 L 62.729980 6.412109 L 62.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 62.892578 7.335938 L 62.892578 6.412109 L 69.729980 6.412109 L 69.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 69.892578 7.335938 L 69.892578 6.412109 L 76.729980 6.412109 L 76.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 76.892578 7.335938 L 76.892578 6.412109 L 83.729980 6.412109 L 83.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 83.892578 7.335938 L 83.892578 6.412109 L 90.729980 6.412109 L 90.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 90.892578 7.335938 L 90.892578 6.41209 L 97.729980 6.412109 L 97.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 97.892578 7.335938 L 97.892578 6.412109 L 104.729980 6.412109 L 104.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 104.892578 7.335938 L 104.892578 6.412109 L 111.729980 6.412109 L 111.729980 7.335938 Z " fill-opacity="1.000000" />
&lt;path d="M 114.878906 13.319336 L 114.878906 7.335938 L 111.892578 7.335938 L 111.892578 6.412109 L 115.738281 6.412109 L 115.738281 13.319336 Z " fill-opacity="1.000000" />
&lt;/svg>
&lt;p>I no longer expose my IP, and have removed most open ports into my network. All in all, a neat solution!&lt;/p>
&lt;p>Do you proxy your homelab via a tunnel? Why/why not? Let me know via email: &lt;code>blog &amp;lt;at&amp;gt; hu &amp;lt;dot&amp;gt; md&lt;/code>, or via &lt;a href="https://twitter.com/hugojmd">Twitter&lt;/a>.&lt;/p>
&lt;p>Looking for something related to read? Check out &lt;a href="https://nicholas.cloud">Nicholas Whittaker&lt;/a>&amp;rsquo;s post: &lt;a href="https://nicholas.cloud/blips/live-previewing-hugo-sites-with-cloudflare-tunnel/">Live previewing Hugo sites with Cloudflare Tunnel&lt;/a>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Homelab%20Proxying%20With%20Cloudflare%20Tunnel">Reply via email</a></description></item><item><title>Moving to Cloudflare Pages</title><link>https://hugo.md/post/moving-to-cloudflare-pages/</link><pubDate>Sun, 13 Jun 2021 16:59:13 +1000</pubDate><guid>https://hugo.md/post/moving-to-cloudflare-pages/</guid><description>
&lt;p>&lt;span class="meta">This is post number 8 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>Today I caught up for coffee with a good friend, &lt;a href="https://renlord.com/">Renlord&lt;/a>. He&amp;rsquo;s convinced me to move this blog to &lt;a href="https://pages.cloudflare.com/">Cloudflare Pages&lt;/a>.&lt;/p>
&lt;p>Earlier in the year, I wrote about &lt;a href="./post/the-fast-web/">migrating to Vercel&lt;/a> to improve performance by caching my blog at the &amp;ldquo;edge&amp;rdquo;.&lt;/p>
&lt;p>Vercel is great, and feels pretty seamless to use. I can push commits and see them deployed in about close to a minute, and load times are &lt;em>fast&lt;/em> no matter where you are.&lt;/p>
&lt;p>From an integration perspective, Cloudflare Pages and Vercel are quite similar. You authenticate with GitHub, choose the repositories you want to share, and Cloudflare Pages will pick up on your static site generator (in my case, &lt;a href="https://gohugo.io">hugo&lt;/a>), and offer a build command.&lt;/p>
&lt;p>Where I think Cloudflare Pages shines is in further optimisation of content being served. When adding a custom domain to Cloudflare, you can enable auto minification of files JavaScript, CSS, and HTML, turn on Brotli compression &lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>.&lt;/p>
&lt;p>Lighthouse performance on &lt;a href="https://web.dev/measure/">web.dev&lt;/a> seems to be equivalent between both services, but there&amp;rsquo;s a noticeable difference when loading from the local PoP&lt;sup id="fnref:2">&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref">2&lt;/a>&lt;/sup>.&lt;/p>
&lt;p>Here is performance from my browser via Vercel:
&lt;img src="./vercel.png" alt="Lighthouse performance for Vercel">
&lt;/p>
&lt;p>Here is the same test against, but against Cloudflare Pages:
&lt;img src="./cloudflare-pages.png" alt="Lighthouse performance for Cloudflare Pages">
&lt;/p>
&lt;p>We save about 0.2s on a few metrics, which isn&amp;rsquo;t bad!&lt;/p>
&lt;p>Now, I know what you&amp;rsquo;re thinking, this is total overkill for a static site, and there&amp;rsquo;s no &lt;em>noticeable&lt;/em> performance improvement moving from Vercel to Cloudflare Pages for the average website. That&amp;rsquo;s true. I just like improving performance and playing with new technology/services at the same time. This was a great way to spend a few hours this afternoon.&lt;/p>
&lt;p>Expect a follow-up post on using &lt;a href="https://www.cloudflare.com/en-au/products/tunnel/">Cloudflare Tunnel&lt;/a> to proxy traffic to my home Kubernetes cluster.&lt;/p>
&lt;p>&lt;em>This post was &lt;strong>not&lt;/strong> sponsored by Cloudflare.&lt;/em>&lt;/p>
&lt;div class="footnotes" role="doc-endnotes">
&lt;hr>
&lt;ol>
&lt;li id="fn:1">
&lt;p>You can read more about this &lt;a href="https://support.cloudflare.com/hc/en-us/articles/200168196-How-do-I-minify-HTML-CSS-and-JavaScript-to-optimize-my-site-">here&lt;/a>.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;li id="fn:2">
&lt;p>A PoP is a Point of Presence. Cloudflare has a page dedicated to their network &lt;a href="https://www.cloudflare.com/network/">here&lt;/a>.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/div><a href="mailto:blog@hu.md?subject=RE%3a%20Moving%20to%20Cloudflare%20Pages">Reply via email</a></description></item><item><title>Magic Keyboard for iPad</title><link>https://hugo.md/post/magic-keyboard-for-ipad/</link><pubDate>Thu, 20 May 2021 17:45:10 +1000</pubDate><guid>https://hugo.md/post/magic-keyboard-for-ipad/</guid><description>
&lt;p>&lt;span class="meta">This is post number 7 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>I bought a Magic Keyboard for my 11” iPad Pro yesterday. It arrived today.&lt;/p>
&lt;p>The travel on the switches is great, and the keyboard itself feels nice to type on.&lt;/p>
&lt;p>I was worried about the size, but it feels right. Sure, it’s on the smaller side, but the keys don’t feel squished together as a result, despite the sacrifices made to reduce size, like the return and enter keys being half the width they normally are.&lt;/p>
&lt;p>I never thought I’d need, let alone &lt;em>want&lt;/em>, a trackpad on an iPad, but now that it’s there, it feels like it always has been. I almost can’t see myself using it productively without one&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>. I think this is partly because you get a similar set of trackpad gestures that duplicate the screen gestures. For example, you can switch from app to app with four fingers on the trackpad, as you would do via the screen. The keyboard doesn’t detract from the experience, and doesn’t hinder it.&lt;/p>
&lt;p>Do you have thoughts on iPads, and accessories? Let me know.&lt;/p>
&lt;div class="footnotes" role="doc-endnotes">
&lt;hr>
&lt;ol>
&lt;li id="fn:1">
&lt;p>Media consumption on an iPad is fine without a keyboard, but writing a blog post is not.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/div><a href="mailto:blog@hu.md?subject=RE%3a%20Magic%20Keyboard%20for%20iPad">Reply via email</a></description></item><item><title>Rendering static Pleroma posts</title><link>https://hugo.md/post/pleroma-shortcode/</link><pubDate>Sat, 27 Mar 2021 20:31:18 +1100</pubDate><guid>https://hugo.md/post/pleroma-shortcode/</guid><description>
&lt;p>&lt;span class="meta">This is post number 6 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>Following on from &lt;a href="./post/render-tweets-statically">yesterday&amp;rsquo;s post about static tweets&lt;/a>, I&amp;rsquo;ve also added a shortcode for fetching posts directly from Pleroma&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>. You can check out the code &lt;a href="https://github.com/hugomd/blog/commit/bb82a171e2fc1104726e0a25a8e5e746ee5342c2">here&lt;/a>.&lt;/p>
&lt;p>Unlikey for the Twitter shortcode, I don&amp;rsquo;t have to proxy requests, because the Pleroma API does not require authorisation for public posts, making the implementation much less convoluted.&lt;/p>
&lt;p>Check out the example below:
&lt;blockquote class="functional pleroma-quote">
I wrote about statically rendering tweets with Hugo (the static site generator).&lt;br/>&lt;br/>The tweets on my blog no longer use Twitter's oEmbed, but are rendered in at build time. When the page loads with a tweet in it, it's all static!&lt;br/>&lt;br/>&lt;a href="https://hugo.md/post/render-tweets-statically/" rel="ugc">&lt;a href="https://hugo.md/post/render-tweets-statically/">https://hugo.md/post/render-tweets-statically/&lt;/a>&lt;/a>&lt;br/>&lt;br/>&lt;a class="hashtag" data-tag="100daystooffload" href="https://soykaf.org/tag/100daystooffload">#100DaysToOffload&lt;/a>
&lt;br />
&lt;p>&amp;mdash; hugo (@uoya) &lt;a target="_blank" href='https://soykaf.org/@uoya/posts/A5bLRz1f4U8hk8SPfE'>March 26, 2021&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;/p>
&lt;div class="footnotes" role="doc-endnotes">
&lt;hr>
&lt;ol>
&lt;li id="fn:1">
&lt;p>&lt;a href="https://pleroma.social">Pleroma&lt;/a> is an alternative to Mastodon, with a similar feature set, also using &lt;a href="https://activitypub.rocks">ActivityPub&lt;/a>.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/div><a href="mailto:blog@hu.md?subject=RE%3a%20Rendering%20static%20Pleroma%20posts">Reply via email</a></description></item><item><title>Rendering static tweets</title><link>https://hugo.md/post/render-tweets-statically/</link><pubDate>Fri, 26 Mar 2021 23:00:00 +1100</pubDate><guid>https://hugo.md/post/render-tweets-statically/</guid><description>
&lt;p>&lt;span class="meta">This is post number 5 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>&lt;em>Update (12/09/21): I wrote an update to this post &lt;a href="./post/update-rendering-static-tweets/">here&lt;/a>, which describes a much less hacky way of doing this&lt;/em>.&lt;/p>
&lt;p>I recently wrote about &lt;a href="./post/custom-hugo-shortcodes">shortcodes&lt;/a>, describing a way to avoid duplicating text all over the place.&lt;/p>
&lt;p>Delving into shortcodes got me thinking about static rendering. In an ideal world, this site would be completely static, it wouldn&amp;rsquo;t call out to third-party sites to fetch data.&lt;/p>
&lt;p>I&amp;rsquo;ve done a reasonable job of removing analytics, external fonts, and embeds. However, there are still cases where I &lt;em>do&lt;/em> want to embed something from a third-party. It would be nice to bake these embeds into static output, so we&amp;rsquo;re only loading from external sources at build time. If someone visits this blog, they&amp;rsquo;ll still see the embedded content, but it won&amp;rsquo;t be fetched from a third-party.&lt;/p>
&lt;p>Scanning through my post archive, I&amp;rsquo;ve mostly been embedding tweets. Static rendering and tweets reminded me of a &lt;a href="https://static-tweet.vercel.app">neat Next.js demo&lt;/a>. This demo renders tweets on first load and subsequently stores them statically at the edge.&lt;/p>
&lt;p>Inspired by this, I&amp;rsquo;ve attempted to replicate that functionality on this very blog.&lt;/p>
&lt;p>The tweet below might look like it&amp;rsquo;s embeded via Twitter, but it&amp;rsquo;s actually not. I&amp;rsquo;ve written a &lt;a href="https://github.com/hugomd/blog/blob/4c9554dda22e612dc511ce69ced3cc0006d541d9/layouts/shortcodes/statictweet.html">&lt;em>very hacky&lt;/em> shortcode&lt;/a> that fetches tweets as JSON via a &lt;a href="https://github.com/hugomd/blog/blob/4c9554dda22e612dc511ce69ced3cc0006d541d9/twitter-proxy/index.js">local web server&lt;/a>. Unfortunately, &lt;a href="https://gohugo.io">Hugo&lt;/a> (the static site generator) doesn&amp;rsquo;t support adding authorisation headers to requests, to facilitate calling the Twitter API directly, although &lt;a href="https://github.com/gohugoio/hugo/issues/5617#issuecomment-801767375">there is discussion&lt;/a> about making it a feature. For now, I have to proxy requests, add the authorisation header, and then forward the request to Twitter.&lt;/p>
&lt;blockquote class="functional twitter-quote">
&lt;p>I&amp;rsquo;ve spent the last few hours deploying Grafana, InfluxDB, and Telegraf, along with a job to run a speed test every 10 minutes.&lt;/p>
&lt;p>The graphs turned out great! 📊&lt;/p>
&lt;p>h/t to &lt;a href='https://twitter.com/cwmyers'>@cwmyers&lt;/a> for the idea of using Grafana/InfluxDB at home ⭐️ &lt;a href="">&lt;/a>&lt;/p>
&lt;img src="https://pbs.twimg.com/media/EjAEVPwUYAYf1RG.jpg" />
&lt;br />
&lt;p>&amp;mdash; hugo@melb.social (@hugojmd) &lt;a href='https://twitter.com/hugojmd/status/1310553323527745537' target="_blank">September 28, 2020&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;p>Here is what the shortcode looks like:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">{{&lt;span class="p">&amp;lt;&lt;/span> &lt;span class="nt">statictweet&lt;/span> &lt;span class="err">&amp;#34;&lt;/span>&lt;span class="na">1310553323527745537&lt;/span>&lt;span class="err">&amp;#34;&lt;/span> &lt;span class="p">&amp;gt;&lt;/span>}}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>This shortcode is still experimental, and doesn&amp;rsquo;t do nice things like rendering links in tweets, so let me know if you see anything funky.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Rendering%20static%20tweets">Reply via email</a></description></item><item><title>Custom shortcodes</title><link>https://hugo.md/post/custom-hugo-shortcodes/</link><pubDate>Mon, 22 Mar 2021 07:45:39 +1100</pubDate><guid>https://hugo.md/post/custom-hugo-shortcodes/</guid><description>
&lt;p>&lt;span class="meta">This is post number 4 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>I&amp;rsquo;ve known about &lt;a href="https://gohugo.io/templates/shortcode-templates/">custom shortcodes in Hugo&lt;/a> for awhile, but I&amp;rsquo;ve never had the need to use them.&lt;/p>
&lt;p>Now that I&amp;rsquo;m taking part in 100DaysToOffload, it makes sense to create one, because it makes it less cumbersome to write posts. I only have to make changes to &lt;a href="https://github.com/hugomd/blog/blob/fa29125bafd3206299ff712687c33d435da880ed/layouts/shortcodes/100daystooffload.html">one file&lt;/a> to update copy across all of my related posts.&lt;/p>
&lt;p>The implementation is concise, you create a new HTML file in &lt;code>layouts/shortcodes&lt;/code>, for example:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="c">&amp;lt;!--100daystooffload.html--&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">This is post number {{ $.Page.Params.sequence }} in my [&lt;span class="nt">100 Days To Offload&lt;/span>](&lt;span class="na">https://100daystooffload.com/&lt;/span>) challenge.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">[&lt;span class="nt">View all posts&lt;/span>](&lt;span class="na">/tags/100daystooffload/&lt;/span>) or [&lt;span class="nt">subscribe via RSS&lt;/span>](&lt;span class="na">/tags/100daystooffload/index.xml&lt;/span>).
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">---&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Then you can refer to the shortcode in your posts using the filename excluding the extension:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">{{% 100daystooffload %}}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>The reference to &lt;code>$.Page.Params.sequence&lt;/code> is replaced with the &lt;code>sequence&lt;/code> variable defined in the &lt;a href="https://gohugo.io/content-management/front-matter/">frontmatter&lt;/a> for the post. For each new post I write, I manually set the &lt;code>sequence&lt;/code> accordingly. This post, for instance, is number 4.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Custom%20shortcodes">Reply via email</a></description></item><item><title>Disabling comments</title><link>https://hugo.md/post/disabling-comments/</link><pubDate>Sat, 06 Mar 2021 16:43:03 +1100</pubDate><guid>https://hugo.md/post/disabling-comments/</guid><description>
&lt;p>&lt;span class="meta">This is post number 3 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>I&amp;rsquo;ve disabled comments, again.&lt;/p>
&lt;p>I was using Disqus comments, but removed them due to privacy concerns and to decrease load time, as Disqus was pulling in a lot of third party dependencies (see: &lt;a href="https://supunkavinda.blog/disqus">Disqus, the dark commenting system&lt;/a>).&lt;/p>
&lt;p>Then I switched to &lt;a href="./post/add-webmentions-to-hugo-from-micro-blog/">web mentions&lt;/a>, using Micro.blog as the source for them.&lt;/p>
&lt;p>I didn&amp;rsquo;t end up using Micro.blog much, so it wasn&amp;rsquo;t worth the $5 a month I was paying for it. That&amp;rsquo;s not to say it&amp;rsquo;s not a great platform, it just doesn&amp;rsquo;t work for me personally.&lt;/p>
&lt;p>Since then, I&amp;rsquo;ve seen some great improvements to web mentions, pulling them from sources like Mastodon or Twitter. &lt;a href="https://zerokspot.com">Horst Gutmann&lt;/a> has a great post on supporting &lt;a href="https://zerokspot.com/weblog/2021/01/07/comments-via-mastodon/">comments via Mastodon&lt;/a>, and maintains &lt;a href="https://github.com/zerok/webmentiond">&lt;code>webmentiond&lt;/code>&lt;/a>. If I were to set up web mentions again, I&amp;rsquo;d likely self-host &lt;code>webmentiond&lt;/code> myself.&lt;/p>
&lt;p>If you do happen to want to comment on one of my posts, feel free to &lt;a href="https://github.com/hugomd/blog/issues/new">open an issue&lt;/a>, or to &lt;a href="./about">contact me&lt;/a> directly.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Disabling%20comments">Reply via email</a></description></item><item><title>Editing in GitHub Codespaces</title><link>https://hugo.md/post/editing-in-github-codespaces/</link><pubDate>Sat, 06 Feb 2021 07:45:39 +1100</pubDate><guid>https://hugo.md/post/editing-in-github-codespaces/</guid><description>
&lt;p>&lt;span class="meta">This is post number 2 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>I wrote this post in &lt;a href="https://github.com/features/codespaces">GitHub Codespaces&lt;/a>, which looks like Visual Studio Code but in the browser (it even supports Vim mode!).&lt;/p>
&lt;p>You can set up a new Codespace by logging into GitHub and navigating &lt;a href="https://github.com/codespaces">here&lt;/a>, then creating a new codespace for your repository.&lt;/p>
&lt;p>In my case, I chose my blog repository: &lt;a href="https://github.com/hugomd/blog">&lt;code>hugomd/blog&lt;/code>&lt;/a>. GitHub spun up a new codespace for me, with &lt;code>hugo&lt;/code> version 0.76.3, which is pretty new. It also includes &lt;code>docker&lt;/code> and other helpful tools by default.&lt;/p>
&lt;p>Once you start running &lt;code>hugo serve&lt;/code>, you will be prompted to forward port &lt;code>1313&lt;/code> (the default &lt;code>hugo&lt;/code> port). Unfortunately, this means that when you load up your blog, it will load without any resources, because all requests will be routed to &lt;code>localhost:1313&lt;/code> by default, rather than to the codespace.&lt;/p>
&lt;p>Thankfully, there&amp;rsquo;s an easy fix to this:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">hugo serve --baseUrl&lt;span class="o">=&lt;/span>/ --appendPort&lt;span class="o">=&lt;/span>&lt;span class="nb">false&lt;/span> &lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>The above command overrides the &lt;code>baseUrl&lt;/code> from &lt;code>config.toml&lt;/code>, which is &lt;code>https://hugo.md/&lt;/code> in &lt;a href="https://github.com/hugomd/blog/blob/develop/config.toml#L2">my config&lt;/a>. The last part is key, it avoids appending the port, &lt;code>1313&lt;/code> to the &lt;code>baseUrl&lt;/code>.&lt;/p>
&lt;p>Now you can browse to the link (&lt;code>*.apps.codespaces.githubusercontent.com&lt;/code>) that was forwarded, and your &lt;code>hugo&lt;/code> blog should load up with all its resources!&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Editing%20in%20GitHub%20Codespaces">Reply via email</a></description></item><item><title>The Fast Web</title><link>https://hugo.md/post/the-fast-web/</link><pubDate>Tue, 02 Feb 2021 07:45:39 +1100</pubDate><guid>https://hugo.md/post/the-fast-web/</guid><description>
&lt;img src="https://hugo.md/post/the-fast-web/cover.png"/>
&lt;p>&lt;span class="meta">This is post number 1 in my &lt;a href="https://100daystooffload.com/">100 Days To Offload&lt;/a> challenge.
&lt;a href="./tags/100daystooffload/">View all posts&lt;/a> or &lt;a href="./tags/100daystooffload/index.xml">subscribe via RSS&lt;/a>.&lt;/span>&lt;/p>
&lt;p>Over the past few months I&amp;rsquo;ve made a few changes to my blog, prompted by &lt;a href="https://lobste.rs/s/h9xgpv/rate_my_homepage#c_jvxqal">this comment&lt;/a> on Lobste.rs. This part really got me going: &amp;ldquo;Definitely feels more like “underperforming CMS with database” than static site.&amp;rdquo;&lt;/p>
&lt;p>Since then, I have:&lt;/p>
&lt;ul>
&lt;li>Moved from DigitalOcean Kubernetes to Vercel&lt;/li>
&lt;li>Updated the &lt;a href="https://github.com/panr/hugo-theme-hello-friend">theme&lt;/a> to the latest release&lt;/li>
&lt;li>Made some generic performance improvements, based on &lt;a href="https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https%3A%2F%2Fhugo.md%2F">Lighthouse reports&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>Most of this has been to reduce load time, so that the site should load instantly.&lt;/p>
&lt;p>As much as I love messing around with Kubernetes and having a complicated pipeline to deploy changes to my blog, there&amp;rsquo;s quite a few downsides:&lt;/p>
&lt;ul>
&lt;li>The &lt;a href="https://github.com/hugomd/blog/blob/e52fd9fe081189f1481230a3f25371cd0dfd9b46/.github/workflows/main.yml">complicated pipeline&lt;/a>&lt;/li>
&lt;li>Unnecessarily large container images. Despite this being a static site, if I&amp;rsquo;m using Kubernetes, I still need to use a container to serve the files. I&amp;rsquo;m using nginx to do this, which also lets me do some fancy &lt;a href="https://hugo.md/post/json-resume-curl/">URL rerouting&lt;/a>. Ultimately, this means requests are routed via a load balancer, to an nginx ingress deployment, and then to another nginx container that serves static files. That&amp;rsquo;s a lot of effort!&lt;/li>
&lt;li>A more complex process means I focus less on content. You&amp;rsquo;ll notice I only managed three posts last year.&lt;/li>
&lt;li>My Kubernetes nodes are hosted in a single data centre in Singapore, so content isn&amp;rsquo;t available at the edge. Some visitors will inevitably experience poor load times.&lt;/li>
&lt;/ul>
&lt;p>Vercel is quite the opposite by comparison:&lt;/p>
&lt;ul>
&lt;li>Simple pipeline. All I had to do was log into Vercel with GitHub and click a few buttons to set up a new deployment. It worked out I&amp;rsquo;m using &lt;a href="https://gohugo.io">hugo&lt;/a> on its own, and there was zero configuration. I now get a free deployment for every commit, and even pull request previews.&lt;/li>
&lt;li>Build times are astonishingly fast. Where I used to have to wait up to 4 minutes for a build, I now wait roughly 30 seconds.&lt;/li>
&lt;li>Edge caching. Vercel deployments get pushed out along their &lt;a href="https://vercel.com/docs/edge-network/overview">edge network&lt;/a>. Regardless of where a visitor is, this blog should load quickly.&lt;/li>
&lt;/ul>
&lt;p>So, what do you think of the load times? Is there anything else I should change? Let me know via &lt;a href="https://twitter.com/hugojmd">Twitter&lt;/a>, &lt;a href="https://melb.social/@hugo">Mastodon&lt;/a>, or email&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20The%20Fast%20Web">Reply via email</a></description></item><item><title>Adding Webmentions to my blog</title><link>https://hugo.md/post/add-webmentions-to-hugo-from-micro-blog/</link><pubDate>Wed, 08 Jul 2020 18:28:14 +1000</pubDate><guid>https://hugo.md/post/add-webmentions-to-hugo-from-micro-blog/</guid><description>
&lt;p>&lt;a href="https://indieweb.org/Webmention">Webmentions&lt;/a> is a relatively standard for federating comments and mentions across websites. When you mention someone or like a post, you own your data, but it can show up on their site — neat!&lt;/p>
&lt;p>I use &lt;a href="https://micro.blog">micro.blog&lt;/a> to post short messages to the internet and push them to &lt;a href="https://twitter.com/hugojmd">my Twitter&lt;/a>, &lt;a href="https://melb.social/@hugo">Mastodon&lt;/a>, and otherwise interact with internet friends.&lt;/p>
&lt;p>Micro.blog &lt;a href="https://help.micro.blog/2017/webmention/">supports webmentions out of the box&lt;/a>, which means if you respond to someone&amp;rsquo;s post there, they can show it on their blog, and it will show up in the micro.blog feed.&lt;/p>
&lt;p>I&amp;rsquo;m in an odd situation because I don&amp;rsquo;t host my blog with micro.blog directly, I use a static site generator called &lt;a href="https://gohugo.io/">Hugo&lt;/a>, and because it&amp;rsquo;s static I don&amp;rsquo;t have an easy means of receiving webmentions myself.&lt;/p>
&lt;p>This is where micro.blog comes in. Any post from this blog gets posted to micro.blog automatically, as it syncs via RSS, and any post on there can be responded to via webmentions. All I have to do, is redirect webmentions to this website over to micro.blog.&lt;/p>
&lt;p>Implementing this involves adding some links to your &lt;code>&amp;lt;head&amp;gt;&lt;/code> tags, and then fetching comments from micro.blog.&lt;/p>
&lt;p>Add webmention callbacks to your blog&amp;rsquo;s &lt;code>&amp;lt;head&amp;gt;&lt;/code>, replacing &lt;code>USERNAME&lt;/code> with your microblog username:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-html" data-lang="html">&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">link&lt;/span> &lt;span class="na">href&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;https://micro.blog/USERNAME&amp;#34;&lt;/span> &lt;span class="na">rel&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;me&amp;#34;&lt;/span> &lt;span class="p">/&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">link&lt;/span> &lt;span class="na">rel&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;webmention&amp;#34;&lt;/span> &lt;span class="na">href&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;https://micro.blog/webmention&amp;#34;&lt;/span> &lt;span class="p">/&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">link&lt;/span> &lt;span class="na">rel&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;authorization_endpoint&amp;#34;&lt;/span> &lt;span class="na">href&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;https://micro.blog/indieauth/auth&amp;#34;&lt;/span> &lt;span class="p">/&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">link&lt;/span> &lt;span class="na">rel&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;token_endpoint&amp;#34;&lt;/span> &lt;span class="na">href&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;https://micro.blog/indieauth/token&amp;#34;&lt;/span> &lt;span class="p">/&amp;gt;&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>After that, you can add a section for fetching comments as I&amp;rsquo;ve done &lt;a href="https://github.com/hugomd/blog/blob/97143d2bf7d2f7142632e9b970cb94c50bb948e1/layouts/partials/comments.html#L54-L78">here&lt;/a>.&lt;/p>
&lt;p>Related posts:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://shindakun.dev/posts/adding-webmentions-to-microblog/">Adding webmentions to microblog by Steve Layton&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://sebastiandedeyne.com/webmentions-on-a-static-site-with-github-actions/">Webmentions on a static site with GitHub Actions by Sebastian De Deyne&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>If you have any trouble setting this up, or just want to chat, feel free to reach out to me on &lt;a href="https://twitter.com/hugojmd">Twitter&lt;/a> or &lt;a href="https://melb.social/@hugo">Mastodon&lt;/a>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Adding%20Webmentions%20to%20my%20blog">Reply via email</a></description></item><item><title>Blog Theme Changes</title><link>https://hugo.md/post/blog-theme-changes/</link><pubDate>Sat, 21 Mar 2020 15:00:55 +1100</pubDate><guid>https://hugo.md/post/blog-theme-changes/</guid><description>
&lt;p>I&amp;rsquo;ve made a few tweaks to my blog theme, so it now adapts to changes to the
macOS system theme. I believe this works across operating systems, although
your browser may not support it yet!&lt;/p>
&lt;p>Here it is in action:&lt;/p>
&lt;video controls width='100%' autoplay>
&lt;source src='./output.mp4' type='video/mp4'>
Your browser doesn't support the HTML5 video tag :(
&lt;/video><a href="mailto:blog@hu.md?subject=RE%3a%20Blog%20Theme%20Changes">Reply via email</a></description></item><item><title>Adding Kotlin syntax highlighting to Sublime Merge</title><link>https://hugo.md/post/adding-kotlin-syntax-highlighting-to-sublime-merge/</link><pubDate>Mon, 13 Jan 2020 19:02:50 +1100</pubDate><guid>https://hugo.md/post/adding-kotlin-syntax-highlighting-to-sublime-merge/</guid><description>
&lt;ol>
&lt;li>
&lt;p>Download &lt;code>Kotlin.tmLanguage&lt;/code> from &lt;a href="https://github.com/vkostyukov/kotlin-sublime-package/blob/ce599a846ac9f86d4671a024d21220ca08e50f66/Kotlin.tmLanguage">here&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Open Sublime Merge, click Preferences -&amp;gt; Browse Packages&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Create a folder called &lt;code>Kotlin&lt;/code> and place &lt;code>Kotlin.tmLanguage&lt;/code> within the folder&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Restart Sublime Merge and enjoy! 🎉&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>Alternatively, if you want to use terminal and you happen to be running &lt;strong>macOS&lt;/strong>, you can run:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&lt;span class="nb">cd&lt;/span> /Users/&lt;span class="nv">$USER&lt;/span>/Library/Application&lt;span class="se">\ &lt;/span>Support/Sublime&lt;span class="se">\ &lt;/span>Merge/Packages/ &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> &lt;span class="o">&amp;amp;&amp;amp;&lt;/span> mkdir Kotlin &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> &lt;span class="o">&amp;amp;&amp;amp;&lt;/span> &lt;span class="nb">cd&lt;/span> Kotlin &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> &lt;span class="o">&amp;amp;&amp;amp;&lt;/span> wget https://github.com/vkostyukov/kotlin-sublime-package/raw/ce599a846ac9f86d4671a024d21220ca08e50f66/Kotlin.tmLanguage&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Adding%20Kotlin%20syntax%20highlighting%20to%20Sublime%20Merge">Reply via email</a></description></item><item><title>Vim, FZF &amp; quicklists</title><link>https://hugo.md/post/vim-fzf-quicklists/</link><pubDate>Sun, 08 Sep 2019 15:48:36 +1000</pubDate><guid>https://hugo.md/post/vim-fzf-quicklists/</guid><description>
&lt;p>Despite using &lt;a href="https://github.com/junegunn/fzf">FZF&lt;/a> with &lt;a href="https://github.com/neovim/neovim">Neovim&lt;/a> for a few years, I&amp;rsquo;ve only recently found out about &lt;code>:Ag&lt;/code> which lets you perform searches across your folders and files.&lt;/p>
&lt;p>Until now, I never realised that you can use &lt;code>Tab&lt;/code> and &lt;code>Shift + Tab&lt;/code> to select multiple files, then press &lt;code>Ctrl + T&lt;/code> to open them in a new tab, with a quicklist. From there you can navigate between items in the quicklist using &lt;code>:cn&lt;/code> and &lt;code>:cp&lt;/code>.&lt;/p>
&lt;p>Here&amp;rsquo;s a video demonstration:&lt;/p>
&lt;video controls width='100%'>
&lt;source src='https://d.pr/Qh1HfA.webm' type='video/webm'>
Your browser doesn't support the HTML5 video tag :(
&lt;/video>
&lt;p>Neat, right?&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Vim%2c%20FZF%20%26%20quicklists">Reply via email</a></description></item><item><title>Kubernetes &amp; Traefik with local Wildcard certificates</title><link>https://hugo.md/post/kubernetes-and-traefik/</link><pubDate>Tue, 04 Dec 2018 00:00:00 +1100</pubDate><guid>https://hugo.md/post/kubernetes-and-traefik/</guid><description>
&lt;img src="https://hugo.md/post/kubernetes-and-traefik/cover.png"/>
&lt;p>&lt;em>This was originally posted on &lt;a href="https://medium.com/localz-engineering/kubernetes-traefik-locally-with-a-wildcard-certificate-e15219e5255d%3CPaste%3E">Medium&lt;/a>.&lt;/em>&lt;/p>
&lt;p>As a passionate software engineer at Localz, I get to tinker with fancy new tools (in my own time) and then annoy my coworkers by evangelising said tools in the workplace. Kubernetes is just one of those tools, and we’re currently exploring it for use internally! 🐙&lt;/p>
&lt;p>Here’s a little tutorial I’ve whipped up for getting Kubernetes up and running on your Mac, and deploying some small services.&lt;/p>
&lt;h3 id="overview">Overview&lt;/h3>
&lt;ol>
&lt;li>Installing Kubernetes&lt;/li>
&lt;li>Installing &lt;code>dnsmasq&lt;/code> to route our DNS locally and handle traffic for the &lt;code>.local&lt;/code> extension&lt;/li>
&lt;li>Provisioning a certificate with &lt;code>mkcert&lt;/code>&lt;/li>
&lt;li>Setting up Traefik to handle our service routing&lt;/li>
&lt;li>Creating a demo deployment &amp;amp; testing out what we’ve just done&lt;/li>
&lt;/ol>
&lt;h3 id="installing-kubernetes">Installing Kubernetes&lt;/h3>
&lt;p>Download &lt;a href="https://docs.docker.com/docker-for-mac/edge-release-notes/">Docker for Mac Edge&lt;/a>, which allows you to enable Kubernetes in just a single click! At the time of writing, Kubernetes hasn’t made it to a &lt;em>stable&lt;/em> release yet.&lt;/p>
&lt;p>Once you’ve installed Docker for Mac Edge, open up preferences, navigate to the &lt;em>Kubernetes&lt;/em> tab, check &lt;em>Enable Kubernetes&lt;/em> and select &lt;em>Kubernetes&lt;/em> as your orchestrator, then hit &lt;em>Apply&lt;/em>!&lt;/p>
&lt;p>It might take a few minutes for Kubernetes to start up, so in the mean time go grab a coffee or a nice glass of red! 🍷&lt;/p>
&lt;p>Once Kubernetes has installed successfully we’ll need to switch to the correct context:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">kubectl config use-context docker-for-desktop&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Running &lt;code>kubectl get nodes&lt;/code> should give you the following:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">NAME STATUS ROLES AGE VERSION
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">docker-for-desktop Ready master 17m v1.10.3&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;h3 id="installing-dnsmasq">Installing &lt;code>dnsmasq&lt;/code>&lt;/h3>
&lt;p>Next we’ll install &lt;code>dnsmasq&lt;/code> so that we can redirect any requests to &lt;code>.local&lt;/code> directly to our local Kubernetes cluster, while leaving other requests intact!&lt;/p>
&lt;p>To install:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">brew install dnsmasq&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Open up &lt;code>/usr/local/etc/dnsmasq.conf&lt;/code> and append this line to it:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&lt;span class="nv">address&lt;/span>&lt;span class="o">=&lt;/span>/k8s.local/127.0.0.1&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>The above will redirect all &lt;code>.local&lt;/code> traffic to &lt;code>127.0.0.1&lt;/code> but you could use any IP and any domain name extension you&amp;rsquo;d like.&lt;/p>
&lt;p>Now start &lt;code>dnsmasq&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">sudo brew services start dnsmasq&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Next we’ll create a new resolver to handle all of those queries:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">sudo mkdir /etc/resolver&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>And create a new file at &lt;code>/etc/resolver/dev&lt;/code> with the following contents:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">nameserver 127.0.0.1&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Set your DNS to &lt;code>127.0.0.1&lt;/code> in System Preferences &amp;gt; Network &amp;gt; Advanced &amp;gt; DNS. Don’t worry, this won’t null route you as we’ve set a fallback to Cloudflare DNS (&lt;code>1.1.1.1&lt;/code>).&lt;/p>
&lt;p>Flush your DNS for good measure:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">sudo killall -HUP mDNSResponder&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now if you &lt;code>dig&lt;/code> a &lt;code>.local&lt;/code> domain locally, you&amp;rsquo;ll find it redirects to &lt;code>127.0.0.1&lt;/code>!&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">dig k8s.local @127.0.0.1
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;&lt;/span> &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.10.6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; k8s.dev @127.0.0.1
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> global options: +cmd
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> Got answer:
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> -&amp;gt;&amp;gt;HEADER&lt;span class="s">&amp;lt;&amp;lt;- opco&lt;/span>de: QUERY, status: NOERROR, id: &lt;span class="m">8631&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> flags: qr aa rd ra ad&lt;span class="p">;&lt;/span> QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: &lt;span class="m">0&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> QUESTION SECTION:
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;&lt;/span>k8s.local. IN A
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> ANSWER SECTION:
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">k8s.local. &lt;span class="m">0&lt;/span> IN A 127.0.0.1
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> Query time: &lt;span class="m">0&lt;/span> msec
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> SERVER: 127.0.0.1#53&lt;span class="o">(&lt;/span>127.0.0.1&lt;span class="o">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> WHEN: Mon Aug &lt;span class="m">27&lt;/span> 20:52:19 AEST &lt;span class="m">2018&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">;;&lt;/span> MSG SIZE rcvd: &lt;span class="m">41&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;h3 id="using-mkcerthttpsgithubcomfilosottilemkcert-to-create-a-local-certificate-authority">Using &lt;a href="https://github.com/FiloSottile/mkcert/">&lt;code>mkcert&lt;/code>&lt;/a> to create a local certificate authority&lt;/h3>
&lt;p>First install &lt;code>mkcert&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">brew install mkcert&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Then we can install the trusted Certificate Authority:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">mkcert --install&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now we can provision a wildcard certificate for our new local domain:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">mkcert &lt;span class="s1">&amp;#39;*.k8s.local&amp;#39;&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>This will create two files: &lt;code>_wildcard.k8s.local-key.pem&lt;/code> and &lt;code>_wildcard.k8s.local.pem&lt;/code>.&lt;/p>
&lt;p>Finally, we can create a Kubernetes secret to store the newly created certificate:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">kubectl -n kube-system create secret tls traefik-tls-cert --key&lt;span class="o">=&lt;/span>_wildcard.k8s.local-key.pem --cert&lt;span class="o">=&lt;/span>_wildcard.k8s.local.pem&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;h3 id="setting-uptraefik">Setting up Traefik&lt;/h3>
&lt;p>&lt;em>Note: normally you’d want to separate things into different namespaces, but for brevity I’ll just be using &lt;code>kube-system&lt;/code>.&lt;/em>&lt;/p>
&lt;p>First, we’ll apply the &lt;code>ConfigMap&lt;/code> resource. Let’s create file called &lt;code>configmap.yml&lt;/code> with the following contents:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/09c8b65f71133663e8c871bee52fe3f9.js">&lt;/script>
&lt;p>This will make &lt;code>traefik.toml&lt;/code> configuration file available to the Traefik container. With &lt;code>[kubernetes]&lt;/code> enabled, it will look for &lt;a href="https://kubernetes.io/docs/concepts/services-networking/ingress/">Kubernetes Ingress&lt;/a> entries and make them available publicly.&lt;/p>
&lt;p>Apply &lt;code>configmap.yml&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">kubectl apply -f configmap.yml&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now we can deploy Traefik, creating &lt;code>deployment.yml&lt;/code> and applying it:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/4836cf96f0b62dd3a9e71c747c40b645.js">&lt;/script>
&lt;p>This will deploy Traefik to Kubernetes, and create a service that exposes it on ports 443, 80, and 8080.&lt;/p>
&lt;p>Apply &lt;code>deployment.yml&lt;/code>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">kubectl apply -f deployment.yml&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now we’ll create a new file called &lt;code>rbac.yml&lt;/code> which will give Traefik access to look for Ingresses:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/30fc9d8bd5f5dd7b5506073d2e155422.js">&lt;/script>
&lt;p>Apply &lt;code>rbac.yml&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">kubectl apply -f rbac.yml&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Running &lt;code>kubectl get pods --all-namespaces&lt;/code>, you should see a line that looks like the following:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">kube-system traefik-ingress-controller-6659bcdd46-7jh4l 1/1 Running&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Notice &lt;code>Running&lt;/code> and &lt;code>1/1&lt;/code> — if it appears as &lt;code>ContainerCreating&lt;/code> or &lt;code>0/1&lt;/code>, you’ll have to give it a few moments to startup.&lt;/p>
&lt;p>Now if we hit &lt;code>k8s.local&lt;/code>, it should say load with &lt;code>404 page not found&lt;/code>.&lt;/p>
&lt;h3 id="creating-a-deployment">Creating a deployment&lt;/h3>
&lt;p>We’ll deploy &lt;code>containous/whoami&lt;/code>, a neat little image which shows container information.&lt;/p>
&lt;p>We’ll create a file called &lt;code>whoami-deployment.yml&lt;/code> which will consist of a deployment, a service, and an ingress:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/c5fb2b6719e20a7d3b77591ee36615e4.js">&lt;/script>
&lt;p>Now we can apply this:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">kubectl apply -f whoami-deployment.yml&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now if you hit &lt;a href="https://whoami.k8s.local">https://whoami.k8s.local&lt;/a> it should pop up with container and host information, rather than that 404 we were seeing earlier!&lt;/p>
&lt;p>You’ve now got your very own local Kubernetes cluster, and a neat way to expose services over HTTPS!&lt;/p>
&lt;p>If you’ve got any questions, feel free to hit me up on &lt;a href="https://twitter.com/hugojmd">Twitter&lt;/a> or &lt;a href="https://melb.social/@hugo">Mastodon&lt;/a>, I’m always keen to help out! ✌️&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Kubernetes%20%26%20Traefik%20with%20local%20Wildcard%20certificates">Reply via email</a></description></item><item><title>Building lean Docker images</title><link>https://hugo.md/post/building-lean-docker-images/</link><pubDate>Mon, 03 Dec 2018 00:00:00 +1100</pubDate><guid>https://hugo.md/post/building-lean-docker-images/</guid><description>
&lt;p>This was originally posted on &lt;a href="https://medium.com/localz-engineering/building-lean-docker-images-47b5a896688e">Medium&lt;/a>.&lt;/p>
&lt;p>At Localz, we use Docker as the building block for all of our deployments. We like to think of it as a single unit of deployment. If it runs in Docker, it can be deployed and horizontally scaled, and requires less maintenance than running on bare metal.&lt;/p>
&lt;p>In this post, I’ll go through the techniques we use to keep our Docker images lean — including using base images, removing build dependencies, utilising build stages, and scratch-based images!&lt;/p>
&lt;h3 id="separating-build-and-runtime-dependencies">Separating build and runtime dependencies&lt;/h3>
&lt;p>No matter which language you use — whether it’s Node.js, Go, Python, or something else — it’s almost inevitable that you’ll have both build and runtime dependencies.&lt;/p>
&lt;p>In brief, build dependencies are modules, libraries, or packages that are required to setup your application — which may mean compiling, testing or otherwise ‘building’ your code.&lt;/p>
&lt;p>Runtime dependencies are specifically required while your application is &lt;strong>&lt;em>running&lt;/em>&lt;/strong>. Examples of these are pretty easy to identify — database ORMs, third party SDKs, and any module your project depends on to perform required tasks.&lt;/p>
&lt;p>Separating these dependencies can shave down the size of a Docker image both in number of intermediary layers, and size on disk. If you’re deploying a lot of images, reducing image size here and there can result in pretty big savings.&lt;/p>
&lt;p>If you’re using Alpine-based images and require build tooling like &lt;code>make&lt;/code> and &lt;code>g++&lt;/code>, you can install those dependencies, use them, and remove them afterwards:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/423fc3a2f0dcc7b93323790701bc09d6.js">&lt;/script>
&lt;p>With build dependencies, the image weighs in at 218 MB. But when we remove them, it is only 67.1 MB — that’s 150.9 MB we’re doing without!&lt;/p>
&lt;h3 id="consolidating-shared-dependencies-into-a-baseimage">Consolidating shared dependencies into a base image&lt;/h3>
&lt;p>If you have more than a few applications sharing the same stack and some of the same dependencies, you can create a base image to reduce total build time. This means that rather than re-installing shared dependencies for every build you can pull the layers in binary form, no compilation/installation required!&lt;/p>
&lt;p>Let’s take a look at a simple example. Suppose we use &lt;a href="https://zeit.co/now">Now&lt;/a> for deployment, meaning we call &lt;code>now&lt;/code> to deploy in our continuous deployment pipeline. Instead of calling &lt;code>npm install -g now&lt;/code> for every single build, we can cache this in a &lt;em>parent&lt;/em> image and enjoy faster builds.&lt;/p>
&lt;p>We define our parent image with:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/a9b88fbd9bb45d4d0f305f73137d48fc.js">&lt;/script>
&lt;p>We can then build this image and tag it as &lt;code>parent&lt;/code>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">docker build --file parent.Dockerfile --tag parent .&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now we can make a &lt;em>child&lt;/em> image which is based upon the &lt;em>parent&lt;/em>:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/5e2d05f9a336e7aec2a89dd5c3b73012.js">&lt;/script>
&lt;p>While this example may seem trivial as &lt;code>now&lt;/code> doesn&amp;rsquo;t take long to install, if you&amp;rsquo;re using an npm package which uses C/C++ bindings then you might have to deal with compilation time, which can be fairly significant when building in a CI tool that limits CPU cores.&lt;/p>
&lt;p>You can read more about base images in the &lt;a href="https://docs.docker.com/develop/develop-images/baseimages/">Docker documentation&lt;/a>.&lt;/p>
&lt;h3 id="build-stages-and-scratch-based-images">Build stages and scratch-based images&lt;/h3>
&lt;p>This example pertains more to compiled applications. In these cases you can compile your application using one Docker image, and then copy the binary into a &lt;a href="https://docs.docker.com/samples/library/scratch/">&lt;code>scratch&lt;/code>&lt;/a> image as a single binary. &lt;code>scratch&lt;/code> images have no base layers, so they’re super lightweight!&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/de3893012564cd7d45b660decb4a9016.js">&lt;/script>
&lt;p>If we were to use &lt;code>golang:1.11.2-alpine3.8&lt;/code> as the base image, rather than &lt;code>scratch&lt;/code>, our image would be a whopping 312 MB! With &lt;code>scratch&lt;/code>, it’s just 6.32 MB! 😱&lt;/p>
&lt;p>That’s it! I hope this proves useful, and if you weren’t already keen on Docker, maybe you are now!&lt;/p>
&lt;p>If you’ve got any questions, feel free to hit me up on &lt;a href="https://twitter.com/hugojmd">Twitter&lt;/a> or &lt;a href="https://melb.social/@hugo">Mastodon&lt;/a>, I’m always keen to help out! ✌️&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Building%20lean%20Docker%20images">Reply via email</a></description></item><item><title>Signing git commits with Tower</title><link>https://hugo.md/post/signing-commits-with-tower/</link><pubDate>Sun, 21 Jan 2018 21:17:04 +0000</pubDate><guid>https://hugo.md/post/signing-commits-with-tower/</guid><description>
&lt;p>I use GPG verification for most of my commits so that people know that it&amp;rsquo;s &lt;em>really&lt;/em> me (don&amp;rsquo;t worry, I debate the &lt;a href="https://security.stackexchange.com/questions/10933/difference-between-authentication-and-identification-crypto-and-security-perspe">difference between authentication and identification&lt;/a> with friends and coworkers all the time).&lt;/p>
&lt;p>If I&amp;rsquo;m on my Mac, I&amp;rsquo;m using &lt;a href="https://www.git-tower.com/">Tower&lt;/a>, a fantastic Git UI, and I set it up to sign my commits by following a post by &lt;a href="https://stefanzweifel.io/">Stefan Zweifel&lt;/a>:&lt;/p>
&lt;p>Check out Stefan&amp;rsquo;s post here: &lt;a href="https://stefanzweifel.io/posts/sign-your-commits-with-tower-app">https://stefanzweifel.io/posts/sign-your-commits-with-tower-app&lt;/a>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Signing%20git%20commits%20with%20Tower">Reply via email</a></description></item><item><title>Reduce build time with Docker</title><link>https://hugo.md/post/reduce-build-time-with-docker-images/</link><pubDate>Sun, 17 Dec 2017 21:42:41 +1100</pubDate><guid>https://hugo.md/post/reduce-build-time-with-docker-images/</guid><description>
&lt;blockquote>
&lt;p>One weird trick to reduce build time! CI services hate him!&lt;/p>
&lt;/blockquote>
&lt;p>This is a fairly simple way to reduce your build time if you spend a lot of time bundling dependencies prior to performing tests or deployments in CI.&lt;/p>
&lt;p>The trick is to bundle any &lt;em>build&lt;/em> dependencies into a Docker image so that you don&amp;rsquo;t have to install them each time you run a job.&lt;/p>
&lt;p>Let&amp;rsquo;s take a look at my &lt;code>.gitlab-ci.yml&lt;/code> file that I used in &lt;a href="./post/now-review-app-post/">&amp;ldquo;GitLab Review Apps with Zeit&amp;rsquo;s Now.sh service&amp;rdquo;&lt;/a>:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/8831247d8b8549c981feeaa29b1893b4.js">&lt;/script>
&lt;p>As you can see above, I&amp;rsquo;m installing build dependencies for &lt;code>now&lt;/code> with &lt;code>npm install -g now --silent&lt;/code> in both the &lt;code>start_review&lt;/code> and &lt;code>stop_review&lt;/code> pipeline stages. This is unnecessary and is done &lt;em>every single time&lt;/em> a job runs (not &lt;a href="https://en.wikipedia.org/wiki/Don%27t_repeat_yourself">DRY&lt;/a>). If you run enough builds, that&amp;rsquo;s a significant amount of time wasted.&lt;/p>
&lt;p>Let&amp;rsquo;s build a simple Docker image that includes the &lt;code>now&lt;/code> dependency:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/5642a71d1e94b3a40874a18aa6a69b70.js">&lt;/script>
&lt;p>With a simple &lt;code>.gitlab-ci.yml&lt;/code> file to push the image to the GitLab container registry:&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/5a2b563c564b73b3f04fc88cb5486260.js">&lt;/script>
&lt;p>Now, instead of pulling from &lt;code>image: node&lt;/code> in our initial &lt;code>.gitlab-ci.yml&lt;/code>, we can use &lt;code>image: my.registry/hugo/now-image:latest&lt;/code> and remove the section of our &lt;code>.gitlab-ci.yml&lt;/code> where we install our build dependencies, because they&amp;rsquo;re already bundled!&lt;/p>
&lt;script type="application/javascript" src="https://gist.github.com/hugomd/1b1171b964c723bc1b8496a934135b12.js">&lt;/script>
&lt;p>Now we&amp;rsquo;ve shaved a bit of time off our builds 👌&lt;/p>
&lt;p>If you liked this post, have questions or queries, or can help me make it better, please &lt;a href="https://twitter.com/hugojmd">tweet me!&lt;/a>&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Reduce%20build%20time%20with%20Docker">Reply via email</a></description></item><item><title>Moji.cool</title><link>https://hugo.md/post/moji-cool/</link><pubDate>Fri, 15 Sep 2017 19:27:50 +1000</pubDate><guid>https://hugo.md/post/moji-cool/</guid><description>
&lt;p>Earlier this year (06/05 to 07/05), &lt;a href="https://twitter.com/NathanMalishev">Nathan Malishev&lt;/a>, &lt;a href="https://twitter.com/joshparnham">Josh Parnham&lt;/a>, &lt;a href="https://twitter.com/dsykesturner">Daniel Sykes-Turner&lt;/a>, and I attended the Facebook Melbourne &lt;a href="https://facebook.com/hackathon">Hackathon&lt;/a> — located in Facebook’s beautiful, and &lt;a href="https://twitter.com/search?f=images&amp;amp;vertical=default&amp;amp;q=%23fbmelhack17">brand new, Melbourne office&lt;/a>.&lt;/p>
&lt;p>Our team, ‘&lt;a href="https://moji.cool">Moji&lt;/a>’, ended up taking home first prize — a trip to San Francisco to compete in the Facebook Global Hackathon finals.&lt;/p>
&lt;p>We built an end-to-end product, &lt;a href="https://moji.cool/">moji.cool&lt;/a>, consisting of a dashboard, a Chrome extension and an &lt;a href="https://demo.moji.cool/">embedable widget&lt;/a>, which allowed end users to react to any web page they come across.&lt;/p>
&lt;p>By hacking all of these together, we effectively built for two demographics: the end users, and website owners who might want to gauge reactions to their sites and pages.&lt;/p>
&lt;p>The idea was to take what Facebook has done with their &lt;a href="https://newsroom.fb.com/news/2016/02/reactions-now-available-globally/">reactions&lt;/a> but allow &lt;em>anyone&lt;/em> to react to &lt;em>any&lt;/em> website. The embedded version is similar to Disqus’ comments or the Facebook 👍 button; you embed it and anyone who visits your site can use it. The Chrome extension adds this functionality to all websites you visit and allows you to react to them by simply hovering over the reaction bar.&lt;/p>
&lt;p>As with most hackathons, our idea evolved pretty quickly once we started implementing it, so we ended up adding live visualisations of reactions as users interacted with the page, in the form of a stream of emoji following a randomised sin wave (thanks to &lt;a href="https://twitter.com/dsykesturner">Daniel&lt;/a>). Here it is in action:&lt;/p>
&lt;video controls width='100%' autoplay>
&lt;source src='https://d.pr/0DhAQ.mp4' type='video/mp4'>
Your browser doesn't support the HTML5 video tag :(
&lt;/video>
&lt;p>I think we did a fantastic job, well done team Moji! 🎉&lt;/p>
&lt;p>A huge thank you to &lt;a href="https://twitter.com/dsykesturner">Daniel&lt;/a> and &lt;a href="https://twitter.com/joshparnham">Josh&lt;/a> for proof reading this!&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Moji.cool">Reply via email</a></description></item><item><title>Responding to cURL with a JSON Resumé 📚</title><link>https://hugo.md/post/json-resume-curl/</link><pubDate>Thu, 02 Feb 2017 20:55:04 +1100</pubDate><guid>https://hugo.md/post/json-resume-curl/</guid><description>
&lt;p>Over the past couple of months I&amp;rsquo;ve received numerous messages asking me how I&amp;rsquo;ve made this website respond to cURL requests with JSON (a little like &lt;a href="https://jsonresume.org">JSON Resumé&lt;/a>). If you&amp;rsquo;re out of the loop, you can either &lt;code>curl -L hugo.md&lt;/code> or check out this GIF:&lt;/p>
&lt;p>
&lt;img src="screen-capture.gif" alt="">
&lt;/p>
&lt;p>It&amp;rsquo;s super simple to setup — I&amp;rsquo;ve done it with nginx and with Caddy. All it does is:&lt;/p>
&lt;ol>
&lt;li>Check the user agent on incoming requests to the root site (&lt;code>example.site/&lt;/code>)&lt;/li>
&lt;li>If the user agent is cURL, respond with a JSON file&lt;/li>
&lt;/ol>
&lt;p>With &lt;a href="https://www.nginx.com">nginx&lt;/a>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">server {
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> listen 80;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> server_name example.site;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> root /home/you/www;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> location / {
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> if ($http_user_agent ~* ^curl) {
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> rewrite ^/$ &amp;#34;/path/to/about.json&amp;#34;;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> break;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> }
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> }
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>With &lt;a href="https://caddyserver.com">Caddy&lt;/a>, it&amp;rsquo;s even easier:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">example.site {
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> root /home/you/www
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> rewrite {
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> if {&amp;gt;User-Agent} has curl
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> if {path} is /
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> to /path/to/about.json
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> }
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Thought this was neat? &lt;a href="https://twitter.com/hugojmd">Tweet me!&lt;/a>&lt;/p>
&lt;p>If you liked this post, you&amp;rsquo;ll probably enjoy one of my other projects, &lt;a href="https://github.com/hugomd/parrot.live">&lt;code>parrot.live&lt;/code>&lt;/a> 🐦 Try &lt;code>curl parrot.live&lt;/code> to see it in action!&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Responding%20to%20cURL%20with%20a%20JSON%20Resum%c3%a9%20%f0%9f%93%9a">Reply via email</a></description></item><item><title>GitLab Review Apps with Zeit's Now.sh service</title><link>https://hugo.md/post/now-review-app-post/</link><pubDate>Thu, 29 Dec 2016 17:53:11 +0100</pubDate><guid>https://hugo.md/post/now-review-app-post/</guid><description>
&lt;p>&lt;a href="https://zeit.co/about">Zeit&lt;/a> is a great little company that aims to “Make Cloud Computing as Easy and Accessible as Mobile computing”, and they’re doing that just with their relatively new service, &lt;em>&lt;a href="https://zeit.co/now">Now&lt;/a>&lt;/em>. &lt;em>Now&lt;/em> aims to make deploying Node and Docker apps as simple as typing &lt;code>now&lt;/code> into your terminal. It also allows deploying static websites, which is what I’ll be using it for in this little tutorial.&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;p>This tutorial assumes that you’ve got a Zeit account, and have some familiarity with &lt;a href="https://about.gitlab.com/2016/11/22/introducing-review-apps/">GitLab Review Apps&lt;/a>, &lt;a href="https://about.gitlab.com/gitlab-ci/">GitLab CI&lt;/a>, and that you have a &lt;a href="https://docs.gitlab.com/runner/">GitLab Runner&lt;/a> setup and ready to go.&lt;/p>
&lt;h2 id="setting-up-your-project">Setting up your Project&lt;/h2>
&lt;p>To get started, let’s create a new GitLab project called &lt;code>now-review-app&lt;/code>.
&lt;img src="DraggedImage.png" alt="">
&lt;/p>
&lt;p>Next, clone the repository:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">git clone URL_TO_YOUR_REPOSITORY_&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Create the &lt;code>.gitlab-ci.yml&lt;/code> file:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">touch .gitlab-ci.yml&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>And create an &lt;code>src&lt;/code> folder:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">mkdir src&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Inside &lt;code>src&lt;/code>, place an &lt;code>index.html&lt;/code> file, with the contents:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-html" data-lang="html">&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">h1&lt;/span>&lt;span class="p">&amp;gt;&lt;/span>Example HTML file&lt;span class="p">&amp;lt;/&lt;/span>&lt;span class="nt">h1&lt;/span>&lt;span class="p">&amp;gt;&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Modify &lt;code>.gitlab-ci.yml&lt;/code> with the contents:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">image&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">node&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">stages&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">review&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">variables&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">REPO_NAME&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">now-review-app&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">start_review&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">stage&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">review&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">script&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">npm install -g now --silent&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">URL=$(now --static -t ${NOW_TOKEN} ./src -n ${REPO_NAME}-${CI_BUILD_REF_SLUG})&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">NOW_URL=$(echo ${URL} | sed s/&amp;#39;http:\/\/&amp;#39;/&amp;#39;&amp;#39;/g | sed s/&amp;#39;https:\/\/&amp;#39;//g)&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">now -t ${NOW_TOKEN} alias set ${NOW_URL} ${REPO_NAME}-${CI_BUILD_REF_SLUG}.now.sh&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">environment&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">review/$CI_BUILD_REF_NAME&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">url&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">https://$REPO_NAME-$CI_BUILD_REF_SLUG.now.sh&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">on_stop&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">stop_review&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">only&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">branches&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">except&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">master&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">stop_review&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">stage&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">review&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">script&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">npm install -g now --silent&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">now rm -t ${NOW_TOKEN} -y ${CI_BUILD_REF_SLUG}&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">when&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">manual&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">environment&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">review/$CI_BUILD_REF_NAME&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">action&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">stop&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">only&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">branches&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">except&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">master&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>The above code creates a GitLab Review App when a new merge request is created, letting you view changes via a deployment. This allows your reviewers to see changes almost instantly, without having to run your app locally. In this case, &lt;code>start_review&lt;/code> creates a new &lt;em>Now&lt;/em> deployment of the files in &lt;code>src&lt;/code> and creates an alias for the merge request based on the name of the branch (e.g. &lt;code>feature/modify-app&lt;/code>, becomes &lt;code>reponame-feature-modify-app.now.sh&lt;/code>). Once the review has finished, &lt;code>stop_review&lt;/code> will remove the deployments created as part of the merge request process, cleaning up.&lt;/p>
&lt;p>Commit and push this code to GitLab.&lt;/p>
&lt;h2 id="testing-it-out">Testing it out&lt;/h2>
&lt;p>Add a new variable called &lt;code>NOW_TOKEN&lt;/code> to the project, accessible via the project menu. This variable will contain a &lt;em>Now&lt;/em> token. You can create a new token on &lt;a href="https://zeit.co/account#api-tokens">this page&lt;/a>.
&lt;img src="DraggedImage-1.png" alt="">
&lt;/p>
&lt;p>Create a new branch with:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">git checkout -b feature/modify-app&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Modify the contents of the &lt;code>index.html&lt;/code> file we created earlier, we’ll be changing it to:
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-html" data-lang="html">&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">h1&lt;/span>&lt;span class="p">&amp;gt;&lt;/span>Modified Example HTML source file.&lt;span class="p">&amp;lt;/&lt;/span>&lt;span class="nt">h1&lt;/span>&lt;span class="p">&amp;gt;&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/p>
&lt;p>Commit and push this to GitLab.&lt;/p>
&lt;p>Next, create a merge request from &lt;code>feature/modify-app&lt;/code> into &lt;code>master&lt;/code>, and wait for the pipeline to finish building, this will create the review app:
&lt;img src="DraggedImage-2.png" alt="">
&lt;/p>
&lt;p>If everything is successful, your pipeline should pass, and you should now see a link to the review app on the merge request:
&lt;img src="DraggedImage-3.png" alt="">
&lt;/p>
&lt;p>Clicking on it should take you to the &lt;em>Now&lt;/em> deployment with the correct changes to &lt;code>index.html&lt;/code> displayed:
&lt;img src="DraggedImage-4.png" alt="">
&lt;/p>
&lt;p>It’s worth noting here that this link is an alias for the latest review app deployment. You’ll have to use &lt;code>now ls&lt;/code> to view all iterations of the merge request, if required.&lt;/p>
&lt;p>If you found this interesting, have any questions or queries, or just want to say hi, then hit me up on &lt;a href="https://twitter.com/hugojmd">Twitter&lt;/a>!&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20GitLab%20Review%20Apps%20with%20Zeit%27s%20Now.sh%20service">Reply via email</a></description></item><item><title>Bréf: Telstra Cloud Hack 2016</title><link>https://hugo.md/post/bref-telstra-cloud-hack/</link><pubDate>Sun, 11 Dec 2016 23:14:50 +1100</pubDate><guid>https://hugo.md/post/bref-telstra-cloud-hack/</guid><description>
&lt;img src="https://hugo.md/post/bref-telstra-cloud-hack/cover.png"/>
&lt;p>&lt;em>Bréf: where I try to explain something briefly.&lt;/em>&lt;/p>
&lt;p>This weekend (9 to 11 Dec.), I competed in the &lt;a href="http://constructnow.io/">Telstra Cloud Hackathon&lt;/a>, in a team with three friends (&lt;a href="https://twitter.com/Gaburyeru">Gabriel&lt;/a>, &lt;a href="https://twitter.com/terencehuynh">Terence&lt;/a>, and &lt;a href="https://twitter.com/dsykesturner">Daniel&lt;/a>).&lt;/p>
&lt;p>We built &lt;em>&lt;em>Jift&lt;/em>&lt;/em>, a product recommendation engine that uses your friends&amp;rsquo; Facebook likes to recommend products, along with a (unbuilt) Secret Santa component.&lt;/p>
&lt;p>Our hack used ReactJS on the frontend, with some &lt;em>very&lt;/em> messy data-binding (courtesy of yours truly, but it&amp;rsquo;s a hack! 😳), HapiJS and PostgreSQL on the backend, along with Google’s Prediction API to map people&amp;rsquo;s interests (via Facebook likes) to products (via Ebay).&lt;/p>
&lt;p>We finished the hack with a &lt;em>beautiful&lt;/em> and &lt;em>working&lt;/em> frontend, but ran out of time to train Google’s Prediction API.&lt;/p>
&lt;p>I had an amazing time, surrounded by great friends and hackers. Thanks everyone – I&amp;rsquo;ll be back next year!&lt;/p>
&lt;p>
&lt;img src="1.png" alt="">
&lt;img src="2.png" alt="">
&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Br%c3%a9f%3a%20Telstra%20Cloud%20Hack%202016">Reply via email</a></description></item><item><title>Mac Apps</title><link>https://hugo.md/post/mac-apps/</link><pubDate>Wed, 07 Dec 2016 22:00:00 +1100</pubDate><guid>https://hugo.md/post/mac-apps/</guid><description>
&lt;p>I have a pretty terrible habit of buying new apps &lt;em>very&lt;/em> frequently. My friends can vouch for this. Following new purchases, they&amp;rsquo;re often inundated with messages from me about how &amp;lsquo;good&amp;rsquo; an app is, and that they should go buy it ASAP, even if it&amp;rsquo;s not relevant to them at all.&lt;/p>
&lt;p>Recently, my friend &lt;a href="http://kortex.co.za">Theo&lt;/a> bought a new Mac, and asked if I had any recommendations for him. I wrote up a list and sent it to him, but I thought I might publish it on here for my future reference, and to have something to direct people to.&lt;/p>
&lt;h2 id="development">Development&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="http://mac.eltima.com/mount-cloud-drive.html">CloudMounter&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/drop-color-picker/id1173932628?mt=12">Drop&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://kapeli.com/dash">Dash&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://www.sequelpro.com">Sequel Pro&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.git-tower.com/mac/">Tower&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://robomongo.org">Robomongo&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://small.syntra.io">Syntra Small&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.sketchapp.com">Sketch&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://monodraw.helftone.com">Monodraw&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://atom.io">Atom&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://paw.cloud">Paw Rest Client&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://geticonjar.com">Iconjar&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://edovia.com/screens/">Screens VNC&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="writing">Writing&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://ulyssesapp.com">Ulysses&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/quiver-programmers-notebook/id866773894?mt=12">Quiver&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://dayoneapp.com">Day One&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="reading">Reading&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/spillo/id873245660?mt=12">Spillo&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://reederapp.com/mac/">Reeder&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="productivity">Productivity&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="http://www.2doapp.com/mac/">2do&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.taskpaper.com">TaskPaper&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://flexibits.com/fantastical">Fantastical 2&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.alfredapp.com">Alfred 3&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.trankynam.com/atext/">aText&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://mac.eltima.com/file-manager.html">Commander Pro&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://unclutterapp.com">Unclutter&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="image--video">Image &amp;amp; Video&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://realmacsoftware.com/squash/">Squash&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/permute-2/id731738567?mt=12">Permute&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://mpv.io">MPV&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://zoommyapp.com">Zoommy&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="sharing">Sharing&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://getdropsha.re">Dropshare&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://d.pr">Droplr&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://cl.ly/">CloudApp&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://aptonic.com">Dropzone&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://jumpshare.com">Jumpshare&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="utility">Utility&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://maxelapp.com">Maxel&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://daisydiskapp.com">Daisy Disk&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://freemacsoft.net/appcleaner/">App Cleaner&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://1password.com">1Password&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://mac.eltima.com/bluetooth-keyboard.html">Typeeto&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="miscellaneous">Miscellaneous&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://github.com/keycastr/keycastr">Keycastr&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/amphetamine/id937984704?mt=12">Amphetamine&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/gestimer/id990588172?mt=12">Gestimer&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.seense.com/menubarstats/">Menubar Stats&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.seense.com/the_clock/">The Clock&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.seense.com/barsoom/">Barsoom&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/degrees-pro-weather/id951510024?mt=12">Degrees Pro&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="backup">Backup&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://www.arqbackup.com">Arq Backup&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="email">Email&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="http://airmailapp.com">Airmail&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://sparkmailapp.com">Spark&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="chat--social">Chat &amp;amp; Social&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://www.codeux.com/textual/">Textual for IRC&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://tapbots.com/tweetbot/">Tweetbot&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="window-management">Window Management&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://www.spectacleapp.com">Spectacle&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://itunes.apple.com/us/app/magnet/id441258766?mt=12">Magnet&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://github.com/koekeishiya/kwm">KWM&lt;/a>&lt;/li>
&lt;/ul><a href="mailto:blog@hu.md?subject=RE%3a%20Mac%20Apps">Reply via email</a></description></item><item><title>A New Domain</title><link>https://hugo.md/post/a-new-domain/</link><pubDate>Wed, 30 Nov 2016 00:17:20 +1100</pubDate><guid>https://hugo.md/post/a-new-domain/</guid><description>
&lt;p>Today, I acquired a new domain name. It&amp;rsquo;s two letters short.&lt;/p>
&lt;blockquote class="functional twitter-quote">
&lt;p>Launch control, this is Houston, we are go for launch! 🚀&lt;/p>
&lt;p>👉 &lt;a href="&lt;a href='https://t.co/NzHGcMp5Px'>youtu.be/zVf-rehP4b8&lt;/a>">&lt;a href='https://t.co/NzHGcMp5Px'>youtu.be/zVf-rehP4b8&lt;/a>&lt;/a>&lt;/p>
&lt;p>👉 &lt;a href="&lt;a href='https://t.co/IaUwr3xnX3'>hu.md&lt;/a>">&lt;a href='https://t.co/IaUwr3xnX3'>hu.md&lt;/a>&lt;/a> is live! 🚀 &lt;a href="">&lt;/a>&lt;/p>
&lt;img src="https://pbs.twimg.com/media/Cybe7anUQAE8vQb.jpg" />
&lt;br />
&lt;p>&amp;mdash; hugo@melb.social (@hugojmd) &lt;a href='https://twitter.com/hugojmd/status/803574701662474240' target="_blank">November 29, 2016&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;p>I&amp;rsquo;m pleased with it. Short, succinct, concise, small.&lt;/p>
&lt;p>A two letter domain is something I&amp;rsquo;ve wanted for a &lt;em>long&lt;/em> time, and I&amp;rsquo;m excited to finally have one.&lt;/p>
&lt;p>I&amp;rsquo;ll use my new found &lt;s>power&lt;/s> domain only for good, I promise!&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20A%20New%20Domain">Reply via email</a></description></item><item><title>Things I actually pay money for</title><link>https://hugo.md/post/things-i-pay-money-for/</link><pubDate>Sun, 22 May 2016 17:16:40 +1000</pubDate><guid>https://hugo.md/post/things-i-pay-money-for/</guid><description>
&lt;p>Surprisingly, I spend a lot of money on subscriptions every year.
Unsurprisingly, I haven&amp;rsquo;t tallied how much I actually spend, partly because I&amp;rsquo;m
a little lazy and partly because I&amp;rsquo;m scared of finding out exactly how much I
spend.. So here it is.&lt;/p>
&lt;h2 id="monthly-expenditures">Monthly Expenditures&lt;/h2>
&lt;h3 id="google-play-music--youtube-redhttpsmusicgooglecom">&lt;a href="https://music.google.com/">Google Play Music &amp;amp; YouTube Red&lt;/a>&lt;/h3>
&lt;p>I pay $5.99 AUD per month for Google Play Music, now inclusive of YouTube Red,
as I paid for several months in advance when they went on sale quite recently
(as of 28/05/2016), but I&amp;rsquo;ll be going back to $9.99 AUD a month in August.&lt;/p>
&lt;p>While I can&amp;rsquo;t say I listen to a &lt;em>lot&lt;/em> of music, it&amp;rsquo;s nice to be able to listen
to pretty much anything thing I want whenever I want, and it&amp;rsquo;s definitely
worth the cost. I&amp;rsquo;ve tried a few other streaming services but have always
ended up coming back to GPM because 1) it has all of my music already and 2) I
can upload any music that &lt;em>isn&amp;rsquo;t&lt;/em> already there, something that many, if not
all, other streaming services lack.&lt;/p>
&lt;h3 id="apple-musichttpswwwapplecommusic">&lt;a href="https://www.apple.com/music/">Apple Music&lt;/a>&lt;/h3>
&lt;p>I&amp;rsquo;m transitioning to Apple Music, still on their 3 month trial, but will end up
paying $5.99 thanks to their student discount. I&amp;rsquo;m still not sure that I&amp;rsquo;ll be
going through with the switch from Google Music, it really depends on the
upcoming changes &lt;a href="http://www.theverge.com/2016/6/13/11903956/apple-music-update-itunes-redesign-announced-wwdc-2016">announced at
WWDC&lt;/a>.&lt;/p>
&lt;h3 id="digital-oceanhttpsdigitaloceancom">&lt;a href="https://digitalocean.com/">Digital Ocean&lt;/a>&lt;/h3>
&lt;p>I pay $10.00 USD per month for two DigitalOcean droplets, running around 10
fairly small websites. It&amp;rsquo;s cheap, and I like the freedom of taking snapshots
and backups, and all that good stuff that comes with DigitalOcean. In fact,
this blog is hosted on one of the servers.&lt;/p>
&lt;p>While $10.00 USD isn&amp;rsquo;t particularly much for servers, it does add up, and I&amp;rsquo;ve
been planning to migrate from DO to some Docker containers running on my
Online.net server (next in this list).&lt;/p>
&lt;h3 id="onlinenethttpswwwonlineneten">&lt;a href="https://www.online.net/en">Online.net&lt;/a>&lt;/h3>
&lt;p>I pay €15.99 EUR for a fairly &lt;a href="https://www.online.net/en/dedicated-server/dedibox-xc">beefy
server&lt;/a> which I
currently use to host a number of Docker containers, including a &lt;a href="https://about.gitlab.com">GitLab
CE&lt;/a> instance, a number of &lt;a href="https://about.gitlab.com/gitlab-ci/">GitLab CI
runners&lt;/a> and an rtorrent/rutorrent instance.&lt;/p>
&lt;p>This server was my first foray into the world of Docker, and I&amp;rsquo;m hoping to
dockerize most of my stuff and move it there.&lt;/p>
&lt;h3 id="amaysimhttpswwwamaysimcomau">&lt;a href="https://www.amaysim.com.au/">Amaysim&lt;/a>&lt;/h3>
&lt;p>Most people have phone plans. I&amp;rsquo;m one of those people. I pay $39.90 AUD per
month for 7 GB of data, unlimited calls and texts, and some access to
international call/text subject to higher rates (which I don&amp;rsquo;t use).&lt;/p>
&lt;p>I find I rarely use up more than 5 GB each month, but it&amp;rsquo;s nice knowing I have
the extra data just in case.&lt;/p>
&lt;h3 id="netflixhttpsnetflixcom">&lt;a href="https://netflix.com/">Netflix&lt;/a>&lt;/h3>
&lt;p>I currently have a subscription, which I&amp;rsquo;m paying $11.99 AUD per month for,
but I&amp;rsquo;m planning to cancel because I don&amp;rsquo;t find myself using it &lt;em>that&lt;/em> often
(blasphemous, I know!).&lt;/p>
&lt;h3 id="animelabhttpsanimelabcom">&lt;a href="https://animelab.com/">Animelab&lt;/a>&lt;/h3>
&lt;p>I thoroughly enjoy anime, and I find that I keep coming back for more each
season. Animelab is the easiest way for me to watch them, is super fast and has
an amazing user interface and keeps up to date with simulcasts. This runs me a
neat $6.99 AUD per month.&lt;/p>
&lt;h3 id="coffee-">Coffee ☕&lt;/h3>
&lt;p>I&amp;rsquo;m not &lt;em>exactly&lt;/em> sure how much I spend on coffee each month, but if I had to
guess I&amp;rsquo;d say around $15.00 AUD, which is quite a bit. I tend to enjoy coffees
in the morning, and make them myself most of the time.&lt;/p>
&lt;h3 id="apps">Apps&lt;/h3>
&lt;p>I tend not to keep track of apps, but if it&amp;rsquo;s less than a coffee ($4.00 AUD)
and it offers something unique and worthwhile, I normally end up buying it.&lt;br>
Thankfully, if I do ever regret a purchase, I can get a full refund.&lt;/p>
&lt;h3 id="other">Other&lt;/h3>
&lt;p>I pay a tiny amount each month for the privilege of reading &lt;a href="http://mattgemmell.com">Matt
Gemmell&lt;/a>&amp;rsquo;s weekly newsletters. I&amp;rsquo;d say it&amp;rsquo;s worth it, I
find his reading style quite captivating.&lt;/p>
&lt;h3 id="amazon-web-services">Amazon Web Services&lt;/h3>
&lt;p>I use Amazon S3 to store screenshots and various other files, and Glacier to
store my &lt;a href="https://www.arqbackup.com">Arq&lt;/a> backups.&lt;/p>
&lt;p>I&amp;rsquo;m also experimenting with an EC2 instance at the moment, which runs an API
server I&amp;rsquo;m working on.&lt;/p>
&lt;p>Thanks to &lt;a href="https://aws.amazon.com/free/">Amazon&amp;rsquo;s free tier&lt;/a> and some free
credit I received, this doesn&amp;rsquo;t cost me anything.&lt;/p>
&lt;h2 id="yearly-expenditures">Yearly Expenditures&lt;/h2>
&lt;h3 id="domain-names">Domain Names&lt;/h3>
&lt;p>I own 7 domains at the moment, only some of which are mine. My personal domains
run me around $94.00 AUD a year. A lot of these are impulse purchases (&lt;a href="https://medium.com/life-learning/the-case-for-buying-domain-names-compulsively-c5e414a9951e#.hj5d93d6f">which
is
okay&lt;/a>),
with ideas behind them, or are on sale. Of course, I don&amp;rsquo;t follow through with
a lot of these ideas, so I don&amp;rsquo;t renew many of them.&lt;/p>
&lt;h3 id="ssl-certificates">SSL Certificates&lt;/h3>
&lt;p>Now free thanks to &lt;a href="https://letsencrypt.org">Let&amp;rsquo;s Encrypt&lt;/a>!&lt;/p>
&lt;h2 id="total-expenditure">Total Expenditure&lt;/h2>
&lt;p>Big numbers are scary, so I&amp;rsquo;m not going to add everything up.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Things%20I%20actually%20pay%20money%20for">Reply via email</a></description></item><item><title>Easy file sharing with S3 and Dropshare/ShareX</title><link>https://hugo.md/post/roll-your-own-screenshot-service-with-s3/</link><pubDate>Tue, 27 Oct 2015 15:35:21 +1100</pubDate><guid>https://hugo.md/post/roll-your-own-screenshot-service-with-s3/</guid><description>
&lt;h3 id="what-were-going-to-be-doing">What we&amp;rsquo;re going to be doing&lt;/h3>
&lt;ol>
&lt;li>Setting up a subdomain&lt;/li>
&lt;li>Setting up Amazon S3&lt;/li>
&lt;li>Setting up:
&lt;ol>
&lt;li>Preliminary Setup&lt;/li>
&lt;li>ShareX (Windows)&lt;/li>
&lt;li>DropShare (Mac)&lt;/li>
&lt;/ol>
&lt;/li>
&lt;/ol>
&lt;h3 id="setting-up-amazon-s3">Setting up Amazon S3&lt;/h3>
&lt;p>&lt;strong>If you already have an S3 Bucket created/setup, skip this section.&lt;/strong>&lt;/p>
&lt;ol>
&lt;li>Login to to your &lt;a href="https://aws.amazon.com/console/">AWS Management Console&lt;/a>.&lt;/li>
&lt;li>Go to Amazon S3.&lt;br>
&lt;a href="http://i.hugo.sx/ss/044wk.png">
&lt;img src="https://i.hugo.sx/ss/044wk.png" alt="">
&lt;/a>&lt;/li>
&lt;li>Create a new Bucket and take a note of the bucket name.&lt;/li>
&lt;li>Open bucket properties (in the top right) and add a &lt;a href="http://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html">bucket policy&lt;/a>:&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-json" data-lang="json">&lt;span class="line">&lt;span class="cl">&lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Version&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="s2">&amp;#34;2012-10-17&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Statement&amp;#34;&lt;/span>&lt;span class="p">:[&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Sid&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="s2">&amp;#34;AddPerm&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Effect&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="s2">&amp;#34;Allow&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Principal&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="s2">&amp;#34;*&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Action&amp;#34;&lt;/span>&lt;span class="p">:[&lt;/span>&lt;span class="s2">&amp;#34;s3:GetObject&amp;#34;&lt;/span>&lt;span class="p">],&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="nt">&amp;#34;Resource&amp;#34;&lt;/span>&lt;span class="p">:[&lt;/span>&lt;span class="s2">&amp;#34;arn:aws:s3:::YOUR-BUCKET-NAME-HERE/*&amp;#34;&lt;/span>&lt;span class="p">]&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">]&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span> &lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;ol start="5">
&lt;li>This bucket policy will make all of your uploads public. Now you can move on to setting up your subdomain.&lt;/li>
&lt;/ol>
&lt;h3 id="setting-up-a-subdomain">Setting up a subdomain&lt;/h3>
&lt;ol>
&lt;li>Login to your domain registrar, I use &lt;a href="http://gandi.net/">Gandi&lt;/a>.&lt;/li>
&lt;li>Navigate to your equivalent &amp;ldquo;My Account&amp;rdquo; page.&lt;/li>
&lt;li>On Gandi, you have to click on your domain, and on the following page click &amp;ldquo;Edit the Zone&amp;rdquo;.&lt;/li>
&lt;li>Create a new zone.&lt;/li>
&lt;li>Create a CNAME record:
6. Set the TTL to default.
7. Set the name to the subdomain you want, for instance &lt;code>i&lt;/code>, in my case, for &lt;code>i.hugo.sx&lt;/code>
8. Set the value to &lt;code>your-bucket-name.your-region.amazonaws.com.&lt;/code>, for instance, &lt;code>my-bucket.s3-ap-southeast-2.amazonaws.com.&lt;/code>
&lt;a href="http://i.hugo.sx/ss/UzDR6.png">
&lt;img src="https://i.hugo.sx/ss/UzDR6.png" alt="">
&lt;/a>&lt;/li>
&lt;li>Hit save. You&amp;rsquo;ll have to wait somewhere in the range of 24 hours for the DNS populate.&lt;/li>
&lt;/ol>
&lt;h3 id="uploading-to-amazon-s3">Uploading to Amazon S3&lt;/h3>
&lt;h4 id="preliminary-setup">Preliminary setup&lt;/h4>
&lt;ol>
&lt;li>Go to your &lt;a href="https://console.aws.amazon.com/">AWS Console&lt;/a>, click on your name in the top right and then &lt;em>Security Credentials&lt;/em>.&lt;/li>
&lt;li>You should be prompted to use &lt;em>IAM users&lt;/em>, click on &lt;em>IAM users&lt;/em>.&lt;/li>
&lt;li>Create a new user and give it a relevant name, e.g. dropshare-mac or sharex-windows, and hit enter.&lt;/li>
&lt;li>Copy the &lt;em>Access Key ID&lt;/em> and &lt;em>Secret Access Key&lt;/em> somewhere, you&amp;rsquo;ll need them for the next step.&lt;/li>
&lt;/ol>
&lt;h4 id="dropshare-mac">Dropshare (Mac)&lt;/h4>
&lt;p>&lt;a href="https://getdropsha.re/">Dropshare&lt;/a> costs 20.00 USD, which is quite reasonable for what it does. However, if you&amp;rsquo;re looking for something slightly cheaper and with arguably more features, check out &lt;a href="https://aptonic.com/">Dropzone 3&lt;/a>.&lt;/p>
&lt;ol>
&lt;li>Once you&amp;rsquo;ve downloaded Dropshare, open up the preferences and create a new Amazon S3 connection:&lt;/li>
&lt;li>Fill out the required fields, most a pretty self explanatory.&lt;/li>
&lt;li>When filling out the custom domain, don&amp;rsquo;t prefix it with &lt;code>http://&lt;/code> and don&amp;rsquo;t add &lt;code>/&lt;/code> as a suffix.&lt;/li>
&lt;li>If you want to upload to a subfolder, you&amp;rsquo;ll want to add that in with the bucket name.&lt;/li>
&lt;li>Enjoy!
&lt;a href="http://i.hugo.sx/ss/aFAD7.gif">
&lt;img src="https://i.hugo.sx/ss/aFAD7.gif" alt="">
&lt;/a>&lt;/li>
&lt;/ol>
&lt;h4 id="sharex-windows">ShareX (Windows)&lt;/h4>
&lt;ol>
&lt;li>&lt;a href="http://getsharex.com/">Download ShareX&lt;/a>.&lt;/li>
&lt;li>Open up &lt;em>Destinations&lt;/em> from the list on the side.&lt;/li>
&lt;li>Click on &lt;em>Amazon S3&lt;/em> under &lt;em>Image Upload&lt;/em>.&lt;/li>
&lt;li>Enter the_Access Key_ and &lt;em>Secret Key&lt;/em>, you should end up with something like this: &lt;a href="http://i.hugo.sx/ss/ZwutV.png">
&lt;img src="https://i.hugo.sx/ss/ZwutV.png" alt="">
&lt;/a>&lt;/li>
&lt;li>Now set Amazon S3 as your upload destination: &lt;a href="http://i.hugo.sx/ss/ZmG4G.jpg">
&lt;img src="https://i.hugo.sx/ss/ZmG4G.jpg" alt="">
&lt;/a>&lt;/li>
&lt;/ol>
&lt;p>Questions? Comments? &lt;a href="http://twitter.com/hugojmd">Tweet me&lt;/a>, or &lt;a href="http://hugo.sx">email me&lt;/a>.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Easy%20file%20sharing%20with%20S3%20and%20Dropshare%2fShareX">Reply via email</a></description></item><item><title>Blocking</title><link>https://hugo.md/post/blocking/</link><pubDate>Sat, 17 Oct 2015 23:54:18 +1100</pubDate><guid>https://hugo.md/post/blocking/</guid><description>
&lt;p>I always find writing like walking up an endless flight of stairs and, as you reach the thousandth stair, using every ounce of energy to pull at your legs to move up just one more stair. Obviously I&amp;rsquo;m exaggerating, or using a bad metaphor, but what I mean is I have a hard time writing. I don&amp;rsquo;t think I&amp;rsquo;m &lt;em>bad&lt;/em> at writing; I was a surprisingly good English student, I just .. struggle.&lt;/p>
&lt;p>The issue I&amp;rsquo;ve always had has been blocking. I&amp;rsquo;m not sure if that&amp;rsquo;s the correct term for it but I end up hitting a wall, or a series of taller and taller hurdles. The first one, I jump over easily and the next, and the next, and so on until.. I&amp;rsquo;ll be in the middle of a sentence and I&amp;rsquo;ll just .. &lt;em>backspace&lt;/em> &lt;em>backspace&lt;/em> .. I&amp;rsquo;ll delete words, or I&amp;rsquo;ll find myself looking for the perfect word which I&amp;rsquo;ll never end up finding.&lt;/p>
&lt;p>I&amp;rsquo;ll stop my train of thought mid sentence, and maybe even loose it in the process, and think of the perfect next word, mostly looking for synonyms. Now, I could just use a thesaurus but that probably wouldn&amp;rsquo;t help.&lt;/p>
&lt;p>Why am I writing this blog post? Well, I hope that it might help me figure things out, work out why I always seem to cut myself off. I mean, all of that creative potential just gets botched halfway through. It&amp;rsquo;s also nearly midnight and I can&amp;rsquo;t sleep.&lt;/p>
&lt;p>Bye.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Blocking">Reply via email</a></description></item><item><title>Monash Ninja: what, how, and the end result</title><link>https://hugo.md/post/monash-ninja/</link><pubDate>Mon, 12 Oct 2015 22:12:05 +1100</pubDate><guid>https://hugo.md/post/monash-ninja/</guid><description>
&lt;h3 id="what-is-monash-ninja">What is Monash Ninja?&lt;/h3>
&lt;p>&lt;a href="http://monash.ninja">Monash Ninja&lt;/a> was week-long treasure-hunt-like event (14 Sept. to 21 Sept. 2015) run by &lt;a href="http://wired.org.au/">Wired Monash&lt;/a>. The concept and code was created by &lt;a href="http://hugo.sx/">me&lt;/a> (then Vice President) and the design for the website was created by &lt;a href="http://terencehuynh.com/">Terence&lt;/a> (then Secretary).&lt;/p>
&lt;p>I purchased the &lt;em>monash.ninja&lt;/em> domain in April 2015 on a whim and then decided to come up with an idea for it. I had been thinking it would be fun for Wired to run a treasure hunt but thought it would be difficult to find participants as treasure hunts require effort for the hunters, but also for the organisers. This lead me to the idea of putting up (read: hiding) codes around campus (with help from Terence) that could then be entered on a website. Easy participation, a &amp;ldquo;keep your eyes peeled&amp;rdquo; approach, rather than actively looking for clues, and fairly easy implementation and organisation.&lt;/p>
&lt;h3 id="design-and-implementation">Design and Implementation&lt;/h3>
&lt;p>Monash Ninja consists of a simple HTML + JQuery/Ajax + CSS frontend with a &lt;a href="http://flask.pocoo.org">Flask&lt;/a> + MySQL backend.&lt;/p>
&lt;p>The database contained 30 codes and had the following schema:&lt;/p>
&lt;ul>
&lt;li>code_id INT&lt;/li>
&lt;li>code VARCHAR&lt;/li>
&lt;li>used BOOL&lt;/li>
&lt;li>student_id INT&lt;/li>
&lt;/ul>
&lt;p>The API was super simple:&lt;/p>
&lt;ul>
&lt;li>/all - JSON of entire database (only for local use)&lt;/li>
&lt;li>/get - given a code and a student ID, validates the code and returns success/failure.&lt;/li>
&lt;/ul>
&lt;p>If you&amp;rsquo;re interested in seeing the code, it&amp;rsquo;s on the Wired Monash Github, &lt;a href="https://github.com/wiredmonash/monash.ninja">here&lt;/a>.&lt;/p>
&lt;p>Poster design:
&lt;img src="http://i.hugo.sx/longterm/K4ENY.jpg" alt="">
&lt;/p>
&lt;p>Website design:
&lt;img src="http://i.hugo.sx/longterm/udf9y.png" alt="">
&lt;/p>
&lt;p>The prizes were worth over $500 as a result of &lt;a href="http://unihack.net/">UNIHACK&lt;/a>&amp;rsquo;s success:&lt;/p>
&lt;ul>
&lt;li>16x MSA vouches ($15 ea.)&lt;/li>
&lt;li>4x Google Cardboard ($20 ea.)&lt;/li>
&lt;li>10x iTunes Gift Vouchers ($30 ea.)&lt;/li>
&lt;/ul>
&lt;h3 id="end-result">End Result&lt;/h3>
&lt;p>By the end of the week 26 of the 30 codes had been found and validated, of which around 2 were ripped down, presumably by university staff. To remedy this, we hid these two in the source code of wired.org.au and monash.ninja. Most of the prizes were collected on the following Monday after the event. Some participants were unable to collect their prizes and scheduled alternative times, while others did not respond.&lt;/p>
&lt;p>I&amp;rsquo;m pleased with the success of Monash Ninja and hope that it can continue to be run each year under the Wired Monash banner.&lt;/p>
&lt;p>I&amp;rsquo;d like to thank Terence for putting up with my stupid questions, helping me distribute and hide the codes, give out the prizes and for allowing me to sticky tape a ninja code to his back for the duration of the club&amp;rsquo;s Annual General Meeting (AGM).&lt;/p>
&lt;h3 id="what-would-i-do-next-time">What would I do next time?&lt;/h3>
&lt;p>Find an easier way to keep track of people. Specifically, taking emails, or using Facebook login, instead of just a student ID and code - it would have made it a little easier to notify people they&amp;rsquo;d received a prize.&lt;/p>
&lt;p>Store more information on the database: whether prizes have been given out, website feedback, and general statistics such as how many codes validated each day.&lt;/p>
&lt;h3 id="when-will-monash-ninja-return">When will Monash Ninja return?&lt;/h3>
&lt;p>Hopefully next year! &lt;sup>&lt;sup>Maybe during O-week?? (hint hint)&lt;/sup>&lt;/sup>&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Monash%20Ninja%3a%20what%2c%20how%2c%20and%20the%20end%20result">Reply via email</a></description></item><item><title>Emails can be bad.</title><link>https://hugo.md/post/emails/</link><pubDate>Mon, 14 Sep 2015 19:57:08 +1000</pubDate><guid>https://hugo.md/post/emails/</guid><description>
&lt;p>Email has always been something that I&amp;rsquo;ve needed to keep track, something that since in the back of my mind and something that I feel like I&amp;rsquo;m always worrying about. When I receive an email, it normally means I have to &lt;em>do&lt;/em> something, and I think that&amp;rsquo;s always been the issue.&lt;/p>
&lt;p>Early last year I made the switch from Gmail to FastMail (one of the best decisions I&amp;rsquo;ve made so far) but it&amp;rsquo;s taken me till now to setup proper rules to sort every single email into folders and memorise all of the keyboard shortcuts.&lt;/p>
&lt;p>I can safely say that now I&amp;rsquo;m all set up, going &lt;em>fast&lt;/em> with FastMail and have rules sending emails into their proper folders, I feel less stressed and more in control.&lt;/p>
&lt;p>We tend to underestimate how email affects our lives.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20Emails%20can%20be%20bad.">Reply via email</a></description></item><item><title>What I learned at UNIHACK Melbourne</title><link>https://hugo.md/post/what-i-learned-at-unihack-melbourne/</link><pubDate>Fri, 08 Aug 2014 12:00:00 +1000</pubDate><guid>https://hugo.md/post/what-i-learned-at-unihack-melbourne/</guid><description>
&lt;p>&lt;a href="http://unihack.net/">UNIHACK Melbourne&lt;/a> is a Melbourne-based hackathon that was run last weekend (August 8/9) and is open to all university and TAFE students in Victoria.&lt;/p>
&lt;p>Over the past few years, I&amp;rsquo;ve heard &lt;em>lots&lt;/em> about hackathons, particularly the ones run in the USA, and the amount of creative potential they seem to unleash. You hear the stories about how Facebook Video and Chat &lt;a href="https://www.facebook.com/video/video.php?v=238358730483">emerged from hackathons&lt;/a>. This, for me, sounded exciting.&lt;/p>
&lt;blockquote>
&lt;p>An opportunity to stand out from the crowd.&lt;/p>
&lt;/blockquote>
&lt;p>I come up with a fair few ideas every month but, most of the time, I don&amp;rsquo;t have the courage to pursue them, having had failed projects in the past along with the feeling that comes with working on a project for too long (and not making much progress). This hackathon presented an opportunity for me to build something quickly, just a prototype, and an opportunity to stand out from the crowd. The reason I say this could make me stand out is that I&amp;rsquo;ve always felt like a stock-standard programmer - I have experience to do things but, when I browse Github or code that my colleagues write, I feel that I lack the skill they do.&lt;/p>
&lt;p>UNIHACK, like many hackathons, centred itself around a theme, &amp;lsquo;discovery&amp;rsquo;, which made it easier to narrow down what I wanted to build. I came up with the idea for &lt;a href="http://craft.lc/">Craft!&lt;/a> about a week before the hackathon began and that week felt like forever, I felt super eager to get started.&lt;/p>
&lt;p>I gained a number of new skills at the hackathon, not ones that might be particularly useful working in the real world, but would help me achieve personal goals.&lt;/p>
&lt;p>The first thing I learned was to time manage, right from the start. I spent a good few hours trying to get a specific part of the code working and, as always, it was one line of code that fixed it. I tend to do this with exams and assignments, where I get stuck on a question for too long and don&amp;rsquo;t move on.&lt;/p>
&lt;p>Secondly, I found that it&amp;rsquo;s far better to build a simple prototype, completely lacking in features but with one main component (the main idea). Initially, my plan was to build a Minecraft server automator (&amp;lsquo;one-click&amp;rsquo;) with a number of tiered plans (hourly pricing). I thought I could crank out a bunch of features in a short amount of time. I was wrong. I&amp;rsquo;m not trying to discourage anyone reading this, and to clarify, I was working with Python (easy, right?), which I learned a month ago. I was also using the &lt;a href="http://flask.pocoo.org/">Flask&lt;/a> framework, which I hadn&amp;rsquo;t touched until a day before the hackathon.&lt;/p>
&lt;p>The third thing I learned is probably the most important - share your ideas. I came into the hackathon intent on keeping my idea to myself, that I would be sharing it a couple days later anyway, everyone could wait. This is entirely the wrong approach. Think about it. You&amp;rsquo;re at a hackathon with a bunch of other like-minded people. They think like you but not &lt;em>exactly&lt;/em> like you - so, of course, they could &lt;em>add&lt;/em> to your idea. They might even want to &lt;em>help you work on it&lt;/em>. At a hackathon, sharing will help you flesh out your idea and make new friends.&lt;/p>
&lt;blockquote>
&lt;p>No one will put you down.&lt;/p>
&lt;/blockquote>
&lt;p>Don&amp;rsquo;t worry about who wins the hackathon (if anyone wins) - the judges are not there so much to criticise but to provide feedback that might help your product function in the real world.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20What%20I%20learned%20at%20UNIHACK%20Melbourne">Reply via email</a></description></item><item><title>The Perfect Weechat Setup</title><link>https://hugo.md/post/the-perfect-weechat-setup-2/</link><pubDate>Sat, 26 Jul 2014 13:41:12 +1000</pubDate><guid>https://hugo.md/post/the-perfect-weechat-setup-2/</guid><description>
&lt;h3 id="update-130815">Update 13/08/15&lt;/h3>
&lt;p>I&amp;rsquo;ve been getting a few emails asking for my configuration files so I&amp;rsquo;ve uploaded them: &lt;a href="http://s3.hugo.sx/files/weechat/13-07-15/weechat.conf">weechat.conf&lt;/a>, irc.conf (temporarily unavailable). &amp;ldquo;weechat.conf&amp;rdquo; contains general configurations for looks but &amp;ldquo;irc.conf&amp;rdquo; contains a setting that lets you create indented channels, under their respective server.&lt;/p>
&lt;h3 id="what-well-be-doing">What we&amp;rsquo;ll be doing&lt;/h3>
&lt;ol>
&lt;li>Important things to know&lt;/li>
&lt;li>Installing &lt;a href="http://weechat.org/">Weechat&lt;/a>.&lt;/li>
&lt;li>Installing plugins&lt;/li>
&lt;li>Making it look pretty.&lt;/li>
&lt;li>Setting up &lt;a href="http://wiki.znc.in/ZNC">ZNC&lt;/a> which lets you stay connected to IRC indefinitely.&lt;/li>
&lt;/ol>
&lt;h3 id="prior-knowledge">Prior knowledge&lt;/h3>
&lt;p>Before we get started, it&amp;rsquo;s vital that you have some command line experience, whether it&amp;rsquo;s a little bash here and there or programming. I say this not to dissuade you from installing weechat but because if you don&amp;rsquo;t like CLI (Command Line Interface), you&amp;rsquo;d be far more comfortable using a GUI (Graphic User Interface).&lt;/p>
&lt;h5 id="weechatirc-terminology">Weechat/IRC terminology&lt;/h5>
&lt;ul>
&lt;li>&lt;code>buffers&lt;/code> are essentially &amp;lsquo;windows&amp;rsquo; in which messages/chats/settings options are shown. You can generally switch between these using &lt;code>meta-[1 .. 9]&lt;/code>. The first buffer, labelled 1, contains connected server buffers by default, that&amp;rsquo;s the servers you&amp;rsquo;re connected to. You can switch between these servers using &lt;code>Ctrl+X&lt;/code>, that&amp;rsquo;s &lt;em>not&lt;/em> the same as switching between buffers.&lt;/li>
&lt;li>key bindings - escape is the &amp;lsquo;meta&amp;rsquo; key on Mac.&lt;/li>
&lt;li>&lt;code>/query&lt;/code> and &lt;code>/msg&lt;/code> do different things - &lt;code>/query&lt;/code> opens a new buffer in which you can type messages to users while &lt;code>/msg&lt;/code> will send a direct message to a user without opening a buffer.&lt;/li>
&lt;li>the weechat configuration system runs on a specific hierarchy (it&amp;rsquo;s quite smart) - specific settings are denoted by the label they start with. For instance, general IRC settings are denoted by &lt;code>irc&lt;/code> while weechat settings are denoted by &lt;code>weechat&lt;/code>. This is generally useful to know when modifying configuration from within weechat, which you can do using &lt;code>/set [options]&lt;/code>.&lt;/li>
&lt;li>Browsing options - you can use the iset.pl plugin to search for key terms in configuration or you can use &lt;code>/set weechat.*&lt;/code> and &lt;code>/set irc.*&lt;/code> to view settings available. You can use the &lt;code>*&lt;/code> symbol to list all options available in that hierarchy.&lt;/li>
&lt;/ul>
&lt;p>Keeping these points in mind, we can begin our install and setup.&lt;/p>
&lt;h3 id="install">Install&lt;/h3>
&lt;p>Head over to &lt;a href="http://weechat.org/">weechat.org&lt;/a> and download it from source or just use the repositories available on most linux distros:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">sudo apt-get install weechat&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>You can also use &lt;a href="http://brew.sh/">homebrew&lt;/a> on Mac.http://brew.sh/.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Or even &lt;a href="https://www.macports.org/">Macports&lt;/a>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">sudo port install weechat&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>On Windows, you can use &lt;a href="http://www.cygwin.com/">Cygwin&lt;/a>, although I haven&amp;rsquo;t personally experiemented with it.&lt;/p>
&lt;p>More information on installing can be found in the &lt;a href="https://weechat.org/files/doc/stable/weechat_user.en.html#install">weechat documenation&lt;/a>.&lt;/p>
&lt;h3 id="plugins">Plugins&lt;/h3>
&lt;p>Now onto one of my favourite parts about weechat. The plugins. Weechat has a whole range of plugins for just about everything you can and can&amp;rsquo;t think of. Most of the scripts are available &lt;a href="http://weechat.org/scripts/">here&lt;/a> and those that aren&amp;rsquo;t are likely on Github.&lt;/p>
&lt;p>The scripts that I currently use are:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="http://weechat.org/scripts/source/buddylist.pl.html/">buddylist.pl&lt;/a>
&lt;ul>
&lt;li>creates a buddy list of select nicknames and tells you if they&amp;rsquo;re online. Also allows you to easily query/message them&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="http://weechat.org/scripts/source/buffers.pl.html/">buffers.pl&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://weechat.org/scripts/source/iset.pl.html/">iset.pl&lt;/a>
&lt;ul>
&lt;li>settings browser&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="http://weechat.org/scripts/source/notification_center.py.html/">notification_center.py&lt;/a>
&lt;ul>
&lt;li>show &lt;a href="http://i.sqr.cat/VeZN/+">notifications&lt;/a> on Mac&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="http://weechat.org/scripts/source/prism.py.html/">prism.py&lt;/a>
&lt;ul>
&lt;li>send rainbow coloured text&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="http://weechat.org/scripts/source/text_item.py.html/">text_item.py&lt;/a>
&lt;ul>
&lt;li>useful when adding custom text to the status bar&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="http://weechat.org/scripts/source/urlserver.py.html/">urlserver.py&lt;/a>
&lt;ul>
&lt;li>if an URL goes across two lines in weechat, it has a tendency to break the link for me, this plugin automatically shortens all URLs on a localhost.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="http://weechat.org/scripts/source/shell.py.html/">shell.py&lt;/a>
&lt;ul>
&lt;li>lets you run shell commands from weechat and pipe them to chat. (My favourite is &lt;code>/shell -o toilet -F border -f future --gay --irc &amp;quot;This is pretty cool...&amp;quot;&lt;/code>)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>Most of these plugins are fairly easy to install, you can just use the following command:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">/script install &lt;span class="o">[&lt;/span>plugin&lt;span class="o">]&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Or, if the plugin isn&amp;rsquo;t available in the weechat repository, you can download it and place it in the &lt;code>~/.weechat/plugins&lt;/code> folder.&lt;/p>
&lt;p>Typing &lt;code>/script&lt;/code> will give you a list of available plugins to install - you can then use the arrow keys to navigate through the list and then type &lt;code>i&lt;/code> followed by the enter key to install the selected plugin.&lt;/p>
&lt;h3 id="making-it-look-pretty">Making it look pretty&lt;/h3>
&lt;p>There&amp;rsquo;s a lot you can do to weechat to make it look the way you want but I personally love the amount of colour-related customisation available. I explained how the settings worked in &lt;em>Weechat/IRC terminology&lt;/em> section and while you can choose to use &lt;code>/set weechat.*&lt;/code> to find all of the settings, it&amp;rsquo;s significantly easier to use the iset plugin.&lt;/p>
&lt;p>To use iset, simply go to any buffer and type &lt;code>/iset&lt;/code>, this will open up a new buffer with a long list of all the weechat settings. From there, you can type in the name of a setting you might want to change or simply browse through the list of settings. What makes iset especially useful is the fact that it will explain what the settings change.&lt;/p>
&lt;p>I&amp;rsquo;m currently using toggles so that I can hide certain parts of the interface when I want to, including the nicklist, the topic, the status and the buffer list. This &lt;a href="http://weechat.org/files/doc/devel/weechat_user.en.html#screen_layout">weechat wiki page&lt;/a> does a very good job of explaining the screen layout, which will be good to know when you&amp;rsquo;re changing settings.&lt;/p>
&lt;p>Toggles are fairly simple to setup, for example, to toggle the buffer bar, press &lt;code>Esc + B&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">/key &lt;span class="nb">bind&lt;/span> meta-b /bar toggle buffers&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>My weechat currently looks like this:
&lt;img src="http://i.hugo.sx/ss/4o5bT.png" alt="Weechat 1">
&lt;/p>
&lt;p>The main changes I&amp;rsquo;ve made are:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">/set weechat.look.buffer_time_format
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.prefix_align “right”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.align_end_of_lines message
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.prefix_same_nick “↳”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.prefix_join “—&amp;gt;”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.prefix_quit &amp;lt;—”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.buffer_time_format “%H:%M”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.prefix_align “none”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.align_end_of_lines “message”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.prefix_same_nick “”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.prefix_join “”
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set irc.look.display_host_quit off
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set irc.look.display_host_join off
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set irc.look.display_host_join_local off
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set irc.look.color_nicks_in_server_messages off
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set buffers.look.show_number off
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">/set weechat.look.read_marker none&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;h3 id="setting-up-znc">Setting up ZNC&lt;/h3>
&lt;p>&lt;a href="http://znc.in/">ZNC&lt;/a> is what&amp;rsquo;s called an IRC bouncer and is particularly useful if you want to remain connected to an IRC server all the time. It&amp;rsquo;s nice to be able to connect to a server and have some &amp;lsquo;history&amp;rsquo; of the channel; you can see what people have been discussing and then add to the conversation immediately. It also allows other users to leave you a message.&lt;/p>
&lt;p>&lt;a href="https://www.digitalocean.com/">DigitalOcean&lt;/a> has a particularly &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-znc-an-irc-bouncer-on-an-ubuntu-vps">good guide&lt;/a> on setting up ZNC that should work on most servers or on a home computer.&lt;/p>
&lt;p>Now that I look back at the top paragraph I realise I haven&amp;rsquo;t explained ZNC all that well. The essence of it is, you run a server that connects to IRC for you, then, when you want to use IRC, you connect via that server.&lt;/p>
&lt;p>If you can&amp;rsquo;t afford to pay $5 a month to run ZNC, haven&amp;rsquo;t the know-how with Linux to set it up, can&amp;rsquo;t be bothered or don&amp;rsquo;t have a homeserver you can use, shoot me a message on &lt;a href="http://twitter.com/hugojmd">Twitter&lt;/a> or elsewhere and I&amp;rsquo;d be happy to set up an account for you on my own server.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20The%20Perfect%20Weechat%20Setup">Reply via email</a></description></item><item><title>How I bypassed my school's proxy</title><link>https://hugo.md/post/how-i-bypassed-my-schools-proxy/</link><pubDate>Tue, 11 Feb 2014 11:18:56 +1100</pubDate><guid>https://hugo.md/post/how-i-bypassed-my-schools-proxy/</guid><description>
&lt;p>In my final year of schooling, I worked out how I could bypass my school&amp;rsquo;s proxy. A shame that I discovered it so late, but hopefully those reading this may be able to get a bit more use out of it than I did (only a few months!).&lt;/p>
&lt;p>This idea/hack will really depend on your school&amp;rsquo;s proxy system but it should, theoretically, work on most networks (don&amp;rsquo;t quote me on this). My school happened to be using &lt;a href="https://www.fortiguard.com/">Fortiguard&lt;/a>, which tended to block the usual things like Facebook, YouTube, etc.&lt;/p>
&lt;p>&lt;strong>Requirements&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>A fast internet connection at home (1 Mbps up, at least).&lt;/li>
&lt;li>A fast internet connection at school, if it has a high down speed, it&amp;rsquo;ll increase the speed with which web pages load through the tunnel we&amp;rsquo;ll be setting up.&lt;/li>
&lt;li>Access to a Linux system at home. This could be running Linux on an old laptop at home or, in my case, having a &lt;a href="http://raspberrypi.org/">Raspberry Pi&lt;/a>.&lt;/li>
&lt;li>Ability to open specific ports through your ISP.&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Let&amp;rsquo;s do this.&lt;/strong>&lt;/p>
&lt;ol>
&lt;li>Open a port through your ISP and then in your router. This usually involves logging into your ISP&amp;rsquo;s administration website and opening ports. I was only able to open port 443, 22, and a few others. For this hack, ideally you&amp;rsquo;ll want to open port 443, that way your school won&amp;rsquo;t be able to block you. After you&amp;rsquo;ve done that, you should be able to navigate to your WiFi router at http://192.168.1.1/, you can find out what the URL is &lt;a href="http://portforward.com/default_username_password/">here&lt;/a>. Forward the port you opened through your ISP, on your local network, for the Linux server/computer you&amp;rsquo;ll be connecting to. You&amp;rsquo;ll also want to &lt;a href="http://www.canyouseeme.org/">check whether the port is open&lt;/a>.&lt;/li>
&lt;li>Once you&amp;rsquo;ve completed those relatively easy steps, we can move onto the fun part. When you&amp;rsquo;re connected to your school network, you can create an SSH tunnel to your server at home:&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">ssh -p &lt;span class="m">443&lt;/span> -ND &lt;span class="m">8080&lt;/span> root@YOURIP&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>In the above code, 443 is the port you forwarded and 8080 is the one you&amp;rsquo;ll be routing local traffic through. &amp;lsquo;YOURIP&amp;rsquo; is just your computers IP (not the local one).&lt;/p>
&lt;p>I&amp;rsquo;ll be updating this blog post with further information on how to route local traffic through the tunnel on Mac OS X, Linux and Windows.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20How%20I%20bypassed%20my%20school%27s%20proxy">Reply via email</a></description></item><item><title>I'm an Idiot</title><link>https://hugo.md/post/im-an-idiot/</link><pubDate>Mon, 20 Jan 2014 09:57:55 +1100</pubDate><guid>https://hugo.md/post/im-an-idiot/</guid><description>
&lt;p>I&amp;rsquo;ve been working on a pretty big project on Github with a couple of developers. It has a lot of potential and requires a lot of work.&lt;/p>
&lt;p>We happen to be using a &lt;a href="http://en.wikipedia.org/wiki/Content_delivery_network">Content Delivery Network&lt;/a> (CDN), because we&amp;rsquo;re hosting files.&lt;/p>
&lt;p>I thought I would be smart, and route all traffic via the server before routing to the CDN. This would then allow me to restrict access to the files so that they could only be accessed by specific referers (specific IP addresses or websites). Sounds great, right? &lt;strong>Wrong.&lt;/strong> By doing this, the CDN would be rendered useless because all traffic would go through the main server, then the CDN, rather than straight to the CDN.&lt;/p>
&lt;p>I&amp;rsquo;m an idiot.&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20I%27m%20an%20Idiot">Reply via email</a></description></item><item><title>The Pirate Bay Perpetual IP Address</title><link>https://hugo.md/post/the-pirate-bay-perpetual-ip-address/</link><pubDate>Tue, 17 Dec 2013 02:34:10 +1100</pubDate><guid>https://hugo.md/post/the-pirate-bay-perpetual-ip-address/</guid><description>
&lt;p>&lt;strong>&lt;em>Disclaimer: this is old and doesn&amp;rsquo;t work anymore, but I&amp;rsquo;m going to leave it up here for posterity.&lt;/em>&lt;/strong>&lt;/p>
&lt;p>I can&amp;rsquo;t say I&amp;rsquo;m amused by the changing from .sx to .ac and then to .pe. It&amp;rsquo;s annoying.&lt;/p>
&lt;p>Open up Terminal, type &lt;code>sudo nano /etc/hosts&lt;/code>, add a new line with the following:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">194.71.107.80 thepirate.bay &lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now you can browse to &lt;a href="http://thepirate.bay/">http://thepirate.bay/&lt;/a> instead of having to remember which domain name extension they&amp;rsquo;ve moved to.&lt;/p>
&lt;p>&lt;em>Obligatory: torrenting is bad and you should feel bad!&lt;/em>&lt;/p><a href="mailto:blog@hu.md?subject=RE%3a%20The%20Pirate%20Bay%20Perpetual%20IP%20Address">Reply via email</a></description></item><item><title>Making a Toggle for Screen Recording in Android 4.4</title><link>https://hugo.md/post/making-a-toggle-for-screen-recording-in-android-4-4/</link><pubDate>Sat, 02 Nov 2013 12:18:09 +1100</pubDate><guid>https://hugo.md/post/making-a-toggle-for-screen-recording-in-android-4-4/</guid><description>
&lt;p>Last night I made a blog post on how to screen record. This morning, I decided to make toggles with Tasker so that I could do it all from my phone easily, without a computer.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Install &lt;a href="https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm">Tasker&lt;/a>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Install &lt;a href="https://play.google.com/store/apps/details?id=stericson.busybox">BusyBox&lt;/a>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Copy &lt;a href="http://i.hugo.sx/UauN/download/screen.sh">this file&lt;/a> to /sdcard/ with ADB;&lt;/p>
&lt;pre>&lt;code> ./adb push screen.sh /sdcard/screen.sh
&lt;/code>&lt;/pre>
&lt;/li>
&lt;li>
&lt;p>Next you can use &lt;code>./adb shell&lt;/code> to get into your phone&amp;rsquo;s terminal.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Type &lt;code>su&lt;/code>, a super user prompt should appear on your phone, grant permissions.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Type &lt;code>cd /sdcard/&lt;/code> followed by &lt;code>mkdir screens&lt;/code> and then &lt;code>chmod 777 screen.sh&lt;/code> (not that I used 777 because it&amp;rsquo;s on my phone and no one else has access, it&amp;rsquo;s not normally a good idea).&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Now open up Tasker, go to the Tasks tab, hit the + button at the bottom right, create a &amp;lsquo;Start&amp;rsquo; task. Tap the &amp;lsquo;Start&amp;rsquo; task, then hit the + down the bottom, then Script and then Run Shell.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Toggle &amp;lsquo;Use Root&amp;rsquo; and set this command: &lt;code>sh /sdcard/screen.sh&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Now create another task with the same parameters, with the name &amp;lsquo;End&amp;rsquo;.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Set this shell command: &lt;code>kill -2 $(pidof screenrecord)&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Now you can go to your homescreen, create a new Tasker wiget, select Start and End. (Note: you&amp;rsquo;ll have to set an application icon for each of the tasks, this can be done by editing the task and tapping the button on the bottom right).&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Your screen recordings will be saved under /sdcard/screens with the filename screen_TIMESTAMP.mp4 (where timestamp is a simple &lt;code>date +%s&lt;/code> command). You can now upload them over USB or via something like Dropbox.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>I took the liberty of uploading an example video.&lt;/p>
&lt;iframe width="420" height="315" src="//www.youtube.com/embed/abc-iEBWHHY" frameborder="0" allowfullscreen>&lt;/iframe><a href="mailto:blog@hu.md?subject=RE%3a%20Making%20a%20Toggle%20for%20Screen%20Recording%20in%20Android%204.4">Reply via email</a></description></item><item><title>Android KitKat Native Screen Recording</title><link>https://hugo.md/post/android-kitkat-native-screen-recording/</link><pubDate>Fri, 01 Nov 2013 22:16:59 +1100</pubDate><guid>https://hugo.md/post/android-kitkat-native-screen-recording/</guid><description>
&lt;p>I&amp;rsquo;ve just tried it out and it is absolutely awesome!&lt;/p>
&lt;p>Before I start, I&amp;rsquo;d like to thank Android Police for the initial information on how to do it, in &lt;a href="http://www.androidpolice.com/2013/10/31/kitkat-feature-spotlight-android-4-4-includes-native-screen-recording-with-mp4-output/">this article&lt;/a>.&lt;/p>
&lt;p>There are two ways to go about this, the first is to use a terminal emulator (you&amp;rsquo;ll need root) on your phone to execute the commands and the second is to download ADB and execute the commands through your terminal.&lt;/p>
&lt;p>Additionally, the command has the following paremeters, the notable limitation being that it can only record for a maximum of 3 minutes.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">Usage: screenrecord &lt;span class="o">[&lt;/span>options&lt;span class="o">]&lt;/span> &amp;lt;filename&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Records the device&lt;span class="s1">&amp;#39;s display to a .mp4 file.
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> Options:
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> --size WIDTHxHEIGHT
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> Set the video size, e.g. &amp;#34;1280x720&amp;#34;. Default is the device&amp;#39;&lt;/span>s main
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> display resolution &lt;span class="o">(&lt;/span>&lt;span class="k">if&lt;/span> supported&lt;span class="o">)&lt;/span>, 1280x720 &lt;span class="k">if&lt;/span> not. For best results,
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> use a size supported by the AVC encoder.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> --bit-rate RATE
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Set the video bit rate, in megabits per second. Default 4Mbps.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> --time-limit TIME
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Set the maximum recording time, in seconds. Default / maximum is 180.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> --rotate
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Rotate the output &lt;span class="m">90&lt;/span> degrees.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> --verbose
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Display interesting information on stdout.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> --help
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Show this message.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Recording continues &lt;span class="k">until&lt;/span> Ctrl-C is hit or the &lt;span class="nb">time&lt;/span> limit is reached.&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Further documentation is available &lt;a href="http://developer.android.com/tools/help/adb.html#screenrecord">here&lt;/a>.&lt;/p>
&lt;hr>
&lt;h4 id="method-1---terminal--super-user">Method 1 - Terminal &amp;amp; Super User&lt;/h4>
&lt;p>Make sure you&amp;rsquo;ve applied &lt;a href="http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip">ChainFire&amp;rsquo;s superSU&lt;/a> and have a rooted device. Download a terminal emulator, I used &lt;a href="https://play.google.com/store/apps/details?id=jackpal.androidterm">this one&lt;/a>.&lt;/p>
&lt;p>Open up the terminal emulator and type the following:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">su&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>A little SuperUser popup should appear, grant permission. This will give the terminal root access. Next type this in:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">screenrecord /sdcard/FILE.mp4&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Now you can make your screen recording. Once you&amp;rsquo;ve finished, head back to the emulator and press Volume Down + C, a little &lt;code>^C&lt;/code> should appear, then press enter. You can then upload your screen recording via Dropbox or another app, or just transfer the file over USB.&lt;/p>
&lt;hr>
&lt;h4 id="method-2---adb">Method 2 - ADB&lt;/h4>
&lt;p>Download ADB (Android Debug Tool) which you can download from this &lt;a href="http://forum.xda-developers.com/showthread.php?t=1474956">XDA thread&lt;/a>, alternatively download it directly from &lt;a href="http://four-nineteen.com/veronica/XDA%20Developers/Nook%20Tablet/DRIVERs/ADB%20+%20Fastboot%20+%20Drivers.zip">here&lt;/a>. Neither of those are &amp;lsquo;proper&amp;rsquo; downloads. If you want to download directly from Google, you&amp;rsquo;ll need to download the &lt;a href="http://developer.android.com/sdk/index.html">SDK&lt;/a>.&lt;/p>
&lt;p>Okay, once that&amp;rsquo;s done, it&amp;rsquo;s pretty simple. Plug in your phone via USB, enable USB Debugging on your phone. Then open the folder containing ADB in Terminal and enter the following:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">./adb shell screenrecord /sdcard/FILE.mp4&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>Once you&amp;rsquo;ve done that, it will begin recording. It might also be a good idea to go into Developer Options and enable &amp;lsquo;Show Touches&amp;rsquo;, so that people can see what you&amp;rsquo;re touching.&lt;/p>
&lt;p>When you&amp;rsquo;ve finished recording, hit Ctrl+C in Terminal to end the process, then use the following command to download the file:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">./adb pull /sdcard/FILE.mp4&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;p>I tried it out myself;&lt;/p>
&lt;iframe width="420" height="315" src="//www.youtube.com/embed/Uc_BDxcLikE" frameborder="0" allowfullscreen>&lt;/iframe><a href="mailto:blog@hu.md?subject=RE%3a%20Android%20KitKat%20Native%20Screen%20Recording">Reply via email</a></description></item></channel></rss>