<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tools on Ken Huang</title>
    <link>https://blog.kenhuang.io/tags/tools/</link>
    <description>Recent content in Tools on Ken Huang</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>whatacold@gmail.com (Ken Huang)</managingEditor>
    <webMaster>whatacold@gmail.com (Ken Huang)</webMaster>
    <lastBuildDate>Wed, 26 Feb 2025 01:01:04 +0800</lastBuildDate>
    <atom:link href="https://blog.kenhuang.io/tags/tools/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>An Online Python re.findall Service</title>
      <link>https://blog.kenhuang.io/blog/2020-10-21-a-python-re.findall-service/</link>
      <pubDate>Wed, 21 Oct 2020 22:51:00 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2020-10-21-a-python-re.findall-service/</guid>
      <description>&lt;p&gt;&#xA;As a programmer, I know that &lt;a href=&#34;https://www.gnu.org/s/grep/manual/grep.html&#34;&gt;grep&lt;/a&gt;, &lt;a href=&#34;https://www.gnu.org/software/sed/manual/sed.html&#34;&gt;sed&lt;/a&gt; and &lt;a href=&#34;https://www.gnu.org/software/gawk/manual/gawk.html&#34;&gt;awk&lt;/a&gt; are powerful for processing text, but they sometimes aren&amp;#39;t that straight-forward for specific tasks, as I need to think about how to filter the lines and the columns out.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;So I wonder if there is a handy way to do these tasks?&lt;/p&gt;&#xA;&lt;p&gt;&#xA;After using it for a while, I think using regex directly can help, so I launched a &lt;a href=&#34;https://texttoolkit.com/re.findall&#34;&gt;re.findall service&lt;/a&gt; building on top of Python &lt;code class=&#34;verbatim&#34;&gt;re.findall&lt;/code&gt; API.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Manage SSH Connections with ~/.ssh/config</title>
      <link>https://blog.kenhuang.io/blog/2019-12-22-manage-ssh-connections-with-ssh-config/</link>
      <pubDate>Sun, 22 Dec 2019 18:52:00 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2019-12-22-manage-ssh-connections-with-ssh-config/</guid>
      <description>&lt;p&gt;&#xA;I used to manage &lt;a href=&#34;https://en.wikipedia.org/wiki/SSH_(Secure_Shell)&#34;&gt;SSH&lt;/a&gt; connection with such GUI apps as &lt;a href=&#34;https://mobaxterm.mobatek.net/&#34;&gt;MobaXterm&lt;/a&gt;, when I wrote code on Windows at work. As I changed my workflow to use a tiling window manager in a &lt;a href=&#34;https://www.virtualbox.org/&#34;&gt;VirtualBox&lt;/a&gt; guest OS, I continued to improve my way of managing SSH connections, which I want to share here if you don&amp;#39;t know yet.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;At first, I baked a helper Python script, which I named as qssh for &amp;#34;quick ssh&amp;#34;, to help me assemble ssh arguments for me(such as username, Ip, port, etc.), so that I can easily access a host by giving it only one argument, e.g. &lt;code class=&#34;verbatim&#34;&gt;qssh foo&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Change Web Page Titles Easily</title>
      <link>https://blog.kenhuang.io/blog/2019-08-18-how-to-rename-web-page-titles-in-a-lightweight-way/</link>
      <pubDate>Sun, 18 Aug 2019 14:57:00 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2019-08-18-how-to-rename-web-page-titles-in-a-lightweight-way/</guid>
      <description>&lt;p&gt;&#xA;There are times that I need to open many web pages of some specific websites within a browser, and there are so many tabs that I can&amp;#39;t efficiently access one of them, as their favicons are all the same.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;So I tried to find a way to rename their titles, preferably in a lightweight way, so that I can spot them quickly with my eyes.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;The first thought came into my mind was to find some browser extensions to do the job. It was easy to install one with no time. But I was not very happy with the experience. It seems that it keeps the rule of renaming titles based on the URL so that the title will always be renamed if I refreshing it, which is not what I want. I&amp;#39;d rather want to do it in an ad-hoc way.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ER Diagrams in Plain Text</title>
      <link>https://blog.kenhuang.io/blog/2019-07-06-render-erd-on-the-web/</link>
      <pubDate>Sat, 06 Jul 2019 11:59:00 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2019-07-06-render-erd-on-the-web/</guid>
      <description>&lt;p&gt;&#xA;If you ever wonder how to plot &lt;a href=&#34;https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model&#34;&gt;ER diagrams&lt;/a&gt; in plain text, you may have already heard of &lt;a href=&#34;https://github.com/BurntSushi/erd&#34;&gt;erd&lt;/a&gt;.&#xA;It&amp;#39;s a cool command line program written by Andrew Gallant in Haskell, to &amp;#34;compile&amp;#34; plain text files into nicely looking images,&#xA;leveraging the power of &lt;a href=&#34;https://graphviz.org/&#34;&gt;GraphViz&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;I&amp;#39;ve used erd for some time, it&amp;#39;s cool and the syntax is quite simple.&#xA;It&amp;#39;s also quite simple to install it on Linux, just install GraphViz and erd itself,&#xA;by following the instructions in the README page.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
