<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://alanhc.github.io</id>
    <title>Alan Tseng</title>
    <updated>2025-06-21T09:45:27.512Z</updated>
    <generator>awesome</generator>
    <author>
        <name>alanhc</name>
        <email>alanhc.tseng1999@gmail.com</email>
        <uri>https://alanhc.github.io</uri>
    </author>
    <link rel="alternate" href="https://alanhc.github.io"/>
    <link rel="self" href="https://alanhc.github.io/atom"/>
    <subtitle>This is my personal feed!</subtitle>
    <logo>https://alanhc.github.io/image/me.jpeg</logo>
    <icon>https://alanhc.github.io/favicon.ico</icon>
    <rights>All rights reserved 2025, alanhc</rights>
    <entry>
        <title type="html"><![CDATA[ubuntu wifi網卡抓不到]]></title>
        <id>ubuntu wifi網卡抓不到</id>
        <link href="https://alanhc.github.io/logA/posts/ubuntu wifi網卡抓不到"/>
        <updated>2024-10-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
lsusb
![](https://i.imgur.com/SRI6jmT.png)
RTL8821AU
https://github.com]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[安裝後直接進到 windows問題]]></title>
        <id>安裝後直接進到 windows問題</id>
        <link href="https://alanhc.github.io/logA/posts/安裝後直接進到 windows問題"/>
        <updated>2024-10-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
Solution: 在bios裡面 boot>UEFI Hard Disk Drive BBS Priorities 設定 Boot Opti]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[超簡單! 一文理解如何使用私有大型語言模型LLM - Ollama＋Open WebUI篇]]></title>
        <id>超簡單!一文理解如何使用私有大型語言模型LLM-Ollama＋OpenWebUI篇</id>
        <link href="https://alanhc.github.io/logA/posts/超簡單!一文理解如何使用私有大型語言模型LLM-Ollama＋OpenWebUI篇"/>
        <updated>2024-10-03T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 步驟
![](https://i.imgur.com/jycGc1B.png)
1. 安裝 Docker Desktop
2. 使用wsl2
3. 使]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[更快的影片學習方法]]></title>
        <id>更快的影片學習方法</id>
        <link href="https://alanhc.github.io/logA/posts/更快的影片學習方法"/>
        <updated>2024-08-14T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

1. ytd get youtube video
2. whisper video -> text
3. video -> 關鍵影格 （變動threshol]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[fastapi-k8s]]></title>
        <id>fastapi-k8s</id>
        <link href="https://alanhc.github.io/logA/posts/fastapi-k8s"/>
        <updated>2024-07-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

![[Pasted image 20240717010914.png]]
```
FROM tiangolo/uvicorn-gunicorn-fastap]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[inferencing-llm]]></title>
        <id>20240704-inferencing-llm</id>
        <link href="https://alanhc.github.io/logA/posts/20240704-inferencing-llm"/>
        <updated>2024-07-04T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## mac
## 安裝
- `pip install mlx-lm`
### 使用 mac cli
- `python -m mlx_lm.generat]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[python使用pyinstaller製作桌面應用程式]]></title>
        <id>python使用pyinstaller製作桌面應用程式</id>
        <link href="https://alanhc.github.io/logA/posts/python使用pyinstaller製作桌面應用程式"/>
        <updated>2024-06-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- 先看 File structure:
![](https://i.imgur.com/HGlGJij.png)
```python
# app.py
i]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240621-公雲學習筆記]]></title>
        <id>20240621-公雲學習筆記</id>
        <link href="https://alanhc.github.io/logA/posts/20240621-公雲學習筆記"/>
        <updated>2024-06-21T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 概覽公共雲服務
[(11:45)Top 50+ AWS Services Explained in 10 Minutes](https://youtu]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240409-你要如何衡量你的人生]]></title>
        <id>20240409-你要如何衡量你的人生</id>
        <link href="https://alanhc.github.io/logA/posts/20240409-你要如何衡量你的人生"/>
        <updated>2024-06-16T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- 人生方向
- 樂在工作、挑戰、個人成長、有意義
- 家庭
- 婚姻
- 孩子：學做困難事、價值觀
- 家庭文化、行為準則
- 個人：道德原則、不妥協
-]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[閱讀筆記]]></title>
        <id>閱讀筆記-建中2021校內培訓簡報</id>
        <link href="https://alanhc.github.io/logA/posts/閱讀筆記-建中2021校內培訓簡報"/>
        <updated>2024-04-06T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

https://tioj.ck.tp.edu.tw/articles/22
## 9/15 演算法初探
[https://slides.com/justin]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[閱讀筆記-建中 2021 暑假資讀投影片-謝一]]></title>
        <id>閱讀筆記-建中2021暑假資讀投影片-謝一</id>
        <link href="https://alanhc.github.io/logA/posts/閱讀筆記-建中2021暑假資讀投影片-謝一"/>
        <updated>2024-04-06T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

https://slides.com/thanksone/deck
#### Bubble sort
![](https://i.imgur.com/znl]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240324-learn-go]]></title>
        <id>20240324-learn-go</id>
        <link href="https://alanhc.github.io/logA/posts/20240324-learn-go"/>
        <updated>2024-03-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## quickstart
[golang in 100 secoonds](https://youtu.be/446E-r0rXHI?si=waOpCnH]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240321-interview-warmup]]></title>
        <id>20240321-interview-warmup</id>
        <link href="https://alanhc.github.io/logA/posts/20240321-interview-warmup"/>
        <updated>2024-03-21T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Backgrounds
I just got rejected by a big tech company. In order to improve ]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240303-save-password-python]]></title>
        <id>20240303-save-password-python</id>
        <link href="https://alanhc.github.io/logA/posts/20240303-save-password-python"/>
        <updated>2024-03-03T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

使用 AES（對稱加密） + base64
## 加密
```python
from Crypto.Cipher import AES
from Crypt]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[國外工作]]></title>
        <id>國外工作</id>
        <link href="https://alanhc.github.io/logA/posts/國外工作"/>
        <updated>2024-02-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 歐洲
根據 歐洲資訊科技產業協會: 的資料，歐洲軟體工程師最需要的領域包括：
- 雲端計算和分散式系統
- 人工智慧和機器學習
- 網路安全
- 大數]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240227-warp-terminal]]></title>
        <id>20240227-warp-terminal</id>
        <link href="https://alanhc.github.io/logA/posts/20240227-warp-terminal"/>
        <updated>2024-02-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

發現一個有趣的東西
brew install --cask warp
![](https://assets-global.website-files.com]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240227-huggingface-nlp]]></title>
        <id>20240227-huggingface-nlp</id>
        <link href="https://alanhc.github.io/logA/posts/20240227-huggingface-nlp"/>
        <updated>2024-02-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

# transformers models
![](https://i.imgur.com/QkCYS7N.png)
![](https://i.imgur]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240227-Hash-Table-ood]]></title>
        <id>20240227-Hash-Table-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240227-Hash-Table-ood"/>
        <updated>2024-02-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
設計一個使用chaining（Link List）處理碰撞問題的hash table
## Solution
O(1) 可以使用ar]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240227-File-Systems-ood]]></title>
        <id>20240227-File-Systems-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240227-File-Systems-ood"/>
        <updated>2024-02-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
