指令存放所
  • 在指令列產生隨機檔名或隨機字串
  • 改變 git 某個 remote 的 url
  • 用 curl 存取 docker engine api
  • 看本機上的 port 被哪個 process 佔用
  • 執行 composer 時出現 requires ext-curl / ext-dom / ext-simplexml 的解決辦法
  • Ubuntu 透過 ppa:ondrej/php 安裝新版本的 PHP
  • pipenv 的注意事項
  • 換新 Mac 要做的事情
  • 把 Pritunl VPN 設定從一台 Mac 遷移到另一台 Mac
  • 在 PHP 的官方 docker image 中安裝 gd 與 pcntl
  • 在 Shell 裡面直接執行 Python 跟 PHP 指令
  • 關於「AND 1=1 UNION ALL SELECT 1,NULL,'<script>alert(\"XSS\")</script>',table_name FROM information_schema.tables WHERE 2>1--/**/; EXEC xp_cmdshell('cat ../../../etc/passwd')#」
  • 安裝 docker compose V2 到使用者家目錄
  • Docker compose build 出現 failed to solve with frontend dockerfile.v0 錯誤
  • Cassandra 的 Python driver 基本使用,timeout 與 retry 設定
  • 找出並移除不需要的 docker image,以及自動清理 docker 空間
  • 使用 PHP 內建的 web server 進行開發
  • 檢查 git repo 中每個人的 commit 次數以及修改行數
  • 在 shell 中自動切換使用 docker compose V1 跟 V2
  • PHP 8 的 null safe 操作
  • 用 docker compose 建立本地 PHP + Nginx + MuSQL server
  • 用 comm 來過濾 e-mail 清單
  • 用 awk 跟其他指令處理 apache access log
  • 用一行指令透過 SQLite 查詢 CSV 裡面的資料
#shell #php #docker #docker-compose #python #mac #security #git #awk #pritunl #vpn #nginx #mysql #cassandra #pipenv #sql #crypto #comm #network #apache #csv #sqlite #composer

©2023 指令存放所