每月彙整:五月 2022

Make Down

Make Down 基本語法 https://www.youtube.com/watch?v=EigxHkpqJdA&t=481s # 一級標題 ## 二級標題 ### 三級標題 * 無序列表 1. 有序列表 2. 有序列表 ## 連接寫法 [我是鏈結](https://mynet.net) ## Title [我是鏈結](https://mynet.net) "我是title" 我是引用 **粗體** __粗體__ *斜體* _斜體_ ***粗體+斜體*** ~~刪除線~~ |居左| |:置中:| |居右:| `單行 code 引用` ## 多行 code 引用 … 繼續閱讀 →

發表於 未分類 | 發表迴響

shc 編譯

來源: https://github.com/neurobin/shc/releases 1. wget https://github.com/neurobin/shc/archive/refs/tags/4.0.3.tar.gz 2. tar -zxvf 4.0.3.tar.gz 3. ./configure;make;make install 4. 編輯自己的 shell script shc -r -v -f 編譯過後為 mysscipt.sh.x 針對 script 設可執行期限 shc -e -m "" -r -f

發表於 未分類 | 已標籤 | 發表迴響

novnc-windows

參考: https://www.it145.com/9/170508.html node.js npm install ws npm install optimist npm install mime-types novnc.zip unzip to c:\users\username\node_modules websockify-master.zip unzip c:\users\username\node_modules\noVNC noVNC port 9000–>5900 fix websockify.js : filename +=’/index.html’ changto filename +=’/vnc.html’ 防火牆允許 9000 建議 startnovnc.bat @echo off start "cmd" "cd C:Usersrootnode_modulesnoVNCwebsockify-js-masterwebsockify" … 繼續閱讀 →

發表於 未分類 | 發表迴響

ZFS 緩存解釋

读写缓存 ZFS里面其实是没有真正意义的写缓存,ZFS的缓存有2种 ARC:把内存作为缓存 L2ARC:SSD可以作为二级读缓存 ZIL:写日志缓存,默认是用内存,可以用SSD作为ZIL,但是SSD坏了可能会数据丢失 #測試過會壞 官方文档中对于ZIL缓存的解释: ZFS provides a write cache in RAM as well as a ZFS Intent Log (ZIL). The ZIL is a storage area that temporarily holds synchronous writes until they are written to the ZFS … 繼續閱讀 →

發表於 未分類 | 發表迴響

各大 cloud image 下載

CentOS: https://cloud.centos.org/centos/ Ubuntu: https://cloud-images.ubuntu.com/releases/ Debian: https://cloud.debian.org/images/cloud/ Fedora: https://alt.fedoraproject.org/cloud/ RedHat: https://access.redhat.com/downloads/ openSUSE: http://download.opensuse.org/repositories/Cloud:/Images:/ pve 匯入 下載回來是 .qcow2 創建虛擬機 :Q35 BIOS: OVMF(UEFI),不添加 EFI磁盤 scsi 控制器: Virtio SCSI 磁盤也不添加 添加 Cloundinit 設備:raw 導入 qcow2 使用命令: qm importdisk 100 debian-11-nocloud-amd64.qcow2 diskname qm importdisk 創建虛擬機代號 … 繼續閱讀 →

發表於 未分類 | 發表迴響

raspiberry 開機後 chrome fullscreen

sudo apt-get install chromium-browser matchbox-window-manager xautomation unclutter raspberrypi-ui-mods mkdir -p /home/pi/.config/lxsession/LXDE-pi/ nano /home/pi/.config/lxsession/LXDE-pi/autostart @xset s off @xset -dpms @xset s noblank @chromium-browser –incognito -disable-translate –start-fullscreen –kiosk –app=https://XXXXXXX

發表於 raspiberry | 發表迴響

win 11 無法打開安全面板

powershell Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage

發表於 windows | 發表迴響

telegram shell 傳訊息

TOKEN="XXXX:XXXXXXXXXXXXXX" #token chat_ID="XXXXX" # group id=-xxxxx MODE=’HTML’ #可換 HTML 或 Markdown URL="https://api.telegram.org/bot${TOKEN}/sendMessage" #api 1.訊息 curl -s -X POST $URL -d chat_id=${chat_ID} -d parse_mode=${MODE} -d text="${message_text}" 2>&1 2.貼圖 curl -s -X POST https://api.telegram.org/bot$BOT_API_KEY/sendSticker -d sticker="CAADAgAD3QADMNSdEY1VJRWnGm6vFgQ" -d chat_id=$CHAT_ID 3.文件 curl -F chat_id=$chat_ID … 繼續閱讀 →

發表於 未分類 | 發表迴響

win10_11 auto login

1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device\DevicePasswordLessBuildVersion DevicePasswordLessBuildVersion=0 2. netplwiz 進入 不勾 ————————————- 1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon AutoAdminLogon=1 DefaultUserName:填寫帳戶名稱 DefaultPassword:填寫登入密碼

發表於 windows | 迴響已關閉

pve 常用網站

1.https://wiki.freedomstu.com/ 2.https://pvecli.xuan2host.com/ 3.https://kawsing.gitbook.io/opensystem/

發表於 未分類 | 已標籤 | 發表迴響