解釋如何設計in-memory的DS 及 演算法，請可能舉例
## Solution
最簡單就分成有File及Directory他們]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240226-minesweeper-ood]]></title>
        <id>20240226-minesweeper-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240226-minesweeper-ood"/>
        <updated>2024-02-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
踩地雷遊戲，玩家直到整個盤都探索完畢，玩家點選後如果是炸彈就輸掉，若是空白，消除所有鄰近空白及數字
## Solution
- fo]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240226-Circular-array-ood]]></title>
        <id>20240226-Circular-array-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240226-Circular-array-ood"/>
        <updated>2024-02-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
實作CircularArray class可以有效翻轉array like data structure，這個class需使用gen]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240222-content-analysis]]></title>
        <id>20240222-text-network-analysis</id>
        <link href="https://alanhc.github.io/logA/posts/20240222-text-network-analysis"/>
        <updated>2024-02-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- 文字清理（去除符號、轉小寫）
- 依據詞頻拆分關鍵字網路
- 邊/連結厚度代表關鍵字的相依頻率
- 節點大小代表專見字的頻率
## Ref

</bod]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240221-othello-ood]]></title>
        <id>20240221-othello-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240221-othello-ood"/>
        <updated>2024-02-21T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
- 設計黑白棋的OOD，黑白棋是如果周遭（上下左右）被圍起來就更換中間（被包圍）顏色，到一方無法下任何棋結束。
## Solutio]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240219-chat-server-ood]]></title>
        <id>20240219-chat-server-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240219-chat-server-ood"/>
        <updated>2024-02-19T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
- 請解釋你會怎麼設計一個chat server，請說明你會怎麼設計Backend Component的細節、Class及Metho]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240217-parking-lot-ood]]></title>
        <id>20240217-parking-lot-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240217-parking-lot-ood"/>
        <updated>2024-02-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
設計一個根據object-oriented principles的parking lot（停車場）
## Solution
- 跟i]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240217-online-book-reader-ood]]></title>
        <id>20240217-online-book-reader-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240217-online-book-reader-ood"/>
        <updated>2024-02-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
設計線上書本閱讀器的資料結構
## Solution
- 因為問題沒解釋很清楚，我們假設提供以下功能
- 用戶帳戶建立、擴增
- 搜]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240217-jukebox-ood]]></title>
        <id>20240217-jukebox-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240217-jukebox-ood"/>
        <updated>2024-02-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
使用object-oriented principles設計jukebox musical（點唱機）
## Solution
- 問]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240217-jigsaw-ood]]></title>
        <id>20240217-jigsaw-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240217-jigsaw-ood"/>
        <updated>2024-02-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
打造一個拼圖遊戲，設計資料結構以及解釋如何破解這個拼圖的演算法。你可以假設有一個fitsWith()，他可以檢查兩個拼圖是否可以拼在]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240217-call-center-ood]]></title>
        <id>20240217-call-center-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240217-call-center-ood"/>
        <updated>2024-02-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
有一個有三種level員工的call center，respondent, manager, director。當電話進來時，要as]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240216-levelsfyi-crawler]]></title>
        <id>20240216-levelsfyi-crawler</id>
        <link href="https://alanhc.github.io/logA/posts/20240216-levelsfyi-crawler"/>
        <updated>2024-02-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Background
