Arch Linux:套件管理工具 pacman

The pacman package manager is one of the major distinguishing features of Arch Linux. It combines a simple binary package format with an easy-to-use build system. The goal of pacman is to make it possible to easily manage packages, whether they are from the official repositories or the user’s own builds. 簡單來說,pacman 類似 Ubuntu 的 apt 或者 CentOS …
Read more

Arch Linux:安裝筆記

本文使用 BIOS + GPT 開機。如果開機方式不同的話,有些地方會不完全適用,要特別注意。 準備開機碟 先到官網下載 .iso 檔,Arch 映像檔由於只包含基礎需求,大 …
Read more

Event Loop in JavaScript

前兩天面試被問到對於 JavaScript Event Loop 的理解,覺得自己回答得不夠好,又去查了不少資料來補強,為加深印象,決定做個筆記。 JavaScript 是單執行緒(single thre …
Read more

VSCode 實用套件: REST Client

REST Client: 官方載點 REST Client: Github 專案 不多說,先直接上圖感受一下: 簡介 REST Client allows you to send HTTP request and view the response in Visual Studio Code directly. REST Client 這個套件可以讓 VSCode 擁有像 Postman 一樣,對 server 發送GET、P …
Read more

算法複雜度筆記

資源 時間:需要經過多少步演算才能解決問題 空間:解決問題時需要多少記憶體 時間和空間是最重要的兩項資源。 以時間 T 為例,如果輸入的資料長度 n 作為變 …
Read more

思考 FizzBuzz

如果你沒看過 FizzBuzz,題目是這樣的: 給定一串從 1 到 n 的數字: a. 如果是 3 的倍數,就印出 “Fizz” b. 如果是 5 的倍數,就印出 “Buzz” c. 如果同時是 3 和 5 的 …
Read more

創用CC授權是什麼鬼?

(CC授權示意圖,圖為 CC BY-NC-ND) 瀏覽新聞網站或是部落格,經常可以看到圖片底下除了圖說、作者姓名之外,後面還會有個括號寫著像是:(C …
Read more

各種符號的英文讀法

運算符號 Symbol Description 中文說法 + Plus, And 加號、正號 - Minus, Negative 減號、負號 * Times, Multiplied by 乘號 / Devided by 除號 % Percent 百分號 = Equals 等號 ( ) Open(close) parenthesis, Parentheses 小括號 [ ] Open(close) bracket, Square brackets 方括號 { } Open(close) brace, Open(close) curly, Curly …
Read more