<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>HE Fang - Some where to write something</title>
    <link>https://h3fang.github.io/</link>
    <description>Recent content on HE Fang - Some where to write something</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en_US</language>
    <lastBuildDate>Sun, 02 Aug 2020 19:05:34 +0800</lastBuildDate><atom:link href="https://h3fang.github.io/feed.xml" rel="self" type="applicatoin/rss+xml" />
    <item>
      <title>About</title>
      <link>https://h3fang.github.io/about/</link>
      <pubDate>Sun, 16 Jun 2019 10:39:58 +0800</pubDate>
      
      <guid>https://h3fang.github.io/about/</guid>
      <description>About me Nothing.
More information Nothing.
Contact me Don&amp;rsquo;t do it.</description>
    </item>
    
    <item>
      <title>New laptop - Yoga 14s AMD version</title>
      <link>https://h3fang.github.io/post/2020/yoga_14s/</link>
      <pubDate>Sun, 02 Aug 2020 19:05:34 +0800</pubDate>
      
      <guid>https://h3fang.github.io/post/2020/yoga_14s/</guid>
      <description>&lt;p&gt;As my old laptop ages, the condition of it keeps degrading (broken chassis/hinge, wear-out battery, nonfunctional numpad, etc.). Recently I switched to a new laptop - yoga 14s AMD version.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Don&#39;t write ugly code</title>
      <link>https://h3fang.github.io/post/2020/ugly_code/</link>
      <pubDate>Thu, 04 Jun 2020 19:05:34 +0800</pubDate>
      
      <guid>https://h3fang.github.io/post/2020/ugly_code/</guid>
      <description>&lt;p&gt;If your program code is ugly (too complex / too long / too much hacks), you are very likely doing it wrong.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>First impression with libuv</title>
      <link>https://h3fang.github.io/post/2020/libuv/</link>
      <pubDate>Wed, 01 Jan 2020 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2020/libuv/</guid>
      <description>&lt;p&gt;Happy New Year! May it be &lt;strong&gt;year of the Linux desktop&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Recently I tried to port my small &lt;a href=&#34;https://github.com/h3fang/cdns&#34;&gt;DNS relay and dispatcher&lt;/a&gt; to &lt;a href=&#34;https://libuv.org/&#34;&gt;libuv&lt;/a&gt; - the core of &lt;a href=&#34;https://nodejs.org/&#34;&gt;node.js&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Save as root in non-root vim</title>
      <link>https://h3fang.github.io/post/2019/vim_save_as_root/</link>
      <pubDate>Tue, 17 Sep 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/vim_save_as_root/</guid>
      <description>&lt;p&gt;Sometimes, you edited some system files and want to save them, but then realized you forgot to open them in vim with root privileges. What can you do now?&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>The Weird CityU WIFI Network</title>
      <link>https://h3fang.github.io/post/2019/cityu_wifi/</link>
      <pubDate>Tue, 03 Sep 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/cityu_wifi/</guid>
      <description>&lt;p&gt;Recently when I checked the system journals, I found a lot of spams generated by my WIFI connection like these&lt;/p&gt;
&lt;div class=&#39;align-center&#39;&gt;
&lt;p&gt;&lt;img src=&#34;https://h3fang.github.io/image/NetworkManager-dhcp4.webp&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://h3fang.github.io/image/wpa-supplicant-PMKSA-CACHE.webp&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>~ vs $HOME</title>
      <link>https://h3fang.github.io/post/2019/tilde_vs_home/</link>
      <pubDate>Mon, 12 Aug 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/tilde_vs_home/</guid>
      <description>&lt;p&gt;&lt;code&gt;~&lt;/code&gt; is expanded to current user home directory by shell, just like the variable &lt;code&gt;$HOME&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;While &lt;code&gt;$HOME&lt;/code&gt; is expanded in most places (except inside single quotes), &lt;code&gt;~&lt;/code&gt; is expanded only in a few specific conditions.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>The Bash Trap Command</title>
      <link>https://h3fang.github.io/post/2019/bash_trap/</link>
      <pubDate>Thu, 08 Aug 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/bash_trap/</guid>
      <description>&lt;p&gt;Just want to recommend a very good &lt;a href=&#34;https://www.linuxjournal.com/content/bash-trap-command&#34;&gt;writeup&lt;/a&gt; for bash trap command.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Debloating texlive-fontsextra</title>
      <link>https://h3fang.github.io/post/2019/texlive-fontsextra/</link>
      <pubDate>Sun, 21 Jul 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/texlive-fontsextra/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://www.archlinux.org/packages/extra/any/texlive-fontsextra/&#34;&gt;texlive-fontsextra&lt;/a&gt; package is so bloated. It leaves a 1.1 GB package on your file system and pollutes your font cache with thousands of useless fonts.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Be careful when using pipes in shell script</title>
      <link>https://h3fang.github.io/post/2019/subshell/</link>
      <pubDate>Sun, 14 Jul 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/subshell/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;&amp;quot;|&amp;quot;&lt;/code&gt; pipe operator redirects I/O to a subshell.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Variables in a subshell are not visible outside the block of code in the subshell.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>Debug python c/c&#43;&#43; extensions</title>
      <link>https://h3fang.github.io/post/2019/debug_python_c_extension/</link>
      <pubDate>Thu, 27 Jun 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/debug_python_c_extension/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s common to use c/c++ extension in python program for better performance. But it&amp;rsquo;s hard to debug c/c++ code when it&amp;rsquo;s called from python.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>git diff 101</title>
      <link>https://h3fang.github.io/post/2019/git_diff/</link>
      <pubDate>Thu, 20 Jun 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/git_diff/</guid>
      <description>&lt;p&gt;To use git diff more efficiently, we actually have to understand different stages of git files.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>dotfiles</title>
      <link>https://h3fang.github.io/post/2019/dotfiles/</link>
      <pubDate>Sun, 16 Jun 2019 10:23:37 +0800</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/dotfiles/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;When you live in a command line, configurations are a deeply personal thing. They are often crafted over years of experience, battles lost, lessons learned, advice followed, and ingenuity rewarded. When you are away from your own configurations, you are an orphaned refugee in unfamiliar and hostile surroundings. You feel clumsy and out of sorts. You are filled with a sense of longing to be back in a place you know. A place you built. A place where all the short-cuts have been worn bare by your own travels. A place you proudly call… &lt;strong&gt;$HOME&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>Hello World</title>
      <link>https://h3fang.github.io/post/2019/hello-world/</link>
      <pubDate>Sat, 15 Jun 2019 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/post/2019/hello-world/</guid>
      <description>&lt;p&gt;Hello Github Pages &amp;amp; Jekyll!&lt;/p&gt;</description>
    </item>
    
    <item>
      <title></title>
      <link>https://h3fang.github.io/heart/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://h3fang.github.io/heart/</guid>
      <description>Heart    body { margin: 0px; } canvas { width: 100%; height: 100%; display: block; } p { position: absolute; right: 0; bottom: 0; color: rgb(0, 149, 248); z-index: 1000; }     Love is mutual.
void main() { gl_Position = vec4( position, 1.0 ); }  #ifdef GL_ES precision mediump float; #endif uniform vec2 u_resolution; uniform float u_time; #define POINT_COUNT 15 vec2 points[POINT_COUNT]; const float speed = -0.</description>
    </item>
    
  </channel>
</rss>