- from a [stack overflow question](https://stackoverflow.com/que]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240205-Deck-of-cards]]></title>
        <id>20240215-Deck-of-cards-ood</id>
        <link href="https://alanhc.github.io/logA/posts/20240215-Deck-of-cards-ood"/>
        <updated>2024-02-15T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
Deck of cards：設計一個給一副牌的generic資料結構，解釋如何設計black-jack(21點)資料結構的子類別
#]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240212-linkedin-private-api]]></title>
        <id>20240212-linkedin-private-api</id>
        <link href="https://alanhc.github.io/logA/posts/20240212-linkedin-private-api"/>
        <updated>2024-02-12T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

思路：先用playwright 取得cookies，觀察network直接打API
先取得 geoid (地點id)
```python
q_keyword]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240211-taiwan-job-insights]]></title>
        <id>20240211-taiwan-job-insights</id>
        <link href="https://alanhc.github.io/logA/posts/20240211-taiwan-job-insights"/>
        <updated>2024-02-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[網頁互動版](https://alanhc.github.io/taiwan_jobs.html)
- 資料來源：Levels Fyi
## 台灣
###]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240211-pastebin-design]]></title>
        <id>20240211-pastebin-design</id>
        <link href="https://alanhc.github.io/logA/posts/20240211-pastebin-design"/>
        <updated>2024-02-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
設計像是『Pastebin』，一個可以讓使用者輸入文字並且取得分享鏈結的系統
## Solutions
### Step 1: Sc]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240207-personal-finanicial-manager]]></title>
        <id>20240207-personal-finanicial-manager</id>
        <link href="https://alanhc.github.io/logA/posts/20240207-personal-finanicial-manager"/>
        <updated>2024-02-07T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
如何打造一個個人金融管理系統（mint.com），可以連結銀行帳戶、分析消費習慣及推薦
## Solutions
### Step ]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240205-salesrank-design]]></title>
        <id>20240205-salesrank-design</id>
        <link href="https://alanhc.github.io/logA/posts/20240205-salesrank-design"/>
        <updated>2024-02-05T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
設計一個有多類別的產品ranking網站
## Solutions
### Step 1 Scope the problem
- 只]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240203-trading-bot]]></title>
        <id>20240203-trading-bot</id>
        <link href="https://alanhc.github.io/logA/posts/20240203-trading-bot"/>
        <updated>2024-02-03T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[Python自動化交易](https://youtu.be/eDolz-_Ls4o?si=SWWnmwDFPey1cUHS)
https://www.xq]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[quotes]]></title>
        <id>quotes</id>
        <link href="https://alanhc.github.io/logA/posts/quotes"/>
        <updated>2024-01-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- [Elizabeth Sloane](https://www.imdb.com/name/nm1567113/?ref_=tt_ch) : Lobbyi]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240125-web_srawler_design]]></title>
        <id>20240125-web-crawler-design</id>
        <link href="https://alanhc.github.io/logA/posts/20240125-web-crawler-design"/>
        <updated>2024-01-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
再設計爬蟲時，如何避免無限迴圈
## Solutions
問題：無限迴圈何時發生？因為我們將鏈結化作graph，所以有可能有無限迴圈]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240125-duplicate-url-design]]></title>
        <id>20240125-duplicate-url-design</id>
        <link href="https://alanhc.github.io/logA/posts/20240125-duplicate-url-design"/>
        <updated>2024-01-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
如何儲存1000萬的url，每個字4 byte、頁面平均100字，這樣大約會有4TB
## Solutions
### Soluti]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240125-cache-design]]></title>
        <id>20240125-cache-design</id>
        <link href="https://alanhc.github.io/logA/posts/20240125-cache-design"/>
        <updated>2024-01-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
設計一個簡單搜尋引擎的webserver，假設系統有100台機器負責回應queries，有個昂貴的function，processS]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240124-break-cloudflare-bot-prevention]]></title>
        <id>20240124-break-cloudflare-bot-prevention</id>
        <link href="https://alanhc.github.io/logA/posts/20240124-break-cloudflare-bot-prevention"/>
        <updated>2024-01-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

今日看到好玩的東西，改天有時間來玩
## Ref
- https://github.com/g1879/DrissionPage

</body>
</ht]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240123-scalper]]></title>
        <id>20240123-scalper</id>
        <link href="https://alanhc.github.io/logA/posts/20240123-scalper"/>
        <updated>2024-01-23T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

論文研究如何避免黃牛的賣票策略，其實也順便研究了黃牛
## 黃牛訪談影片
[【紀錄片】黃牛末日？直擊台灣黃牛產業鏈 - 第九人稱](https://yout]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240122-stock-data]]></title>
        <id>20240122-stock-data-design</id>
        <link href="https://alanhc.github.io/logA/posts/20240122-stock-data-design"/>
        <updated>2024-01-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Question
設計一個可以有1000 client 可以取得最後的開高收低，已經有資料、可以自行決定儲存，要怎麼設計client說明幾種不同的方法]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240122-ntu-cool-video-download]]></title>
        <id>20240122-ntu-cool-video-download</id>
        <link href="https://alanhc.github.io/logA/posts/20240122-ntu-cool-video-download"/>
        <updated>2024-01-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
- https://www.youtube.com/watch?v=hT6A8zRn0Ck&#x26;t=31s&#x26;ab_channe]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[沒環境講英文？如何跟 ChatGPT 對話，快速加強口說]]></title>
        <id>20240122-english-speaking</id>
        <link href="https://alanhc.github.io/logA/posts/20240122-english-speaking"/>
        <updated>2024-01-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[Voice Control for ChatGPT](https://chromewebstore.google.com/detail/voice-con]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240121-Web-Scraping-Instagram-with-Selenium]]></title>
        <id>20240121-Web-Scraping-Instagram-with-Selenium</id>
        <link href="https://alanhc.github.io/logA/posts/20240121-Web-Scraping-Instagram-with-Selenium"/>
        <updated>2024-01-21T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- https://github.com/alanhc/bot/blob/main/instagram.ipynb
## Ref
https://youtu]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240119-OSINT]]></title>
        <id>20240119-OSINT</id>
        <link href="https://alanhc.github.io/logA/posts/20240119-OSINT"/>
        <updated>2024-01-19T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- 一開始看到
- [The KK Show - 187 中共網軍的敵人 - 沈伯洋](https://youtu.be/Da2LDllZjHQ?si=Kf]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240114-product-insight]]></title>
        <id>20240114-product-insight</id>
        <link href="https://alanhc.github.io/logA/posts/20240114-product-insight"/>
        <updated>2024-01-14T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

在台灣，跟商品有關的統計資料價格大約一年100w (客製化程度不同)
統計資訊包含 競品分析 競爭對手售價 客製化報告等等
why? 品牌商想知道自己跟對手]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240113-data-pay]]></title>
        <id>20240113-data-engineer-salary</id>
        <link href="https://alanhc.github.io/logA/posts/20240113-data-engineer-salary"/>
        <updated>2024-01-13T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

以下內容為該影片的筆記：
中國經濟變差 政府監管 員工信心
全球資產配置 美股 賺美元全權資產配置
大廠 推行要一年
大廠大家做得跟核心業務沒關
數據 有博]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240108-attention]]></title>
        <id>20240108-attention</id>
        <link href="https://alanhc.github.io/logA/posts/20240108-attention"/>
        <updated>2024-01-08T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

公司 → 搶奪注意力
太多分心事
- 克服
- 決心、自我反省
why? 手機成癮
多巴安 → 採取行動獲得獎勵
看手機→獎勵→空虛 （重複）久了會疲乏 →]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20240107-notion-websire]]></title>
        <id>20240107-notion-website</id>
        <link href="https://alanhc.github.io/logA/posts/20240107-notion-website"/>
        <updated>2024-01-07T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

使用這套件可以讓notion嵌入到網站
因為不能使用iframe 將notion嵌入，而大多數的solution都要付費
## Ref
- https://]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231222-socket-io]]></title>
        <id>20231222-chat</id>
        <link href="https://alanhc.github.io/logA/posts/20231222-chat"/>
        <updated>2023-12-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

https://signal.org/blog/facebook-messenger/
https://github.com/signalapp/libsi]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231217-ntu-matches]]></title>
        <id>20231217-ntu-matches</id>
        <link href="https://alanhc.github.io/logA/posts/20231217-ntu-matches"/>
        <updated>2023-12-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 先請AI生成資料
### prompt
```text
請生成三組男女，各有各的自我介紹，僅說明自己，這個叫做content 請將這三組男女配對 用第]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231217-google-gemini]]></title>
        <id>20231217-google-gemini</id>
        <link href="https://alanhc.github.io/logA/posts/20231217-google-gemini"/>
        <updated>2023-12-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
- https://www.kaggle.com/code/alanhc/gemini-api-starter-notebook
- http]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231213-pyspark]]></title>
        <id>20231213-pyspark</id>
        <link href="https://alanhc.github.io/logA/posts/20231213-pyspark"/>
        <updated>2023-12-13T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
- https://learn.microsoft.com/en-us/azure/databricks/pandas/pyspark-pan]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231210-convert-post-markdown]]></title>
        <id>20231210-convert-post-markdown</id>
        <link href="https://alanhc.github.io/logA/posts/20231210-convert-post-markdown"/>
        <updated>2023-12-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## medium
https://github.com/dtesler/medium-to-markdown
## Blogger
https://cod]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231209-docker-machine-learning]]></title>
        <id>20231209-docker-machine-learning</id>
        <link href="https://alanhc.github.io/logA/posts/20231209-docker-machine-learning"/>
        <updated>2023-12-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Docker
`docker search tensorflow`
`docker pull jupyter/tensorflow-notebook`]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231209-AI-music-example]]></title>
        <id>20231209-AI-music-example</id>
        <link href="https://alanhc.github.io/logA/posts/20231209-AI-music-example"/>
        <updated>2023-12-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

