• 作業系統
    • Windows
    • Linux
  • 資料庫
    • SQL Server
    • MySQL/MariaDB
  • 腳本
    • PowerShell
    • Shell Script
  • 開源服務
  • 虛擬化
  • 容器
  • 雲服務
  • 網路
  • 其他
  • WordPress
  • Javascript
  • PHP
  • Search

挨踢攻城獅學習之路

不太詳細紀錄
Skip to content
  • 作業系統
    • Windows
    • Linux
  • 資料庫
    • SQL Server
    • MySQL/MariaDB
  • 腳本
    • PowerShell
    • Shell Script
  • 開源服務
  • 虛擬化
  • 容器
  • 雲服務
  • 網路
  • 其他
  • WordPress
  • Javascript
  • PHP
  • Search
挨踢攻城獅學習之路

挨踢攻城獅學習之路

不太詳細紀錄

Edge 網址列預設不搜尋書籤、要怎麼快速搜尋書籤

們不希望在網址列輸入搜尋關鍵字時,會看到害羞的東西,但又希望可以快速搜尋書籤內容,可以怎麼做?

Read more "Edge 網址列預設不搜尋書籤、要怎麼快速搜尋書籤"

WordPress:PHP 7.4 + Opcache + Update Plugin = 502 Bad Gateway

WordPress+PHP 7.4+Opcache+Update Plugin=502 Bad Gateway

 troubleshooting
Read more "WordPress:PHP 7.4 + Opcache + Update Plugin = 502 Bad Gateway"

WordPress:Apache Benchmark 效能低落問題

紀錄一下,心血來潮重測了 Apache Benchmark ,發現自己四個站不同主機,測出來不約而同都變很糟之前 100 次 request、10 併發 最後一筆數據 都在 400ms 內,突然暴增到 8000ms,且 CPU 會滿載猜想大概每次請求都會從資料庫取內容為找到問題點,先嘗試清理/調整 …

 plugins / troubleshooting
Read more "WordPress:Apache Benchmark 效能低落問題"

PHP Server Monitor:ping 失效解決辦法

原本 ping 功能都可正常運作,直到某天更新 PHP Server Monitor 版本後,突然失效爬文找到這篇:Ping not working on 3.2.2 or on current development branch修改 src/psm/Util/Server/Updater/Sta …

 troubleshooting
Read more "PHP Server Monitor:ping 失效解決辦法"

Batch: 批次新增用戶及設定群組

Windows 批次增加多用戶並設定預設密碼、群組user.txt add.bat,以下 for 本機用戶 參考來源:如何使用命令列工具 net / WMIC 快速建立 Windows 系統帳戶、微軟

 batch
Read more "Batch: 批次新增用戶及設定群組"

Linux:ssh + schtasks 在 Windows 建立排程執行特定工作

在 Linux 下使用命令對 Windows 進行操作,可在 Windows 裝 OpenSSH 伺服器,再從 Linux 用 ssh / sshpass 來下命令,但有些軟體在 Windows 雖有提供命令,卻無法直接由 Linux 來下達,狀況是運行後命令會卡住,在 Windows 下執行就正常 …

 shellscript / ssh
Read more "Linux:ssh + schtasks 在 Windows 建立排程執行特定工作"

Javascript:IOS 14 Safari window.open 沒有提示彈跳視窗

原先寫法是 在 PC、Mobile 的 Safari、Chrome 都會顯示有彈跳視窗需允許才能打開,這沒什麼問題,允許就好但在 IOS 14 的 Safari 連提示都沒有,只能從設定裡去動,但不可能教使用者都要去改手機設定因此找了下解法找到這篇:window.open在Safari中不能打开的问 …

 troubleshooting
Read more "Javascript:IOS 14 Safari window.open 沒有提示彈跳視窗"

Javascript:關閉分頁、瀏覽器事件動作

網站需求要在關閉分頁、瀏覽器後,將用戶登出。因此需要1.有個事件監聽,能在各大 PC、Mobile 瀏覽器在關閉分頁或瀏覽器後執行程式2.該程式要能成功打 API 告知後端該用戶要登出 踩坑踩很久,先分享一下找到的文章,快速出坑 於 window.onbeforeunload 發送HTTP Requ …

 troubleshooting
Read more "Javascript:關閉分頁、瀏覽器事件動作"

WSL2:運行 npm install 錯誤

錯誤提示:-bash: /mnt/c/Program Files/nodejs/npm: /bin/sh^M: bad interpreter: No such file or directory餵狗得到這篇解法:Cannot run NPM Commands 看覺得是環境變數問題,所以照著操作確認 …

 troubleshooting / wsl
Read more "WSL2:運行 npm install 錯誤"

Go:取前端傳入的用戶 IP

前端:Nginx 代理後端:Haproxy + Go取 IP 部分主要參考這篇文章:GO获取客户端IP地址,以下可取得 IP 一開始由外部網路連入,取到的 IP 都是 127.0.0.1,嘗試了在前端 Nginx default.conf 加入了 未起作用,突然想起後端前有 HAProxy,於是翻閱 …

 Go
Read more "Go:取前端傳入的用戶 IP"

文章導覽

1 2 3 4 ... 15

近期文章

  • Let`s Encrypt:certbot renew 更新憑證失敗
  • Google Sheet / Apps Script:建立 Button 指派指令碼工作
  • WordPress:使用持續物件快取 W3 Total Cache
  • Edge / Chrome 打開網頁被強制轉到 https
  • Linux:自動更新套件或安全性

分類

  • WordPress (29)
  • 作業系統 (45)
    • Linux (31)
    • Windows (15)
  • 全端 (28)
    • CSS (3)
    • Dev Env (4)
    • Go (1)
    • Javascript (14)
    • PHP (6)
  • 其他 (11)
  • 容器 (10)
    • Docker (7)
    • Kubernetes (2)
  • 網路 (7)
  • 腳本 (13)
    • Batch (3)
    • PowerShell (4)
    • Shell Script (7)
  • 虛擬化 (8)
  • 資料庫 (9)
    • MySQL/MariaDB (1)
    • SQL Server (8)
  • 開源服務 (18)
  • 雲服務 (1)

標籤

analysis apache backup batch btrfs centos cisco cmder command css docker duplicati esxi firewall fortigate git Go google sheet hyper-v javascript kubernetes librenms linux mariadb network nextcloud nginx php plugins powershell redmine samba security selinux shellscript sql ssh troubleshooting vembu Visual Studio vps vue.js wordpress wsl zfs
Back to Top
©2019-2023 挨踢攻城獅學習紀錄
Powered by Anima & WordPress.