跳到主內容
進階搜尋
搜尋字串
內容類型

精確符合
標籤搜尋
日期選項
在此之後更新
在此之前更新
在此之後建立
在此之前建立

搜尋結果

找到了 578 個結果

【Python】psycopg2 防止SQL injection(轉)

【Treeman】總覽 Python

使用Python防止SQL注入攻击_似繁星跌入梦的博客-CSDN博客_python防止sql注入

【Cisco】Switch相關指令

【Treeman】總覽 網路相關

LAB 2-1:Switch基本環境設定 清除Switch的組態設定 Switch>enable Switch#erase startup-config Switch#delete vlan.dat Switch#reload Switch設主機名稱 Switch#configure terminal Switch(config)#hostname lab2 console閒置設0分,啟用logging訊息輸出後自動換行功能 lab2(config)#line console ...

PHP_判斷json物件

【Treeman】總覽 PHP

  function isJson($string) { json_decode($string); return json_last_error() === JSON_ERROR_NONE; }  

【Python】登入網路設備擷取資訊

【Treeman】總覽 Python

https://www.cnblogs.com/guxh/p/12375801.html https://www.cnblogs.com/guxh/p/9831226.html netmiko https://www.csdn.net/tags/MtTaEgxsNDk2NDIzLWJsb2cO0O0O.html https://zhuanlan.zhihu.com/p/367962211 最强Netmiko攻略疑难杂症篇 - 知乎 (zhihu.com)

學習相關連結

【Treeman】總覽 網路相關

《网络工程师的Python之路》教学文章、视频汇总 - 知乎 (zhihu.com)

smokeping install

【Treeman】總覽 網路相關

  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...

相關資源

【Treeman】總覽 K8s

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】相關連結

【Treeman】Linux shell

jq play jq 常用操作 - mozillazg's Blog

【Shell】取得pubic ip

【Treeman】Linux shell

#curl ifconfig.me; echo 175.99.111.111

【shell】內建變數

【Treeman】Linux 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自訂函數

【Treeman】Linux shell

*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】快速鍵

【Treeman】Linux

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性能優化

【Treeman】總覽 Python

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參數大全

【Treeman】總覽 MySQL

  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

【Treeman】總覽 Python

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 自適應內容高度

【Treeman】總覽 Javascript

  <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

【Treeman】總覽 PHP

  在 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 下執行時產生的暫存檔

【Treeman】總覽 Python

for /f "delims=" %F in ('Dir /B /S .\*.py ^|findstr /IE "\\migrations\\[^\\]*.py"^|findstr /IEV "\\__init__.py" ') Do @echo del "%F"