AI 音樂風格轉換太酷了
[Frank Sinatra - A Cruel Angel's Thesis](https://youtu.be/IM_EDpv]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231202-twitter-bot]]></title>
        <id>20231202-twitter-bot</id>
        <link href="https://alanhc.github.io/logA/posts/20231202-twitter-bot"/>
        <updated>2023-12-02T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 1. 使用 twitter API
1. 先去 [dashboard]( https://developer.twitter.com/en/porta]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231130-Building-and-Evaluating-Advanced-RAG (未完)]]></title>
        <id>20231130-Building-and-Evaluating-Advanced-RAG</id>
        <link href="https://alanhc.github.io/logA/posts/20231130-Building-and-Evaluating-Advanced-RAG"/>
        <updated>2023-11-30T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Advance RAG Pipeline
![](https://i.imgur.com/8shM4tw.png)
![](https://i.img]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Should You Use Open Source Large Language Models?]]></title>
        <id>20231129-Should You Use Open Source Large Language Models</id>
        <link href="https://alanhc.github.io/logA/posts/20231129-Should You Use Open Source Large Language Models"/>
        <updated>2023-11-29T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
https://www.youtube.com/watch?v=y9k-U9AuDeM
![](https://i.imgur.com/RU3]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231125-cloudflare-tunnel]]></title>
        <id>20231125-cloudflare-tunnel</id>
        <link href="https://alanhc.github.io/logA/posts/20231125-cloudflare-tunnel"/>
        <updated>2023-11-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

# 方式一 使用 GUI
## run service
e.g. `docker run -p 80:80 -d nginx`
## cloudflare ]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231124-terraform-vercel]]></title>
        <id>20231124-terraform-vercel</id>
        <link href="https://alanhc.github.io/logA/posts/20231124-terraform-vercel"/>
        <updated>2023-11-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

vercel token: https://vercel.com/guides/how-do-i-use-a-vercel-api-access-token]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231116-Vector-Databases-from-Embeddings-to-Applications]]></title>
        <id>20231116-Vector-Databases-from-Embeddings-to-Applications</id>
        <link href="https://alanhc.github.io/logA/posts/20231116-Vector-Databases-from-Embeddings-to-Applications"/>
        <updated>2023-11-16T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

RAG -> vector database
![](https://i.imgur.com/EDn3CJo.png)
## how-to-obtain-v]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231115-How-to-Build-An-MVP-Startup-School]]></title>
        <id>20231115-How-to-Build-An-MVP-Startup-School</id>
        <link href="https://alanhc.github.io/logA/posts/20231115-How-to-Build-An-MVP-Startup-School"/>
        <updated>2023-11-15T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

16:52
twich 創辦人（Michael Seibel）
![](https://i.imgur.com/dLhPAHZ.png)
## 1. 從使用]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20211115-LIVEBuilding-Multi-Modal-Search-with-Vector-Databases]]></title>
        <id>20231115-Building-Multi-Modal-Search-with-Vector-Databases</id>
        <link href="https://alanhc.github.io/logA/posts/20231115-Building-Multi-Modal-Search-with-Vector-Databases"/>
        <updated>2023-11-15T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

![](https://i.imgur.com/0k8rQsV.png)
problem?
關鍵字搜尋
![](https://i.imgur.com/mT]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[2021112-upload-large-file]]></title>
        <id>20231112-nextjs-upload-large-file</id>
        <link href="https://alanhc.github.io/logA/posts/20231112-nextjs-upload-large-file"/>
        <updated>2023-11-12T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## upload api
```js
import { connectToDb, fileExists } from "@/lib/mongodb";
i]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[filebase]]></title>
        <id>learn-filebase</id>
        <link href="https://alanhc.github.io/logA/posts/learn-filebase"/>
        <updated>2023-11-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
https://docs.filebase.com/getting-started/ipfs-getting-started-guide

<]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231110-生成式AI淺談圖像生成模型-Diffusion-Model-原理]]></title>
        <id>20231110-生成式AI淺談圖像生成模型-Diffusion-Model-原理</id>
        <link href="https://alanhc.github.io/logA/posts/20231110-生成式AI淺談圖像生成模型-Diffusion-Model-原理"/>
        <updated>2023-11-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

![](https://i.imgur.com/E4SLakC.png)
![](https://i.imgur.com/NBeKimk.png)
![](]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[80分鐘快速了解大型語言模型-5-30 有咒術迴戰雷]]></title>
        <id>20231110-80分鐘快速了解大型語言模型-5-30 有咒術迴戰雷</id>
        <link href="https://alanhc.github.io/logA/posts/20231110-80分鐘快速了解大型語言模型-5-30 有咒術迴戰雷"/>
        <updated>2023-11-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

![](https://i.imgur.com/U6OeFM7.png)
客製化GPT
https://openai.com/blog/introducin]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231108-How-Diffusion-Models-Work]]></title>
        <id>20231108-How-Diffusion-Models-Work</id>
        <link href="https://alanhc.github.io/logA/posts/20231108-How-Diffusion-Models-Work"/>
        <updated>2023-11-08T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Intuition
![](https://i.imgur.com/TVoI8QQ.png)
![](https://i.imgur.com/oNLo]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231107-imgbb]]></title>
        <id>20231107-imgbb</id>
        <link href="https://alanhc.github.io/logA/posts/20231107-imgbb"/>
        <updated>2023-11-07T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

免費圖片上傳api
```js
const onDrop = useCallback((acceptedFiles: any) => {
acceptedF]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231107-MUI-toolpad]]></title>
        <id>20231107-MUI-toolpad</id>
        <link href="https://alanhc.github.io/logA/posts/20231107-MUI-toolpad"/>
        <updated>2023-11-07T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

很好做prototype的前端網站
## Ref
- https://mui.com/toolpad/getting-started/first-app/
]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231104-learn-cosmos]]></title>
        <id>20231104-learn-cosmos</id>
        <link href="https://alanhc.github.io/logA/posts/20231104-learn-cosmos"/>
        <updated>2023-11-04T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[Ignite CLI](https://ignite.com/cli): [它是Cosmos SDK](https://github.com/cosmos]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231103-linklist]]></title>
        <id>20231103-linklist</id>
        <link href="https://alanhc.github.io/logA/posts/20231103-linklist"/>
        <updated>2023-11-03T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

### c++
```c++
#include
<div>
  using namespace std;
  struct Node {
  int dat]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231103-Finetuning-Large-Language-Models]]></title>
        <id>20231103-Finetuning-Large-Language-Models</id>
        <link href="https://alanhc.github.io/logA/posts/20231103-Finetuning-Large-Language-Models"/>
        <updated>2023-11-03T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Introduction
- why?
- 要學某種語氣等等要使用
![](https://i.imgur.com/eRJk6Wv.png)
## W]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231101-generative-ai-for-everyone]]></title>
        <id>20231101-generative-ai-for-everyone</id>
        <link href="https://alanhc.github.io/logA/posts/20231101-generative-ai-for-everyone"/>
        <updated>2023-11-02T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## What is Generative AI
![](https://i.imgur.com/Q877q0W.png)
![](https://i.im]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Andrew-Ng-Opportunities-in-AI-2023]]></title>
        <id>20231031-Andrew-Ng-Opportunities-in-AI-2023</id>
        <link href="https://alanhc.github.io/logA/posts/20231031-Andrew-Ng-Opportunities-in-AI-2023"/>
        <updated>2023-10-31T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

### 兩個很重要的領域 監督式學習及生成式AI
![](https://i.imgur.com/Wvb36Eh.png)
- 生成式AI 怎麼訓練？
- ]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Building Systems with the ChatGPT API]]></title>
        <id>20231029-Building-Systems-with-the-ChatGPT-API</id>
        <link href="https://alanhc.github.io/logA/posts/20231029-Building-Systems-with-the-ChatGPT-API"/>
        <updated>2023-10-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Introduction
## Language Models, the Chat Format and Tokens
- LLM
- How? 使用]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231028-mozilla-ai]]></title>
        <id>20231028-mozilla-ai</id>
        <link href="https://alanhc.github.io/logA/posts/20231028-mozilla-ai"/>
        <updated>2023-10-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

有涵蓋LLM，由淺入深，有colab實作，還不錯
# Introduction
### Summarization
- [colab introductio]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231026-ChatGPT-Prompt-Engineering-for-Developers]]></title>
        <id>20231026-ChatGPT-Prompt-Engineering-for-Developers</id>
        <link href="https://alanhc.github.io/logA/posts/20231026-ChatGPT-Prompt-Engineering-for-Developers"/>
        <updated>2023-10-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Introduction
### 兩種LLM模型
#### 1. base：由訓練資料預測下一個word
#### 2. instruction ba]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231023-learning]]></title>
        <id>20231023-learning-from-lin</id>
        <link href="https://alanhc.github.io/logA/posts/20231023-learning-from-lin"/>
        <updated>2023-10-23T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

小林說：分享有關於金融背景的ytr，分享得很棒 [我是如何快速学习一个领域的 (15:49)](https://www.youtube.com/watch?]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231023-Pair-Programming-with-a-Large-Language-Model]]></title>
        <id>20231023-Pair-Programming-with-a-Large-Language-Model</id>
        <link href="https://alanhc.github.io/logA/posts/20231023-Pair-Programming-with-a-Large-Language-Model"/>
        <updated>2023-10-23T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## TL;DR
LLM 可以幫助程式設計師包含：改進現有程式碼、簡化code、寫測試、優化程式除錯及解釋程式碼，使用流程為(1)建立prompt (2)取]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231010-webauthn]]></title>
        <id>20231010-webauthn</id>
        <link href="https://alanhc.github.io/logA/posts/20231010-webauthn"/>
        <updated>2023-10-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

web 生物辨識api
## Ref

</body>
</html>
]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20231006-fastapi-streaming]]></title>
        <id>20231006-fastapi-streaming</id>
        <link href="https://alanhc.github.io/logA/posts/20231006-fastapi-streaming"/>
        <updated>2023-10-06T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- main.py
```python
from fastapi import FastAPI
from fastapi.responses import ]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230929-rn-qrcode]]></title>
        <id>20230929-rn-qrcode</id>
        <link href="https://alanhc.github.io/logA/posts/20230929-rn-qrcode"/>
        <updated>2023-09-29T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- [snack](https://snack.expo.dev/@alanhc/alantick-verifier)
- Podfile
```ruby
]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230926-21-things-before-21]]></title>
        <id>20230926-21-things-before-21</id>
        <link href="https://alanhc.github.io/logA/posts/20230926-21-things-before-21"/>
        <updated>2023-09-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
- https://mrjamie.cc/2023/03/27/21-things-you-need-to-know-before-21/?f]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230924-wagami]]></title>
        <id>20230924-wagami</id>
        <link href="https://alanhc.github.io/logA/posts/20230924-wagami"/>
        <updated>2023-09-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

`import { EthereumClient, w3mConnectors, w3mProvider } from '@web3modal/ethere]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230924-QR-Code]]></title>
        <id>20230924-QR-Code</id>
        <link href="https://alanhc.github.io/logA/posts/20230924-QR-Code"/>
        <updated>2023-09-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
```js
<div>
  ```
  - `@/components/Html5QrcodePlugin`
  ```js
  import { Html5]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230924-cmd-copy]]></title>
        <id>20230924-cmd-copy</id>
        <link href="https://alanhc.github.io/logA/posts/20230924-cmd-copy"/>
        <updated>2023-09-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

`for i in {0..100}; cp ticket.png "./images/$i.png"`
## Ref

</body>
</html>
]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230920-nx]]></title>
        <id>20230920-nx</id>
        <link href="https://alanhc.github.io/logA/posts/20230920-nx"/>
        <updated>2023-09-20T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
- https://nx.dev/getting-started/intro
- https://nx.dev/getting-started]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[hardhat]]></title>
        <id>20230919-hardhat</id>
        <link href="https://alanhc.github.io/logA/posts/20230919-hardhat"/>
        <updated>2023-09-19T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

`npx hardhat`
`pnpm add -D @nomicfoundation/hardhat-toolbox @nomicfoundation/h]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[初探 react native]]></title>
        <id>20230907-react-native</id>
        <link href="https://alanhc.github.io/logA/posts/20230907-react-native"/>
        <updated>2023-09-07T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- 網路編輯器：https://snack.expo.dev/
- CocoaPods：ios 的套件管理
npx react-native@latest ]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[在部落格中使用mdx]]></title>
        <id>20230831-mdx</id>
        <link href="https://alanhc.github.io/logA/posts/20230831-mdx"/>
        <updated>2023-09-01T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
