Skip to content

Benjr.tw

  • Linux
    • Stress & Performance
    • Hardware Info
    • System Monitor
    • Security
    • Desktop
    • PXE
    • Filesystem Hierarchy Standard
    • Linux 開機選項
    • Linux Package Manager
    • 備份 Backup
  • Virtualization
    • Docker & Podman
    • CoreOS
  • NAS/SAN
  • Programming Language
    • Python
    • Bash shell script
    • Perl
    • PHP
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

Node.JS

Python – singledispatch decorator

2022-09-212022-09-21 adminLinux, Node.JS, Python, RedHat / CentOS

Loading

使用 functools.singledispatch 可以讓程式更容易閱讀,來看以下2個範例. 測試環境為 CentOS 8 x86_64 , 參考範例 – https://towardsdatascience.com/simplify-your-functions-with-func […]

Read more

Node.js – nodemon 套件

2021-05-212021-05-21 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 Node.JS 所需套件須透過 npm 來下載,所以必須安裝 npm (Node Package Manager) 套件. 檢視一下 Node.JS 與 npm 版本. 以下為使用 Express 模組的 http server 程式,關於程式說明請參考 […]

Read more

Node.js – npm 管理

2021-05-212021-05-21 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 Node.JS 所需套件須透過 npm 來下載,所以必須安裝 npm (Node Package Manager) 套件. 檢視一下 Node.JS 與 npm 版本. 先來建立我們要使用的程式目錄. 程式可能會使用到不同的 npm 模組,可以透過 npm […]

Read more

Node.js – 使用 express 模組建立 Web Server

2021-05-212021-05-21 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

前一篇 https://benjr.tw/103424 使用 http(內建模組) 建立 Web Server,這一次使用 Express 模組建立 Web Server . 測試環境為 CentOS 8 x86_64 Node.JS Node.JS 所需套件須透過 npm 來下載,所以必須安裝 n […]

Read more

Node.js – 模組 (Module)

2021-04-122021-05-20 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 把常用的功能寫在一起成為一個模組 (Module) ,模組的回傳值可以是 屬性 (變數 properties) ,函式(函數 Function)或是物件 Object(同時有多個屬性或是函式),以下來看看. Node.JS 所需套件須透過 npm 來下載, […]

Read more

Node.js – Object 物件

2021-04-082021-04-12 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 Node.js – Object 物件通常包含了數個變數(在物件中被稱為屬性 properties)及數個函式(函數 Function). Node.JS 所需套件須透過 npm 來下載,所以必須安裝 npm (Node Package Manager) […]

Read more

Node.js – 使用 http(內建模組) 建立 Web Server

2021-03-312021-04-13 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 Node.JS 所需套件須透過 npm 來下載,所以必須安裝 npm (Node Package Manager) 套件. 檢視一下 Node.JS 與 npm 版本. 測試一下 Node.js 是否可以常運作.使用 Node.js 官方網站程式範例 ht […]

Read more

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ansible – gather facts
  • Ansible – host_vars 定義特定的變量
  • Ansible 範例 – Chrony daemon
  • Ubuntu NTP Client 校時設定

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「w」於〈Ubuntu 16.04 Server PXE 安裝〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「student」於〈Linux command – tcpdump〉發佈留言

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
  • Privacy Policy
  • 隱私權政策
Powered by WordPress | Theme: Astrid by aThemes.