進階搜尋
搜尋結果
找到了 668 個結果
學習相關連結
《网络工程师的Python之路》教学文章、视频汇总 - 知乎 (zhihu.com)
smokeping install
timedatectl set-timezone Asia/Taipei install docker curl -fsSL https://get.docker.com | bash -s docker run smokeping in docker mkdir -p /home/monitor/smokeping/config mkdir -p /home/monitor/smokeping/data chown -R monitor /home/monitor/smokeping/ s...
相關資源
Kubernetes in Action https://fanatical-dentist-b1d.notion.site/Kubernetes-in-Action-8ac92f08a3fd41028ed1ae20cdc7a007 Kubernetes in Action2 https://fanatical-dentist-b1d.notion.site/Kubernetes-in-Action2-4d565efc45124bc989484c8cdb7df181 Kubernetes 官方文檔(簡中) ...
【jq】相關連結
jq play jq 常用操作 - mozillazg's Blog
【Shell】取得pubic ip
#curl ifconfig.me; echo 175.99.111.111
【shell】內建變數
$BASH_ENV absolute path of startup file $CDPATH directories searched by cd $FCEDIT absolute path of history editor $HISTCMD the history number of the current command $HISFILE absolute path of history file $HISTSIZE number of remembered command...
【Shell】動態呼叫awk自訂函數
*test.sh #!/bin/bash awkshell="/tmp/newdf.$$" #awkshell="/tmp/newdf" trap "rm -f $awkshell" exit cat << EOF > $awkshell function showunit(size){ mb = size / 1024; gb = mb / 1024; if ( size < 1024 || substr(size,1,1) !~ "[0-9]...
【vim】快速鍵
1. vi 編輯器中跳到檔案的第一行: a 輸入 :0 或者 :1 回車 b 鍵盤按下 小寫 gg 2.vi 編輯器跳到檔案最後一行: a 輸入 :$ 回車 b 鍵盤按下大寫 G c 鍵盤按 shift + g (其實和第二種方法一樣) Vim快速移動游標至行首和行尾 1、 需要按行快速移動游標時,可以使用鍵盤上的編輯鍵Home,快速將游標移動至當前行的行首。除此之外,也可以在命令模式中使用快捷鍵"^"(即Shift+6)或0(數字0)。 2...
【Python】selenium性能優化
selenium性能優化 chrome_options = Options() chrome_options.add_argument("--window-size=1920,1080") #禁用插件 chrome_options.add_argument("--disable-extensions") #無圖形化 chrome_options.add_argument("--headless") chrome_options.add_argument("--disable-gpu") chro...
【MySQL】 mysqldump參數大全
IT 研究室 ( 前IT DBA's 資訊站): [轉載] MySQL mysqldump參數大全 (jaychu649.blogspot.com) 要注意的是--master-data、--dump-slave兩個參數的差別, 以前從未注意過--dump-slave參數 --master-data用於在master端dump資料,用於建立slave--dump-slave使用者在slave端dump資料,建立新的slave,至少是第2個slave,也就是已經有A-->B,現在從B上匯出資料建立A-->C...
【Python】selenium自動播放flash
python selenium firefox 控制devtools 一些线索_wujiuqier的博客-CSDN博客 軟體載點 https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ https://github.com/mozilla/geckodriver/releases 後來測試可用的組合為 python 3.7.0 firefox 57.0.4 geckodriver 0.19.1 selenium 3.141.0 版...
【JS】iframe 自適應內容高度
<script type="text/javascript"> function SetCwinHeight() { var iframeid = document.getElementById("mainframe"); //iframe id if (document.getElementById) { if (iframeid && !window.opera) { if (iframeid.contentDocument && if...
【php】在 CentOS 6 安裝、設定 Oracel PDO_OCI
在 CentOS 6 安裝、設定 Oracel PDO_OCI | 未知 (dtask.idv.tw) https://www.oracle.com/database/technologies/instant-client.html <?php // IP 與 PORT $tns = ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.1)(PORT = 1521...
【Python】刪除 window 下執行時產生的暫存檔
for /f "delims=" %F in ('Dir /B /S .\*.py ^|findstr /IE "\\migrations\\[^\\]*.py"^|findstr /IEV "\\__init__.py" ') Do @echo del "%F"
PHP_檔案相關
判斷資料夾是否存在,建立資料夾 if ( !file_exists( $dir ) || !is_dir( $dir) ) { mkdir($dir); } 遞回查詢資料夾內檔案 function listdirs($dirf, $mark=1) { // LOB_MARK 若檔案為資料夾,在回傳檔案路徑的最後面加上斜線"\" // GLOB_NOSORT 保持檔案路徑在原資料夾的出現順序(不重新排序) // GLOB_NOCHECK 若找不到匹配的檔...
PHP_連線postgresql
安裝postgrel extenstion yum install php-pgsql -y 修改 /var/lib/pgsql/12/data/pg_hba.conf host all all 10.60.87.0/24 md5 重啟服務 service postgresql-12 restart
【Tailwind Css】相關
vscode extension 取消 validate 驗證 初始化專案 npm install -D tailwindcss npx tailwindcss init 相關連結 GitHub - aniftyco/awesome-tailwindcss: 😎 Awesome things related to Tailwind CSS
【Git】還原相關
以下是關於 Git 還原(恢復)功能的完整說明 Git 還原功能總表 指令 還原範圍 是否會刪除暫存區 是否會刪除未追蹤檔案 適用情境 git checkout . 工作目錄 否 否 還原已追蹤檔案 git restore . 工作目錄 否 否 推薦用法,等同於 checkout . git restore --staged 暫存區 是 否 還原 git add 的檔案 git reset 暫存區 是 否 退回 staging 區 git reset --har...