- https://nextjs.org/docs/pages/building-your-application/configuring/m]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[在mongodb裡面將兩個group merge成一個結果]]></title>
        <id>20230831-mongodb-aggregate-multiple-group</id>
        <link href="https://alanhc.github.io/logA/posts/20230831-mongodb-aggregate-multiple-group"/>
        <updated>2023-08-31T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 結果
```json
{
"results": [
{
"path": "/mcu/course/2D動畫實務",
"id": "2D動畫實務"
},]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[(未完)加入kbar讓搜尋更便利]]></title>
        <id>20230831-kbar</id>
        <link href="https://alanhc.github.io/logA/posts/20230831-kbar"/>
        <updated>2023-08-31T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

_app.tsx
```js
// app.tsx
import { KBarProvider } from "kbar";
function MyApp(]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[加入GA]]></title>
        <id>20230830-nextjs-google-analytics</id>
        <link href="https://alanhc.github.io/logA/posts/20230830-nextjs-google-analytics"/>
        <updated>2023-08-30T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

https://analytics.google.com/analytics/web/ 裡面 拿到GA_MEASUREMENT_ID應該會是`G-{...}]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230829-peerjs]]></title>
        <id>20230829-peerjs</id>
        <link href="https://alanhc.github.io/logA/posts/20230829-peerjs"/>
        <updated>2023-08-29T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

簡化wwebrtc的使用方法
- https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/B]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230829-orbit-chat]]></title>
        <id>20230829-orbit-chat</id>
        <link href="https://alanhc.github.io/logA/posts/20230829-orbit-chat"/>
        <updated>2023-08-29T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

嘗試使用chatui及orbitdb製作一個去中心化的chat聊天
https://github.com/alanhc/orbit-chat
![](htt]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20230829-chakra-ui]]></title>
        <id>20230829-chakra-ui</id>
        <link href="https://alanhc.github.io/logA/posts/20230829-chakra-ui"/>
        <updated>2023-08-29T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

