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

OS

Apache – The timeout specified has expired

2022-11-152022-11-15 adminLinux, Network, RedHat / CentOS

Loading

測試環境 CentOS 8 Apache 的 error_log 出現以下錯誤訊息. 解法參考 – https://shouts.dev/articles/apache-proxy-fcgi-the-timeout-specified-has-expired-on-rhel 安裝 mod […]

Read more

Excel Power Query – Excel.Workbook & Excel.CurrentWorkbook

2022-11-102022-11-10 adminPower Query, Windows

Loading

測試環境 Windows 10 + Excel 2016 透過 Excel 的 Power Query 下面指令可以讀取到 Excel 的表格資料(資料須先做成表格). Excel.CurrentWorkbook – https://learn.microsoft.com/zh-tw/p […]

Read more

MariaDB – SUM JSON Array

2022-11-032022-11-03 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 X86_64 (虛擬機) 在資料庫一個欄位儲存了 JSON 的陣列 Array [ 0.89, 12.99, 5.23, 2.04 ] 有辦法作加總嗎? 從網路找到寫好的 JSON 陣列加總函數 Function – https://stackoverflo […]

Read more

SQLite 常用指令

2022-10-062022-10-06 adminLinux, RedHat / CentOS, SQLite

Loading

建立測試用資料表,與其資料. SHOW TABLES SQLite 沒有 SHOW TABLES 指令,可以透過以下指令查詢現有的資料表. 執行結果 DESCRIBE Table SQLite 沒有 DESCRIBE Table 指令,可以透過以下指令查詢現有的資料表欄位. 執行結果 或 執行結果

Read more

Excel – 比對不同表格資料

2022-09-232022-09-23 adminWindows

Loading

測試環境 Windows 10 , Excel 2016 參考文章 – https://officeguide.cc/excel-compare-two-excel-sheets-tutorial-examples/ Excel 這兩張表格的差異在哪裡,用肉眼比對很累,有什麼方式可以快速 […]

Read more

Python – 使用 Flask 模組建立 API

2022-09-212022-09-21 adminLinux, Python, RedHat / CentOS

Loading

參考 – https://jeffwen0105.com/%E7%AC%AC%E4%B8%80%E6%AC%A1%E4%BD%BF%E7%94%A8-python-flask-restful-api-%E5%B0%B1%E4%B8%8A%E6%89%8B-get-%E6%96%B9%E6 […]

Read more

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

Linux – Systemd Service Type

2022-09-142022-11-25 adminLinux, RedHat / CentOS

Loading

透過自己寫 Systemd Unit Files 方式來取代傳統的 (crontab) cron table 啟動程式. 測試環境 CentOS 8 x86_64 (虛擬機) 寫了一支會定期 60 秒寫入時間資料到檔案的 c++ 程式. 編譯成可執行檔. 程式放到 /sbin/ 路徑. 開始編輯 S […]

Read more

SQL 語法 SELECT LIKE

2022-09-132022-09-13 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

SQL 語法 SELECT 的字串比對 (需注意資料庫字元編碼 Character Sets 與 文字排序 Collations ,請參考資料庫編碼 – https://benjr.tw/102156 ) 測試環境為 CentOS 7 x86_64 (虛擬機) LIKE 通常會搭配 % […]

Read more

Python – SQLite REGEXP SQL Query

2022-09-132023-02-17 adminLinux, RedHat / CentOS, SQLite

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) 關於 Python 存取 SQLite 資料庫請參考 – https://benjr.tw/104703 當透過 Python 使用到 SQL 指令中的 REGEXP (正規表示式比對字串),但卻發生以下的錯誤訊息,參考文章 &#8 […]

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.