文章

chrome unsafe port (don't use these ports)

  1, // tcpmux 7, // echo 9, // discard 11, // systat 13, // daytime 15, // netstat 17, // qotd 19, // chargen 20, // ftp data 21, // ftp access 22, // ssh 23, // telnet 25, // smtp 37, // time 42, // name 43, // nicname 53, // domain 69, // tftp 77, // priv-rjs 79, // finger 87, // ttylink 95, // supdup 101, // hostriame 102, // iso-tsap 103, // gppitnp 104, // acr-nema 109, // pop2 110, // pop3 111, // sunrpc 113, // auth 115, // sftp 117, // uucp-path 119, // nntp 123, // NTP 135, // loc-srv /epmap 137, // netbios 139, // netbios 143, // imap2 161, // snmp 179, // BGP 389, // ldap 427, // SLP (Also used by Apple Filing Protocol) 465, // smtp+ssl 512, // print / exec 513, // login 514, // shell 515, // printer 526, // tempo 530, // courier 531, // chat 532, // netnews 540, // uucp 548, // AFP (Apple...

win10 90 days command troubleshoot

 slmgr /upk go to windows activation > troubleshoot

「教學」建立試用結束後的 Google Cloud Platform 免費VPS(free vps)

圖片
    Victor Hung ,  3 年 前 Google 提供了 $300 美元的額度(在特定的配置下剛好可以使用一年)讓使用者免費試用 Google Cloud Platform 產品,但其實在免費試用期結束後,我們還是可以在限制的用量內免費使用特定產品。例如最常見的 Google Compute Engine 就提供了以下免費條件: 每月 1 個 f1-micro 執行個體 (僅限美國地區「us-central1」、「us-east1」和「us-west1」) 每月 30 GB 硬碟空間 在指定地區每月可儲存 5 GB 快照 每月 1 GB 網路輸出量 (從北美輸出至中國和澳洲以外的所有地區) 因此我們所建立的執行個體 (instance) 規格與使用量不超過上述的標準,就可以繼續免費使用 Google Compute Engine 服務。 相關文章: 「教學」使用 GCP 台灣主機五分鐘快速架設 WordPress 網站 建立符合「一律免費」方案的執行個體 首先我們在 Google Compute Engine 服務中選擇「建立執行個體」依照上面免費條件,我們區域可以選擇「us-west1 (俄勒岡州)」;機器類型選擇「微型」也就是 1vCPU + 0.6GB 記憶體的方案;此外可以選擇免費額度 30GB 內的標準永久磁碟。 建立好執行個體後,在 VM 執行個體列表中,點選連接 SSH 下拉選單中「查看 gcloud 指令」就可以透過指令快速登入執行個體,不過電腦上必須先安裝 Google Cloud SDK。 使用 gcloud 指令透過終端機登入後,就可以正常連線到剛建立好的執行個體了! 如果您也是安裝全新的 Ubuntu 作業系統並且想要架設小型網站的話,可以參考之前的文章: 「教學」Amazon EC2 Ubuntu 安裝 Apache2 + MySQL + PHP 更詳細的「一律免費」方案的用量限制 在  Google Cloud Platform 免費版 中,Compute Engine 提供指定用量限制的配額,供使用者免費使用。在免費試用期間或試用期過後,只要不超過用量限制,使用者皆可免費使用 Compute Engine 產品。 免費試用期過後,如果使用者超過用量限制,系統就會根據本頁列出的價格向使用...

[linux fix] Failed to initialized xfconf: /usr/bin/dbus-launch terminated abnormally without any error message

 use xfce4-appfinder in lxde Failed to initialized xfconf: /usr/bin/dbus-launch terminated abnormally without any error message solved: apt install dbus-x11

[linux] mouse scroll speed config

 1. install imwheel 2. gedit ~/.imwheelrc 3. ".*" None, Up, Button4, 3 None, Down, Button5, 3 4. set session and startup, run command at startup: imwheel

[win10] check product key with command

  wmic path softwarelicensingservice get OA3xOriginalProductKey

[docker bug fix] publish/port forward arg need to be before the image name

Correct:   docker run --detach --publish=80:80 --name=webserver nginx Wrong:   docker run --detach --name=webserver nginx  --publish=80:80