pnpm add @chakra-ui/react @chakra-ui/next-js @emotion/react @emotion/styled fr]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[初探libp2p]]></title>
        <id>20230828-libp2p</id>
        <link href="https://alanhc.github.io/logA/posts/20230828-libp2p"/>
        <updated>2023-08-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 建立signal 節點
```js
import { sigServer } from '@libp2p/webrtc-star-signalling]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[初探ipfs]]></title>
        <id>20230828-ipfs</id>
        <link href="https://alanhc.github.io/logA/posts/20230828-ipfs"/>
        <updated>2023-08-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 下載
`brew install ipfs`
`ipfs init`
```js
import { create } from 'ipfs-http-]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[安裝動漫vscode主題]]></title>
        <id>20230827-vscode-animate-extension</id>
        <link href="https://alanhc.github.io/logA/posts/20230827-vscode-animate-extension"/>
        <updated>2023-08-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

去 [下載doki-theme](https://marketplace.visualstudio.com/items?itemName=unthrottl]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[初探orbitdb]]></title>
        <id>20230827-orbitdb</id>
        <link href="https://alanhc.github.io/logA/posts/20230827-orbitdb"/>
        <updated>2023-08-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## orbitdb
`npm init -y`
`package.json` 加入：`"type": "module"`
`pnpm add @orbit]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[notion的替代品 - AFFiNE]]></title>
        <id>20230827-notion-alternative</id>
        <link href="https://alanhc.github.io/logA/posts/20230827-notion-alternative"/>
        <updated>2023-08-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

替代notion的酷炫東西，github上目前有21.8k stars，而且是rust寫的，，而且也有類似miro的功能，但好像目前沒有發現ios版本，但有]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[加入PWA功能]]></title>
        <id>20230827-next-pwa</id>
        <link href="https://alanhc.github.io/logA/posts/20230827-next-pwa"/>
        <updated>2023-08-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 前置
- 先準備 service worker、manifacts.json、logo.png
- 引入套件：`pnpm add next-pwa`
]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[chat聊天界面初探]]></title>
        <id>20230827-chat-app</id>
        <link href="https://alanhc.github.io/logA/posts/20230827-chat-app"/>
        <updated>2023-08-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## chat
`npx create-next-app chat`
`pnpm add @chatscope/chat-ui-kit-react`
`pn]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[nextjs 相關文章]]></title>
        <id>nextjs</id>
        <link href="https://alanhc.github.io/logA/posts/nextjs"/>
        <updated>2023-08-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

# markdown相關
## 資料在本地
### 使用unified
## 資料在雲端
### 使用 MDX remote
## 相關posts
- ht]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[統整markdown的使用方法]]></title>
        <id>nextjs-markdown</id>
        <link href="https://alanhc.github.io/logA/posts/nextjs-markdown"/>
        <updated>2023-08-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 資料在本地
### 使用unified
## 資料在雲端
### 使用 MDX
## 相關posts
- https://alanhc.github.]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[加入next-seo]]></title>
        <id>20230826-next-seo</id>
        <link href="https://alanhc.github.io/logA/posts/20230826-next-seo"/>
        <updated>2023-08-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

使用 https://www.favicon.cc/ 從logo.png製作 favicon.ico
## 加入環境變數
- 在next.config.js]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[加入import別名讓import更好看]]></title>
        <id>20230826-import-alias</id>
        <link href="https://alanhc.github.io/logA/posts/20230826-import-alias"/>
        <updated>2023-08-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 設定
- tsconfig.json
```js
{
"compilerOptions": {
...
"baseUrl": ".",
"paths"]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[imgur上傳]]></title>
        <id>20230826-imgur</id>
        <link href="https://alanhc.github.io/logA/posts/20230826-imgur"/>
        <updated>2023-08-26T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

註冊：https://api.imgur.com/oauth2/addclient
## ref
- https://apidocs.imgur.com/
]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[添加rss功能到nextjs部落格]]></title>
        <id>20230825-rss</id>
        <link href="https://alanhc.github.io/logA/posts/20230825-rss"/>
        <updated>2023-08-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 下載 npm feed
`pnpm add feed`
## 新增 generateRSS()
新增 `lib/generateRSS.js`
```]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[部落格暗黑模式]]></title>
        <id>20230824-chakra-darkmode</id>
        <link href="https://alanhc.github.io/logA/posts/20230824-chakra-darkmode"/>
        <updated>2023-08-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

1. 新增 theme.ts
```js
import { extendTheme, type ThemeConfig } from "@chakra-ui]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[初探bigchaindb]]></title>
        <id>20230824-bigchain</id>
        <link href="https://alanhc.github.io/logA/posts/20230824-bigchain"/>
        <updated>2023-08-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 設定bigchaindb本地節點
### 使用docker
- pull image：`docker pull bigchaindb/bigchain]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[更新nextjs到13]]></title>
        <id>20230820-nexjs13</id>
        <link href="https://alanhc.github.io/logA/posts/20230820-nexjs13"/>
        <updated>2023-08-20T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- 升級nextjs版本：`pnpm up next react react-dom eslint-config-next --latest`
- 自動更新]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[讓部落格可以顯示markdown的流程圖]]></title>
        <id>20230819-mermaid-js</id>
        <link href="https://alanhc.github.io/logA/posts/20230819-mermaid-js"/>
        <updated>2023-08-19T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

code如下
```
mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
## 修改CodeBlock
``]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[實作markdown section link]]></title>
        <id>20230818-markdown-section-link</id>
        <link href="https://alanhc.github.io/logA/posts/20230818-markdown-section-link"/>
        <updated>2023-08-18T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Toc部分
```js
import markdownToc from 'markdown-toc';
const tocMarkdown = awa]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[將部落格加入sitemap功能]]></title>
        <id>20230817-next-sitemap</id>
        <link href="https://alanhc.github.io/logA/posts/20230817-next-sitemap"/>
        <updated>2023-08-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

指令下：`pnpm add -D next-sitemap`
next.config.js新增
SITE_URL="https://example.com"]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[新增page loading的進度條]]></title>
        <id>20230816-nprogress</id>
        <link href="https://alanhc.github.io/logA/posts/20230816-nprogress"/>
        <updated>2023-08-16T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

`pnpm add nprogress`
`pnpm add -D @types/nprogress`
在pages/_app.tsx新增
```js
im]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[三種使用Python爬取網頁的方法]]></title>
        <id>20230813-back-up-crawler</id>
        <link href="https://alanhc.github.io/logA/posts/20230813-back-up-crawler"/>
        <updated>2023-08-13T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 第一版: 使用session慢慢爬
```python
s = requests.Session()
```
## 第二版: 使用python的並行處]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[使用react syntax highlighter及useClipboard強化程式碼區塊]]></title>
        <id>20230812-react-syntax-clipboard</id>
        <link href="https://alanhc.github.io/logA/posts/20230812-react-syntax-clipboard"/>
        <updated>2023-08-12T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

# react syntax highlighter + clipboard
1. 先去讀 postsDirectory 的markdownfile交給ma]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[實作ipfs上傳的前端]]></title>
        <id>20230109-ipfs-upload</id>
        <link href="https://alanhc.github.io/logA/posts/20230109-ipfs-upload"/>
        <updated>2023-01-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

1. import package
```js
import { NFTStorage, File, Blob } from 'nft.storage'
c]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[erc 1155 合約]]></title>
        <id>20230108-solidity-nft</id>
        <link href="https://alanhc.github.io/logA/posts/20230108-solidity-nft"/>
        <updated>2023-01-08T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## ERC 721
