[POSIX][Command] Linux 常用情境指令集
Intro POSIX (可移植作業系統介面) – Wikipedia HD capacity – 硬碟容量相關 df – 列出本機硬碟使用情況 $ df # 指定掛載點 (Mounted on) $ df / # 自動換算顯示合適容量單位 (-h=/1024 | -H=/1000) $ df -h $df -H # 顯示檔案系統 (如 ext4) $ df -T $ df […]
網頁開發知識 | Web-Dev Blog
Intro POSIX (可移植作業系統介面) – Wikipedia HD capacity – 硬碟容量相關 df – 列出本機硬碟使用情況 $ df # 指定掛載點 (Mounted on) $ df / # 自動換算顯示合適容量單位 (-h=/1024 | -H=/1000) $ df -h $df -H # 顯示檔案系統 (如 ext4) $ df -T $ df […]
Intro Web development tools / devtools – Wikipedia 本篇將以 Chrome 瀏覽器為主,介紹 Developer Tools 的實作技巧 Window.open() 新視窗監測 現行要監測某個 button click 會開啟轉導去哪,在前端框架下從 JS code 很難找出目的,若又是 window.open 效果則無法持續透過 developer tool 監測 Network 歷程 比較簡單暴力的做法是在該 web page 的 console 覆寫 window.open() 看要 console.log() 出來還是改成 […]
Intro 簡易郵件傳輸通訊協定 SMTP 是什麼? | Cloudflare 簡單郵件傳送協定(Simple Mail Transfer Protocol / SMTP)可用在傳送和接收電子郵件的資訊,但 SMTP 通常用作傳送電子郵件而不是接收。 SMTP 是一個相對簡單的基於文字的協定,可以透過協定指定將訊息傳送至一或多個接收者,通過 telnet 程式可以簡單的測試一個 SMTP伺服器。SMTP 主要 TCP port 以前為 25 現今為 587 (TLS) 。DNS 的 MX record 決定 SMTP 伺服器。 角色 Agent Software for example MUA […]
Intro 可以利用/etc/pam.d/下檔案的 hook 效果去觸發執行外部 Shell script file,而 Shell 中去抓取登入者資訊並寄送 email,以達到 SSH Login 自動發信通知 作法 先撰寫建立好 Shell script file 作為發送信件程式: $ vim /etc/ssh/login-notify.sh #!/bin/sh # Change these two lines: sender="sender-address@example.com" recepient="notify-address@example.org" if [ "$PAM_TYPE" != "close_session" ]; then host="`hostname`" subject="SSH Login: […]
ASCII | UTF-8 | UTF-16 | UTF-32 | Big5 | Intro 字元編碼 (Character encoding) – Wikipedia ASCII (ISO/IEC 646) ASCII (American Standard Code for Information Interchange) – Wikipedia ASCII table – Table of ASCII codes, characters and symbols Item Content […]
Intro 適用於Linux的Windows子系統 – Wikipedia Windows Subsystem for Linux (WSL2) 環境設定 – HackMD Windows Subsystem for Linux 為相容層系統,共用 host 檔案管理及網路,目前已相當成熟,適合取代 Cygwin。 WSL 架構 Reference: Ravindu Senal Fernando – Medium 程式軟體搭配 Ubuntu terminal environment – Microsoft Store 可以自行選擇 WSL 發行版,這裡使用 Ubuntu 為例 […]
Image: Build | Tag | Commit | Pull/Push | Docker File | Compose File Container: Run Cheat Sheet | dockerlabs Command-line interfaces (CLIs) from Docker Docs: Docker CLI Docker compose CLI Daemon (dockerd) CLI CLI Auto-completion: MacOS – How to […]
Intro Docker – Wikipedia Docker 官方網站 Docker Documentation Concept – 概念 Difference between VM vs Docker Docker overview | Docker Documentation Quick Start Guides – Get started | Docker Documentation Docker 指令集 | 指令速查表 – YIDAS Code PHP and Nginx […]
Intro Android Developers | 開發人員指南 Quick Start 建立第一個 Android 應用程式 – Android Developers 建構並執行應用程式 – Android Developers 若有建立 Android Emulator 則可以直接在 Android Studio 的 Running Devices 列表找到,實體手機則可以透過 USB 或 Wi-Fi 連結裝置以加入列表。 使用連結的 Device 執行 Run 後該 Device 就會安裝 apk 並開啟執行 […]
Intro JavaScript library 列表 – Wikipedia Framework / lib (MVC/MVP, MVVM) JavaScript 網頁應用庫 (MVC, MVVM) 列表 – Wikipedia NPM – 套件管理 JavaScript 語言版本 TypeScript (JS嚴格語法超集) – Wikipedia Module Bundler – 打包工具 Webpack Webpack -Wikipedia webpack/webpack – Github