<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dylan Wang on Medium]]></title>
        <description><![CDATA[Stories by Dylan Wang on Medium]]></description>
        <link>https://medium.com/@Dylan.Wang?source=rss-b9d1ed621415------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MjtFuOWvPC6gyDvO0SFFJg.jpeg</url>
            <title>Stories by Dylan Wang on Medium</title>
            <link>https://medium.com/@Dylan.Wang?source=rss-b9d1ed621415------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:22:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Dylan.Wang/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Create a Manjaro Bootable USB from Ubuntu?]]></title>
            <link>https://medium.com/@Dylan.Wang/how-to-create-a-manjaro-bootable-usb-from-ubuntu-7511730ae7b7?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/7511730ae7b7</guid>
            <category><![CDATA[manjaro]]></category>
            <category><![CDATA[bootable-usb]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Tue, 21 Jan 2025 04:54:42 GMT</pubDate>
            <atom:updated>2025-01-21T04:54:42.993Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Download the Manjaro ISO.</li><li>Use dd command to create the Manjaro bootable USB.</li></ol><pre>sudo dd if=/home/dylan/Downloads/manjaro-xfce-24.2.1-241216-linux612.iso of=/dev/sdb bs=1M oflag=sync status=progress</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7511730ae7b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to quickly check the environment variables in the K8s pod]]></title>
            <link>https://medium.com/@Dylan.Wang/how-to-quickly-check-the-environment-variables-in-the-k8s-pod-4fc408aecf13?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fc408aecf13</guid>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[pods]]></category>
            <category><![CDATA[variables]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 08:03:54 GMT</pubDate>
            <atom:updated>2025-01-15T08:03:54.528Z</atom:updated>
            <content:encoded><![CDATA[<pre>kubectl exec -n &lt;NAMESPACE&gt; &lt;POD-NAME&gt; -- printenv|grep -i &lt;VARIABLE-NAME&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fc408aecf13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to rolling restart K8s deployment.]]></title>
            <link>https://medium.com/@Dylan.Wang/how-to-rolling-restart-k8s-deployment-c11e80592d46?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/c11e80592d46</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[rolling-restart]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 08:01:05 GMT</pubDate>
            <atom:updated>2025-01-15T08:01:05.535Z</atom:updated>
            <content:encoded><![CDATA[<pre>kubectl rollout restart deploy &lt;DEPLOYMENT-NAME&gt; -n &lt;NAMESPACE&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c11e80592d46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[在GKE上啟一個簡單的pod去測試網路]]></title>
            <link>https://medium.com/@Dylan.Wang/%E5%9C%A8gke%E4%B8%8A%E5%95%9F%E4%B8%80%E5%80%8B%E7%B0%A1%E5%96%AE%E7%9A%84pod%E5%8E%BB%E6%B8%AC%E8%A9%A6%E7%B6%B2%E8%B7%AF-71366c996ada?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/71366c996ada</guid>
            <category><![CDATA[shell]]></category>
            <category><![CDATA[gke]]></category>
            <category><![CDATA[pods]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Thu, 27 Jun 2024 08:22:57 GMT</pubDate>
            <atom:updated>2024-06-27T08:25:08.336Z</atom:updated>
            <content:encoded><![CDATA[<h3>Start a simple pod on GKE(K8s) to test the network</h3><blockquote># kubectl run -i --rm --tty busybox --image=busybox --restart=Never --sh</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71366c996ada" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android使用Fcitx5 for Android輸入嘸蝦米]]></title>
            <link>https://medium.com/@Dylan.Wang/android%E4%BD%BF%E7%94%A8fcitx5-for-android%E8%BC%B8%E5%85%A5%E5%98%B8%E8%9D%A6%E7%B1%B3-e68c364d6038?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/e68c364d6038</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[boshiamy]]></category>
            <category><![CDATA[fcitx]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Thu, 21 Dec 2023 09:35:32 GMT</pubDate>
            <atom:updated>2023-12-21T09:35:32.049Z</atom:updated>
            <content:encoded><![CDATA[<p>Fcitx5 for Android</p><p>什麼是Fcitx(中文名稱為「小企鵝輸入法」)，可以參考<a href="https://zh.wikipedia.org/zh-tw/Fcitx">https://zh.wikipedia.org/zh-tw/Fcitx</a></p><p>Fcitx原本是在Linux的，後來有人把它移植到Android，所以就可以在<a href="https://play.google.com/store/apps/details?id=org.fcitx.fcitx5.android&amp;pcampaignid=web_share">Google Play Store</a>免費下載。</p><p>如題，Fcitx5 for Android怎麼使用嘸蝦米呢? 首先，要說明嘸蝦米輸入法並沒有預載在Fcitx5 for Android裡，要匯入表格檔後，再經過一番設定才能使用。</p><ol><li>要先找到表格檔。<br>* 方法一: 在<a href="https://github.com/fcitx/fcitx5-table-extra/tree/master/tables">這裡</a>找boshiamy.conf.in與boshiamy.txt<br>* 方法二: 在<a href="https://pkgs.org/download/fcitx5-table-extra">這裡</a>找boshiamy.conf與boshiamy.main.dict</li><li>如何匯入表格檔:<br>-&gt; 先開啟Fcitx5 for Android(小企鵝輸入法)應用程式首頁。<br>-&gt; 點選「附加元件」。<br>-&gt; 看見「碼表」後，點選右方的小齒輪。<br>-&gt; 再點選「管理碼表輸入法」。<br>-&gt; 匯入 “conf.in 或 conf” 與 “.txt或.dict”。</li><li>如何新增嘸蝦米輸入法:<br>-&gt; 開啟Fcitx5 for Android(小企鵝輸入法)應用程式首頁。<br>-&gt; 點選「輸入法」。<br>-&gt; 點選右下角去加入嘸蝦米。</li></ol><p>參考來源: <a href="https://www.ptt.cc/bbs/Liu/M.1698929669.A.A7C.html">https://www.ptt.cc/bbs/Liu/M.1698929669.A.A7C.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e68c364d6038" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use cURL to Trigger Jenkins Job via enabling “Trigger builds remotely”?]]></title>
            <link>https://medium.com/@Dylan.Wang/how-to-use-curl-to-trigger-jenkins-job-via-enabling-trigger-builds-remotely-bdd4c612d0b2?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdd4c612d0b2</guid>
            <category><![CDATA[token]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[jenkins]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Mon, 20 Nov 2023 11:27:43 GMT</pubDate>
            <atom:updated>2023-11-20T11:27:43.873Z</atom:updated>
            <content:encoded><![CDATA[<p>Use cURL to trigger Jenkins job.</p><p>1. Enable “Trigger builds remotely”, and enter the “Authentication Token”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3RmlCHyDbL--UxXin4DEA.png" /></figure><p>2. cURL trigger command.</p><p>cURL command format:</p><pre>curl  -X POST &quot;https://&lt;JENKINS_URL&gt;/buildByToken/buildWithParameters?&quot; \<br>      --data &quot;token=&lt;AUTHENTICATION_TOKEN&gt;&quot; \<br>      --data &quot;job=&lt;JOB_NAME&gt;&quot; \<br>      --data &quot;param_name1=param_value1&quot;<br>      --data &quot;param_name2=param_value2&quot;</pre><p>cURL command example:</p><pre>curl  -X POST &quot;https://my-jenkins-url/buildByToken/buildWithParameters?&quot; \<br>      --data &quot;token=dGVzdAo=&quot; \<br>      --data &quot;job=TEST_JOB&quot; \<br>      --data &quot;ENV=dev&quot;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdd4c612d0b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[kubectl apply kustomize — dry-run]]></title>
            <link>https://medium.com/@Dylan.Wang/kubectl-apply-kustomize-dry-run-0559c51c4db4?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/0559c51c4db4</guid>
            <category><![CDATA[local]]></category>
            <category><![CDATA[test]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Thu, 12 Oct 2023 06:27:30 GMT</pubDate>
            <atom:updated>2023-10-12T06:28:01.890Z</atom:updated>
            <content:encoded><![CDATA[<h3><a href="https://jira-wiki.ruckuswireless.com/display/~dw1106/2023/09/04/kubectl+apply+kustomize+--dry-run">kubectl apply kustomize --dry-run</a></h3><p>local run before deploy K8s</p><pre>&gt; kubectl apply --dry-run=server -k path/to/kustomization(folder)<br><br>&gt; kubectl apply --dry-run=client -k path/to/kustomization(folder)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0559c51c4db4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to port forwarding from Windows host to WSL2.]]></title>
            <link>https://medium.com/@Dylan.Wang/how-to-port-forwarding-from-windows-host-to-wsl2-6889a5a3631c?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/6889a5a3631c</guid>
            <category><![CDATA[port-forwarding]]></category>
            <category><![CDATA[wsl-2]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Mon, 19 Dec 2022 08:02:27 GMT</pubDate>
            <atom:updated>2022-12-19T08:02:27.101Z</atom:updated>
            <content:encoded><![CDATA[<p>WSL2 Port Forwarding.</p><p>1. Create a file 「<strong>.wslconfig</strong>」 in 「<strong>C:\Users\&lt;UserName&gt;\</strong>」, the content is as the below,</p><pre>[wsl2]<br><br>localhostforwarding=true</pre><p>2. Type 「<strong>Win</strong>」+ 「<strong>R</strong>」，and then Enter 「<strong>cmd</strong>」。</p><p>3. Type the command as the below,</p><pre># <strong>wsl --shutdown</strong></pre><p>4. <strong>Wait 10 seconds</strong> before starting WSL.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6889a5a3631c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubuntu 22.04]]></title>
            <link>https://medium.com/@Dylan.Wang/how-to-fix-anydesk-of-display-server-not-supported-error-for-ubuntu-22-04-c98c44de89c0?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/c98c44de89c0</guid>
            <category><![CDATA[fix]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[anydesk]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Fri, 02 Dec 2022 04:56:28 GMT</pubDate>
            <atom:updated>2022-12-02T04:56:28.790Z</atom:updated>
            <content:encoded><![CDATA[<p>Fix that cannot remote login AnyDesk.</p><p>1. Install AnyDesk on Ubuntu 22.04.</p><p>2. Configure login password. This password is “P@ssw0rd”.</p><pre>echo &quot;P@ssw0rd&quot; | sudo anydesk --set-password</pre><p>3. Configure GDM config. Please <strong>unmask</strong>:</p><ul><li><strong>WaylandEnable=false</strong></li><li><strong>AutomaticLoginEnable = true</strong></li><li><strong>AutomaticLogin = $USERNAME</strong></li></ul><pre>sudo vim /etc/gdm3/custom.conf</pre><pre># GDM configuration storage<br>#<br># See /usr/share/gdm/gdm.schemas for a list of available options.<br><br>[daemon]<br># Uncomment the line below to force the login screen to use Xorg<br>WaylandEnable=false<br><br># Enabling automatic login<br>AutomaticLoginEnable = true<br>AutomaticLogin = $USERNAME<br><br># Enabling timed login<br>#  TimedLoginEnable = true<br>#  TimedLogin = user1<br>#  TimedLoginDelay = 10<br><br>[security]<br><br>[xdmcp]<br><br>[chooser]<br><br>[debug]<br># Uncomment the line below to turn on debugging<br># More verbose logs<br># Additionally lets the X server dump core if it crashes<br>#Enable=true</pre><p>4. <strong>Reboot</strong> your Ubuntu 22.04.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c98c44de89c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Import CSV to PostgreSQL]]></title>
            <link>https://medium.com/@Dylan.Wang/import-csv-to-postgresql-18f23d89d63b?source=rss-b9d1ed621415------2</link>
            <guid isPermaLink="false">https://medium.com/p/18f23d89d63b</guid>
            <category><![CDATA[charsets]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[import]]></category>
            <category><![CDATA[csv]]></category>
            <category><![CDATA[csv-import]]></category>
            <dc:creator><![CDATA[Dylan Wang]]></dc:creator>
            <pubDate>Thu, 13 Oct 2022 01:48:15 GMT</pubDate>
            <atom:updated>2022-10-13T02:11:02.188Z</atom:updated>
            <content:encoded><![CDATA[<p>need to care charset</p><h4>1. Check the CSV charset</h4><pre># file -i sample.csv<br>sample.csv: text/plain; <strong>charset=utf-16le</strong></pre><h4>2. Convert CSV charset</h4><pre># iconv -f utf-16 -t utf-8 sample.csv -o sample_utf8.csv</pre><h4>3. Import CSV to PostgreSQL</h4><pre>COPY <strong>&lt;TABLE_NAME&gt;</strong><br>FROM &#39;/tmp/sample_utf8.csv&#39;<br>DELIMITER &#39;,&#39;<br>CSV HEADER;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18f23d89d63b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>