MyWebsite Bootstrap

Latest Posts

How to mount and read EXT4 on Windows

2025-06-22

Steps

1. Run the windows powershell as administrator

2. Get details about the drives and partitions

wmic diskdrive list brief

3. Mount the drive or partition by the bellow command

wsl --mount PATH_FROM_STEP2
Example: wsl –mount \\.\PHYSICALDRIVE0 –partition 1

If you haven’t install the WSL, windows will install it for you automatically. If not, try wsl --install. After the WSL is installed, you will need to install a linux system by your own.
wsl --install -d ubuntu

4. Open Windows File Explorer and read the data in the disk

Path: “This PC\Linux\Ubuntu\mnt\wsl\PHYSICALDRIVE0p0

5. Unmout if needed

wsl –unmount PATH_FROM_STEP2

or just shut it down
wsl.exe --shutdown

Reference


Some useful git commands

2024-04-21

Commands

list all branches
git branch -a

get the difference between two branches, including a local branch and a remote branch
git diff <mainbranch_path> <remotebranch_path>

read more

用Python Django建立自己的blog - 01 安裝篇

2024-03-16

看完本篇將會學到

  1. 安裝python
  2. 安裝django

註: 主要是使用windows系統,其他系統使用者請自行做相對應的修正

read more

Raspberry Pi簡介與系列產品比較

2024-02-18

購買方針

需完整功能: Pi 5 > Pi 4 B
需作業系統但只做簡單的事情: Zero系列
做簡單的IoT不需作業系統: Pico系列 (建議選W版本, 新手請選WH)
需網路/藍芽: W版本
需針腳已焊好的: H版本

read more

Some useful tips for Heroku

2022-08-06

Upgrading stack of an app

Use the stack:set command via Heroku CLI: heroku stack:set heroku-22 -a <app name>

Then rebuild your app to take effect of the change. You can create an empty commit to trigger a new build:

git commit --allow-empty -m "Upgrading to heroku-22"
git push heroku master

read more

Raspberry Pi commands

2022-06-28

Commands

Install the “at” package
sudo apt-get update
sudo apt-get install at

read more

Todoist Telegram bot

2022-06-28

In this article, we will build an telegram bot for reminders from todoist.

Why do I need a telegram bot for todoist?

The answer is obvious – the free reminder function (as no reminder for a free todoist account).

Steps:

Install todoist api Python Client

pip install todoist-api-python

read more

Sayings - 名言

2022-05-02

Sayings - 名言

read more

使用TTL RS232(PL2303HX)上傳程式碼至ESP8266 NodeMCU

2022-04-17

使用TTL RS232(PL2303HX)上傳程式碼至ESP8266 NodeMCU

Broken usb ESP8266 NodeMCU

read more


subscribe via RSS