說明如何用Docker啟動MySQL資料庫,並用Node.js搭配Express撰寫存取資料庫的API。
在開發node.js專案時,會使用相對路徑進行require。當資料夾結構較深時,常出現以下程式碼:
const foo = require('../../../../../foo')const…
當在使用 aws-cli,或是 boto3 之類的 SDK,與 AWS 互動的時候,實際上是將指令包裝成 RESTful 的 request,送往 AWS 的 Server。
本文將簡單地研究一下,究竟是送出了怎樣的 request,而 AWS 又是回了怎樣的 response。
假設我們在 AWS 的 SQS 上有一個 Queue,叫做 myqueue。
數字
方向鍵
以下說明如何在MAC上執行SQL Server,並以VS Code的mssql擴充工具測試連接。
jq是一個command line的JSON處理器。
只要 import logging,即可開始使用 python 內建的 log 模組。
根據訊息的種類,選擇不同層級:
import logging
logging.debug("debug message")logging.info("info message")logging.warning("warning message")logging.error("error message")…
Use docker to run PostgreSQL is handy.