```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[部署我的網站到k8s上]]></title>
        <id>20221231-k8s-notes</id>
        <link href="https://alanhc.github.io/logA/posts/20221231-k8s-notes"/>
        <updated>2022-12-31T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 1. 在專案根目錄新增以下檔案
```dockerfile
FROM node:16-alpine
ARG NODE_ENV="production"]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[使用smartpy撰寫tezos的nft程式]]></title>
        <id>20221230-tezos-nft-tutorial</id>
        <link href="https://alanhc.github.io/logA/posts/20221230-tezos-nft-tutorial"/>
        <updated>2022-12-30T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 撰寫nft合約
- 到 [smartpy ide](https://smartpy.io/ide) 輸入
```python
import smart]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[在solana上mint NFT]]></title>
        <id>20221228-solana-nft-tutorial</id>
        <link href="https://alanhc.github.io/logA/posts/20221228-solana-nft-tutorial"/>
        <updated>2022-12-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

1. 下載 solana cli: `sh -c "$(curl -sSfL https://release.solana.com/v1.14.11/ins]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Hello World]]></title>
        <id>first-day</id>
        <link href="https://alanhc.github.io/logA/posts/first-day"/>
        <updated>2022-12-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

# Hi! 😃
hello world!

</body>
</html>
]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20220811-monorepo-development]]></title>
        <id>20220811-monorepo-development</id>
        <link href="https://alanhc.github.io/logA/posts/20220811-monorepo-development"/>
        <updated>2022-08-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## Ref
前言
- LINE台灣用戶有2100萬
- LINE 跨國公司
正文
- 時間：2000年初
- 共享code，scale build sys]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20220811-LINE-Blockchain-Developer-Intern]]></title>
        <id>20220811-LINE-Blockchain-Developer-Intern</id>
        <link href="https://alanhc.github.io/logA/posts/20220811-LINE-Blockchain-Developer-Intern"/>
        <updated>2022-08-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

## 為何想去實習？
- 知道業界缺乏什麼樣的人才？
- 了解學界、業界差異
- 累積實戰經驗
- 同學都有好幾段實習經歷
- 看看自己的市場價值
## 我]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Upgrade nx repo to react 18]]></title>
        <id>20220721-upgrade-nx-repo-to-react-18</id>
        <link href="https://alanhc.github.io/logA/posts/20220721-upgrade-nx-repo-to-react-18"/>
        <updated>2022-07-21T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

- 更新@nrwl/react 到14會自動更新React到18
- https://nx.dev/guides/react-18#react-18-mig]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Decentral Showroom — NTU DApp Term project]]></title>
        <id>20220531-Decentral-Showroom-NTU-DApp-Term-project</id>
        <link href="https://alanhc.github.io/logA/posts/20220531-Decentral-Showroom-NTU-DApp-Term-project"/>
        <updated>2022-05-31T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

![](https://i.imgur.com/arbyM3t.png)
photo by Hsiang Hsu, model: Cute Ubi
> De]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[web3 世界裡的驗證機制，以Tezos為例]]></title>
        <id>20220518-web3-世界裡的驗證機制-以Tezos為例</id>
        <link href="https://alanhc.github.io/logA/posts/20220518-web3-世界裡的驗證機制-以Tezos為例"/>
        <updated>2022-05-18T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

在web3的世界裡面，區塊鏈錢包取代了過去綁定社交帳號登入的功能，以下面在Tezos上的NFT交易平台objkt為例，可以看到sync取代login的按鈕。]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20211028-虛擬人課堂筆記4-vroid]]></title>
        <id>20211028-虛擬人課堂筆記4-vroid</id>
        <link href="https://alanhc.github.io/logA/posts/20211028-虛擬人課堂筆記4-vroid"/>
        <updated>2021-10-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

* [vroid](https://vroid.com/en/studio) (註冊&#x26;下載)
調整模型到你喜歡的
Face Editor>Gene]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20211027-虛擬人課堂筆記3-unity-facecapture]]></title>
        <id>20211027-虛擬人課堂筆記3-unity-facecapture</id>
        <link href="https://alanhc.github.io/logA/posts/20211027-虛擬人課堂筆記3-unity-facecapture"/>
        <updated>2021-10-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

去上禮拜[ReadyPlayerMe](https://readyplayer.me/)下載glb模型檔
![](https://i.imgur.com/F]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[虛擬人課堂筆記2 —Mozilla Hub]]></title>
        <id>20211018-虛擬人課堂筆記2</id>
        <link href="https://alanhc.github.io/logA/posts/20211018-虛擬人課堂筆記2"/>
        <updated>2021-10-18T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

在Mozilla Hub裡面使用虛擬角色
====================
新建一個room：
[https://hubs.mozilla.com]]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[虛擬人課堂筆記 — SparkAR]]></title>
        <id>20211011-虛擬人課堂筆記-spark-ar</id>
        <link href="https://alanhc.github.io/logA/posts/20211011-虛擬人課堂筆記-spark-ar"/>
        <updated>2021-10-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

讀完這篇，將學會可在FB嵌入的濾鏡👇
-------------------
先[下載 SparkAR](https://sparkar.facebook]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20210820-開發mcu-up-銘傳金手指3-0-的那些事兒]]></title>
        <id>20210820-開發mcu-up-銘傳金手指3-0-的那些事兒</id>
        <link href="https://alanhc.github.io/logA/posts/20210820-開發mcu-up-銘傳金手指3-0-的那些事兒"/>
        <updated>2021-08-20T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

請參考：[銘傳金手指](https://next-school-up.vercel.app/)
![](https://i.imgur.com/ermaKM]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20190614-CGfinal]]></title>
        <id>20190614-CGfinal</id>
        <link href="https://alanhc.github.io/logA/posts/20190614-CGfinal"/>
        <updated>2019-06-14T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

### alanhc/張牧之 電腦圖學-week17 \[final\]
<div></div>[![](https://1.bp.blogspot.com]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20190409-uva409]]></title>
        <id>20190409-uva409</id>
        <link href="https://alanhc.github.io/logA/posts/20190409-uva409"/>
        <updated>2018-04-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180405-uva630]]></title>
        <id>20180405-uva630</id>
        <link href="https://alanhc.github.io/logA/posts/20180405-uva630"/>
        <updated>2018-04-05T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180317-uva10409]]></title>
        <id>20180317-uva10409</id>
        <link href="https://alanhc.github.io/logA/posts/20180317-uva10409"/>
        <updated>2018-03-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180314-uva105]]></title>
        <id>20180314-uva105</id>
        <link href="https://alanhc.github.io/logA/posts/20180314-uva105"/>
        <updated>2018-03-14T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180312-uva10190]]></title>
        <id>20180312-uva10190</id>
        <link href="https://alanhc.github.io/logA/posts/20180312-uva10190"/>
        <updated>2018-03-12T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#更](https://www.facebook.com/hashtag/%E6%9B%B4?__eep__=6&#x26;__cft__[0]=AZXK]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180309-uva141]]></title>
        <id>20180309-uva141</id>
        <link href="https://alanhc.github.io/logA/posts/20180309-uva141"/>
        <updated>2018-03-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#續](https://www.facebook.com/hashtag/%E7%BA%8C?__eep__=6&#x26;__cft__[0]=AZUY]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180228-hash-table]]></title>
        <id>20180228-hash-table</id>
        <link href="https://alanhc.github.io/logA/posts/20180228-hash-table"/>
        <updated>2018-02-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#Data_Structure_and_Algorithms](https://www.facebook.com/hashtag/data_structu]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180222-uva401]]></title>
        <id>20180222-uva401</id>
        <link href="https://alanhc.github.io/logA/posts/20180222-uva401"/>
        <updated>2018-02-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180212-uva10611]]></title>
        <id>20180212-uva10611</id>
        <link href="https://alanhc.github.io/logA/posts/20180212-uva10611"/>
        <updated>2018-02-12T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

