MyWebsite Bootstrap

Latest Posts

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>
git diff

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

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

如何做出如window右下角的月曆?

2022-04-04

如何做出如window右下角的月曆?

calculate calendar

read more


subscribe via RSS