---
title: "Leon (@LeonH) | Hashnode"
description: "Leon (@LeonH) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@LeonH"
---

@LeonH

# Leon

@LeonH · Joined August 2020

[Website](https://leonh.space/)

### [重新認識 Pixel、DPI / PPI 以及像素密度](https://leonh.hashnode.dev/pixeldpi-ppi?utm_source=hashnode&utm_medium=feed)

你有被 pixel / CSS Pixel、DPI / PPI 搞混嗎？我有。所以我們決定重新理解這些詞彙的涵義，以及身為開發者我們應該怎麼總結這些定義，讓我們在開發時能有一個明確而能遵循的路線。

7 min read · [leonh.hashnode.dev](https://leonh.hashnode.dev/pixeldpi-ppi?utm_source=hashnode&utm_medium=feed)

[Sep 24, 2023](https://hashnode.com/posts/pixeldpi-ppi/651022059df37fe4dc9c1fae)

### [如何在 Jupyter Notebook 跑 Python 異步程式](https://leonh.hashnode.dev/jupyter-notebook-python?utm_source=hashnode&utm_medium=feed)

在 Jupyter Notebook 跑異步函式就是那麼輕鬆寫意。

1 min read · [leonh.hashnode.dev](https://leonh.hashnode.dev/jupyter-notebook-python?utm_source=hashnode&utm_medium=feed)

[Jul 26, 2022](https://hashnode.com/posts/jupyter-notebook-python/62dff54e8730728f62e8e89f)

### [建置 Python 3 開發環境](https://leonh.hashnode.dev/python-3?utm_source=hashnode&utm_medium=feed)

在開立 Python 專案時最好每個專案都有自己獨立而且乾淨的開發環境，這篇文章帶領讀者利用 pyenv 和 Poetry 建置出獨立且乾淨的 Python 3 專案開發環境。

6 min read · [leonh.hashnode.dev](https://leonh.hashnode.dev/python-3?utm_source=hashnode&utm_medium=feed)

[May 1, 2022](https://hashnode.com/posts/python-3/626e9e49a2d355d4df44086f)

### [在 Windows 建置以 Visual Studio 為基礎的 Python / Node.js 開發環境](https://leonh.hashnode.dev/windows-visual-studio-python-nodejs?utm_source=hashnode&utm_medium=feed)

「VSCode 是世上最棒的 IDE 了吧」這時有人跳出來表示不服，定睛一看原來是那陳年的大哥 Visual Studio，他說道：「用 Windows 做開發的人一定要裝 Visual Studio 這樣專業的 IDE，不要裝其他次等的文字編輯器，才可以有效提升專業度。」

1 min read · [leonh.hashnode.dev](https://leonh.hashnode.dev/windows-visual-studio-python-nodejs?utm_source=hashnode&utm_medium=feed)

[Apr 22, 2022](https://hashnode.com/posts/windows-visual-studio-python-nodejs/626234a90f819f588af735b6)

### [解讀 ads.txt 的重導規則](https://leonh.hashnode.dev/adstxt?utm_source=hashnode&utm_medium=feed)

先認識一下 ads.txt： 最單純的作法就是把 ads.txt 放到 example.com/ads.txt，然而在我這邊，同樣拿 example.com 為例，我的 example.com 與 www.example.com 都沒有真正的主機，全都是轉址到 blog.example.com，像這樣的例子，不太可能為了放一個 ads.txt 的檔案再去開一個空間，最好是也能用轉址的模式去讀 blog.example.com/ads.txt，AdSense 的說明也有提到這種狀況，節錄如下： ...

1 min read · [leonh.hashnode.dev](https://leonh.hashnode.dev/adstxt?utm_source=hashnode&utm_medium=feed)

[Mar 7, 2022](https://hashnode.com/posts/adstxt/622689cf282dd872a7a996fa)
