<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>General | Snippets on Bas-Man's Musings</title><link>https://bas-man.dev/cheatsheets/general/snippets/</link><description>Recent content in General | Snippets on Bas-Man's Musings</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 07 Dec 2021 12:00:00 +0900</lastBuildDate><atom:link href="https://bas-man.dev/cheatsheets/general/snippets/index.xml" rel="self" type="application/rss+xml"/><item><title>Fix fonts for terminal in VS Code Editor</title><link>https://bas-man.dev/cheatsheets/general/snippets/vs-code-terminal/</link><pubDate>Tue, 07 Dec 2021 12:00:00 +0900</pubDate><guid>https://bas-man.dev/cheatsheets/general/snippets/vs-code-terminal/</guid><description>&lt;p&gt;I use zsh as my default shell. So I needed to add the following to my &lt;code&gt;settings.json&lt;/code&gt; file.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s2"&gt;&amp;#34;terminal.integrated.defaultProfile.osx&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;zsh&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For the fonts terminal profile says that I used &lt;code&gt;MesloLGS NF&lt;/code&gt; as my font. I added the following also to my &lt;code&gt;settings.json&lt;/code&gt; file.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s2"&gt;&amp;#34;terminal.integrated.fontFamily&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;MesloLGS NF&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;As result my VSCode terminal window now matches my default terminal.&lt;/p&gt;</description></item><item><title>Verify IMAP and submission port</title><link>https://bas-man.dev/cheatsheets/general/snippets/verify-imap-submission/</link><pubDate>Fri, 30 Jul 2021 23:00:00 +0900</pubDate><guid>https://bas-man.dev/cheatsheets/general/snippets/verify-imap-submission/</guid><description>&lt;p&gt;These hints were taken from &lt;a href="https://support.plesk.com/hc/en-us/articles/213961665-How-to-verify-that-SSL-for-IMAP-POP3-SMTP-works-and-a-proper-SSL-certificate-is-in-use"&gt;Support Plesk&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="imap-via-ssl-using-port-993"&gt;IMAP via SSL using port 993&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;openssl s_client -showcerts -connect mail.example.com:993 -servername mail.example.com
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="smtp-via-tlsstarttls-using-port-25-or-587"&gt;SMTP via TLS/StartTLS using port 25 or 587&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;openssl s_client -starttls smtp -showcerts -connect mail.example.com:25 -servername mail.example.com
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>