![](https://i.imgur.com/daxm26z.jpg)
![](https://i.imgur.com/8DqMq4E.jpg)
## R]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180210-NCTU-PCCA-winter-notes]]></title>
        <id>20180210-NCTU-PCCA-winter-notes</id>
        <link href="https://alanhc.github.io/logA/posts/20180210-NCTU-PCCA-winter-notes"/>
        <updated>2018-02-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

# NCTU PCCA winter
## 快速索引
- [活動網頁] | [水題大賽] | [課程網頁]
- [演算法筆記]
[課程網頁]: https:]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180209-uva406]]></title>
        <id>20180209-uva406</id>
        <link href="https://alanhc.github.io/logA/posts/20180209-uva406"/>
        <updated>2018-02-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180209-linked-list]]></title>
        <id>20180209-linked-list</id>
        <link href="https://alanhc.github.io/logA/posts/20180209-linked-list"/>
        <updated>2018-02-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#練習](https://www.facebook.com/hashtag/%E7%B7%B4%E7%BF%92?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180206-uva10162]]></title>
        <id>20180206-uva10162</id>
        <link href="https://alanhc.github.io/logA/posts/20180206-uva10162"/>
        <updated>2018-02-06T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180205-uva10405]]></title>
        <id>20180205-uva10405</id>
        <link href="https://alanhc.github.io/logA/posts/20180205-uva10405"/>
        <updated>2018-02-05T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得]() [#Longest_Common_Subsequence]() [#LCS]() [#DP]() [#Uva10405]() [#解題]()]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180131-uva11917]]></title>
        <id>20180131-uva11917</id>
        <link href="https://alanhc.github.io/logA/posts/20180131-uva11917"/>
        <updated>2018-01-31T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180128-uva10931]]></title>
        <id>20180128-uva10931</id>
        <link href="https://alanhc.github.io/logA/posts/20180128-uva10931"/>
        <updated>2018-01-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180124-gets-puts]]></title>
        <id>20180124-gets-puts</id>
        <link href="https://alanhc.github.io/logA/posts/20180124-gets-puts"/>
        <updated>2018-01-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180123-int2str]]></title>
        <id>20180123-int2str</id>
        <link href="https://alanhc.github.io/logA/posts/20180123-int2str"/>
        <updated>2018-01-23T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20180119-hackmd]]></title>
        <id>20180119-hackmd</id>
        <link href="https://alanhc.github.io/logA/posts/20180119-hackmd"/>
        <updated>2018-01-19T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#分享](https://www.facebook.com/hashtag/%E5%88%86%E4%BA%AB?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171230-recursion]]></title>
        <id>20171230-recursion</id>
        <link href="https://alanhc.github.io/logA/posts/20171230-recursion"/>
        <updated>2017-12-30T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171221-uva10190]]></title>
        <id>20171221-uva10190</id>
        <link href="https://alanhc.github.io/logA/posts/20171221-uva10190"/>
        <updated>2017-12-21T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#Debug](https://www.facebook.com/hashtag/debug?__eep__=6&#x26;__cft__[0]=AZVA]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171219-recursion]]></title>
        <id>20171219-recursion</id>
        <link href="https://alanhc.github.io/logA/posts/20171219-recursion"/>
        <updated>2017-12-19T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171217-DP]]></title>
        <id>20171217-DP</id>
        <link href="https://alanhc.github.io/logA/posts/20171217-DP"/>
        <updated>2017-12-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171210-vector]]></title>
        <id>20171210-vector</id>
        <link href="https://alanhc.github.io/logA/posts/20171210-vector"/>
        <updated>2017-12-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171202-styleguide]]></title>
        <id>20171202-styleguide</id>
        <link href="https://alanhc.github.io/logA/posts/20171202-styleguide"/>
        <updated>2017-12-02T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#文章分享](https://www.facebook.com/hashtag/%E6%96%87%E7%AB%A0%E5%88%86%E4%BA%AB?]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171106-gcd]]></title>
        <id>20171106-gcd</id>
        <link href="https://alanhc.github.io/logA/posts/20171106-gcd"/>
        <updated>2017-11-06T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#程式分享](https://www.facebook.com/hashtag/%E7%A8%8B%E5%BC%8F%E5%88%86%E4%BA%AB?]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171105-makerfair]]></title>
        <id>20171105-makerfair</id>
        <link href="https://alanhc.github.io/logA/posts/20171105-makerfair"/>
        <updated>2017-11-05T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

前情提要：
今天去MakerFaire有個攤位是做智慧家電的，
我覺得有個還蠻適合拿來討論的，
簡單來說一般做物聯網都是用網路來做，
但他們很特別是靠電力系]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171102-computer-virus]]></title>
        <id>20171102-computer-virus</id>
        <link href="https://alanhc.github.io/logA/posts/20171102-computer-virus"/>
        <updated>2017-11-02T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171027-refactor]]></title>
        <id>20171027-refactor</id>
        <link href="https://alanhc.github.io/logA/posts/20171027-refactor"/>
        <updated>2017-10-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

https://www.ithome.com.tw/node/46046
## Ref
- https://www.facebook.com/groups/]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[20171027-bnf]]></title>
        <id>20171027-bnf</id>
        <link href="https://alanhc.github.io/logA/posts/20171027-bnf"/>
        <updated>2017-10-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contents</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

[#心得](https://www.facebook.com/hashtag/%E5%BF%83%E5%BE%97?__eep__=6&#x26;__cft]]></summary>
        <author>
            <name>alanhc</name>
            <email>alanhc.tseng1999@gmail.com</email>
            <uri>https://alanhc.github.io</uri>
        </author>
    </entry>
</feed>