<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ENV on Zet’s playground</title>
    <link>https://blog.zet.tw/en/tags/env/</link>
    <description>Recent content in ENV on Zet’s playground</description>
    <image>
      <title>Zet’s playground</title>
      <url>https://blog.zet.tw/img/blog-cover.png</url>
      <link>https://blog.zet.tw/img/blog-cover.png</link>
    </image>
    <generator>Hugo -- 0.139.0</generator>
    <language>en</language>
    <lastBuildDate>Sat, 07 Feb 2026 00:00:00 +0800</lastBuildDate>
    <atom:link href="https://blog.zet.tw/en/tags/env/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Nerd Fonts</title>
      <link>https://blog.zet.tw/en/posts/2026-02-07-nerd-font/</link>
      <pubDate>Sat, 07 Feb 2026 00:00:00 +0800</pubDate>
      <guid>https://blog.zet.tw/en/posts/2026-02-07-nerd-font/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.nerdfonts.com/assets/img/sankey-glyphs-combined-diagram.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;Nerd Fonts - &lt;a href=&#34;https://www.nerdfonts.com/&#34;&gt;https://www.nerdfonts.com/&lt;/a&gt; includes many monospaced fonts that are especially well suited to terminals and code editors. Nerd Fonts adds a large set of icons that can display the glyphs used by git, programming languages and CLIs.&lt;/p&gt;
&lt;p&gt;After downloading you&amp;rsquo;ll see a lot of font files. Take the MesloLG font that I commonly use as an example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MesloLGMDZNerdFontMono-Bold&lt;/li&gt;
&lt;li&gt;MesloLGMDZNerdFontMono-BoldItalic&lt;/li&gt;
&lt;li&gt;MesloLGMDZNerdFontMono-Italic&lt;/li&gt;
&lt;li&gt;MesloLGMDZNerdFontMono-Regular&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The naming carries a lot of meaning:&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p><img loading="lazy" src="https://www.nerdfonts.com/assets/img/sankey-glyphs-combined-diagram.png" alt=""  />
</p>
<p>Nerd Fonts - <a href="https://www.nerdfonts.com/">https://www.nerdfonts.com/</a> includes many monospaced fonts that are especially well suited to terminals and code editors. Nerd Fonts adds a large set of icons that can display the glyphs used by git, programming languages and CLIs.</p>
<p>After downloading you&rsquo;ll see a lot of font files. Take the MesloLG font that I commonly use as an example:</p>
<ul>
<li>MesloLGMDZNerdFontMono-Bold</li>
<li>MesloLGMDZNerdFontMono-BoldItalic</li>
<li>MesloLGMDZNerdFontMono-Italic</li>
<li>MesloLGMDZNerdFontMono-Regular</li>
</ul>
<p>The naming carries a lot of meaning:</p>
<p>MesloLG {S,M,L} {DZ,SZ} {Mono,Propo} {Bold,BoldItalic,Italic,Regular}</p>
<ul>
<li>{S,M,L} the small, medium or large line gap</li>
<li>{DZ,SZ} DZ stands for Dotted Zero — the digit 0 has a dot in the middle. The opposite is SZ (Slashed Zero), where the 0 has a slash through it</li>
<li>{Mono,Propo} Mono is monospaced and better for terminals; Propo is proportional and doesn&rsquo;t force a fixed width, so it&rsquo;s better for reading and for things like slides</li>
<li>{Bold,BoldItalic,Italic,Regular} bold, italic</li>
</ul>
<p>For the official explanation see <a href="https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting">https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting</a></p>
<p>On each platform you can install via homebrew or scoop: <a href="https://github.com/ryanoasis/nerd-fonts?tab=readme-ov-file#font-installation">https://github.com/ryanoasis/nerd-fonts?tab=readme-ov-file#font-installation</a></p>
]]></content:encoded>
    </item>
    <item>
      <title>ASRock IPMI reset</title>
      <link>https://blog.zet.tw/en/posts/2020-09-05-asrock-ipmi-reset/</link>
      <pubDate>Sat, 05 Sep 2020 00:00:00 +0800</pubDate>
      <guid>https://blog.zet.tw/en/posts/2020-09-05-asrock-ipmi-reset/</guid>
      <description>&lt;p&gt;I bought a used ASRock server motherboard online and wanted to use its IPMI feature, but the password had already been changed, so I looked online for a way to reset it.&lt;/p&gt;
&lt;p&gt;First, boot into any Windows install and download Supermicro&amp;rsquo;s IPMICFG tool:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=IPMI&#34;&gt;https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=IPMI&lt;/a&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ipmicfg -user list
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Maximum number of Users          : 10
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Count of currently enabled Users : 1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;User ID | User Name | Privilege Level | Enable
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;--------|-----------|-----------------|-------
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;2       | admin     | Administrator   | Yes
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ipmicfg -user setpwd 2 admin
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Or reset it to factory defaults:&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I bought a used ASRock server motherboard online and wanted to use its IPMI feature, but the password had already been changed, so I looked online for a way to reset it.</p>
<p>First, boot into any Windows install and download Supermicro&rsquo;s IPMICFG tool:</p>
<p><a href="https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=IPMI">https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=IPMI</a></p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>ipmicfg -user list
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>Maximum number of Users          : 10
</span></span><span style="display:flex;"><span>Count of currently enabled Users : 1
</span></span><span style="display:flex;"><span>User ID | User Name | Privilege Level | Enable
</span></span><span style="display:flex;"><span>--------|-----------|-----------------|-------
</span></span><span style="display:flex;"><span>2       | admin     | Administrator   | Yes
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>ipmicfg -user setpwd 2 admin
</span></span></code></pre></div><p>Or reset it to factory defaults:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>ipmicfg -fd
</span></span></code></pre></div><p>ref</p>
<hr>
<p><a href="https://blog.kingj.net/2014/03/15/how-to/resetting-the-ipmi-password-on-the-e3c224d2i/">https://blog.kingj.net/2014/03/15/how-to/resetting-the-ipmi-password-on-the-e3c224d2i/</a>
<a href="https://support.siliconmechanics.com/portal/en/kb/articles/resetting-the-bmc">https://support.siliconmechanics.com/portal/en/kb/articles/resetting-the-bmc</a></p>
]]></content:encoded>
    </item>
    <item>
      <title>Some environment notes</title>
      <link>https://blog.zet.tw/en/posts/2016-08-05-evn/</link>
      <pubDate>Fri, 05 Aug 2016 00:00:00 +0800</pubDate>
      <guid>https://blog.zet.tw/en/posts/2016-08-05-evn/</guid>
      <description>&lt;p&gt;Notes on my environment; I&amp;rsquo;ll update with anything I missed later.&lt;/p&gt;
&lt;h1 id=&#34;fonts&#34;&gt;Fonts&lt;/h1&gt;
&lt;p&gt;Monospace fonts&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;monaco&lt;/li&gt;
&lt;li&gt;sourcecode pro&lt;/li&gt;
&lt;li&gt;Bitstream Vera Sans Mono&lt;/li&gt;
&lt;li&gt;ubuntu mono&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&#34;hardware&#34;&gt;Hardware&lt;/h1&gt;
&lt;p&gt;I set up a home server running Debian; total power draw stays under 30 watts — very power-efficient, great value!!! The only downside is there are only 2 SATA connectors and the motherboard doesn&amp;rsquo;t support RAID.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-diff&#34; data-lang=&#34;diff&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mb:asus N3150M-E
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ram:8G
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;storage:120G SSD + 1T
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;keyboard&#34;&gt;Keyboard&lt;/h2&gt;
&lt;p&gt;Ducky One 80% with brown switches; I swapped in PBT keycaps. PBT feels a bit powdery to the touch, and I bought ones that are easy to clean, at Cherry OEM profile height. It felt OEM at first but I got used to it after a few days.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Notes on my environment; I&rsquo;ll update with anything I missed later.</p>
<h1 id="fonts">Fonts</h1>
<p>Monospace fonts</p>
<ul>
<li>monaco</li>
<li>sourcecode pro</li>
<li>Bitstream Vera Sans Mono</li>
<li>ubuntu mono</li>
</ul>
<h1 id="hardware">Hardware</h1>
<p>I set up a home server running Debian; total power draw stays under 30 watts — very power-efficient, great value!!! The only downside is there are only 2 SATA connectors and the motherboard doesn&rsquo;t support RAID.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-diff" data-lang="diff"><span style="display:flex;"><span>mb:asus N3150M-E
</span></span><span style="display:flex;"><span>ram:8G
</span></span><span style="display:flex;"><span>storage:120G SSD + 1T
</span></span></code></pre></div><h2 id="keyboard">Keyboard</h2>
<p>Ducky One 80% with brown switches; I swapped in PBT keycaps. PBT feels a bit powdery to the touch, and I bought ones that are easy to clean, at Cherry OEM profile height. It felt OEM at first but I got used to it after a few days.</p>
<h1 id="software">Software</h1>
<h2 id="flux---protect-your-eyes">f.lux - protect your eyes</h2>
<pre><code>Protects your eyes by making white a bit more yellow, so your eyes tire less over long sessions; a larger font helps too, of course.
</code></pre>
<h2 id="karabiner---key-remapping">Karabiner - key remapping</h2>
<pre><code>&lt;https://pqrs.org/osx/karabiner/&gt;

You can remap macOS keys to turn F1-F12 into media controls like track switching and volume, etc. I also used the built-in tool to remap `Caps lock` to `ctrl`, which makes tmux nicer to use — just `Caps` + `a`.
</code></pre>
<h2 id="parallels-desktop---virtual-machines">parallels desktop - virtual machines</h2>
<pre><code>Coherence mode is awesome; I occasionally open IDA Pro or some Windows software.
</code></pre>
<h2 id="vanilla">VANILLA</h2>
<pre><code>&lt;http://matthewpalmer.net/vanilla/&gt;
</code></pre>
<h1 id="services">services</h1>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-diff" data-lang="diff"><span style="display:flex;"><span>docker - nginx - php - ubuntu for pwnable
</span></span><span style="display:flex;"><span>avahi-daemon  (log in directly via hostname.local on the LAN)
</span></span><span style="display:flex;"><span>time-machine (watch out for the disk format; I use ext4)
</span></span><span style="display:flex;"><span>samba
</span></span></code></pre></div><p>In iTerm I set up multiple profiles paired with a command like <code>ssh user@192.168.xx.xx</code>, using ssh keys; with <code>cmd</code> + <code>o</code> I can open a window and pick which host to log into directly — a huge quality-of-life boost.</p>
<h2 id="pwnable">pwnable</h2>
<p>Run with docker; I wrote a shell script to keep it separate from my regular dotfiles. Take a look if you&rsquo;re interested:
<a href="https://github.com/zet235/ctf-tools">https://github.com/zet235/ctf-tools</a></p>
<p>reference</p>
<hr>
<p><a href="https://samuelhewitt.com/blog/2015-09-12-debian-linux-server-mac-os-time-machine-backups-how-to">https://samuelhewitt.com/blog/2015-09-12-debian-linux-server-mac-os-time-machine-backups-how-to</a></p>
]]></content:encoded>
    </item>
  </channel>
</rss>
