Visual Studio Code 的安裝說明,以及推薦的延伸模組 (Windows/Linux)

微軟開發的 Visual Studio Code (簡稱 VS Code) 是一套非常熱門的「編輯器」! VS Code 跨平台,且開放原始碼。它雖然僅是一個輕量版的編輯器,卻可經由安裝延伸模組來支援程式碼語法突顯、偵錯、自動補全、重構、Markdown...等琳瑯滿目功能,打造你夢想中的 IDE (整合開發環境)。

VS Code 預設僅支援 JavaScript、TypeScript、CSS、HTML,同樣能透過下載延伸模組來支援 Python、C/C++、Java、Perl、Go... 等其他程式語言。

繼續閱讀

[Perl]如何在 Visual Studio Code 建立 Perl 的程式開發環境 (Windows/Linux)

據說 Perl 可能是近幾年會消失的 5 種程式語言之一 (另外 4 個語言分別是 RubyHaskellObject-CR)! 現在在 Visual Studio Code (簡稱 VS Code) 建立 Perl 的程式開發環境也算是幫 Perl 續一下命,大慈大悲、功德無量。

要建立好整個 Perl 的開發環境主要分為三個步驟:

  1. 安裝 Perl 的執行環境
  2. 安裝 VS Code Editor
  3. 在 VS Code 安裝 Perl 的延伸模組 (Extension)

繼續閱讀

如何製作簡繁轉換的中文字型

我在四年前製作了給電子書用的偽直排字型,後來也有加入了「簡體中文轉繁體中文」的功能。以下說明如何使用 FontForge 來製作簡入繁出的字型檔。

指令檔

下載 Simp2Trad-v1.zip,這是本文的重點。

Simp2Trad-v1.zip 解壓縮後會有三個檔案:

  1. simp2trad.txt: 簡繁轉換的指令碼
  2. simp2trad-Reference.txt: 簡繁轉換的指令碼
  3. result.html: 全部轉換的文字

(我有加入幾個引號的轉換)

繼續閱讀

如何找回 Skype 的分割檢視模式,如何讓 skype 停止自動更新

大家都知道 Microsoft Windows 是一個圖形介面、支援多視窗、多工環境的作業系統,那麼在 Windows 上使用聊天軟體,開啟多個視窗跟不同人聊天也是合理的,沒錯吧?!

工作上我會用到 Skype 與同事對話,雖然 Skype for Desktop 預設是單一視窗介面,一次只能看到與一個對象的聊天內容,但 Skype (v8.96 及之前的版本),只要於選項中「啟用分割檢視模式 (Split View)」,就能讓你每次點選不同的聊天對象就開啟一個新視窗,方便同時跟不同人聊天、對話:


因為可以開啟多個視窗,我時常會用來:

  • 開多個對話視窗來比對或複製資料
  • 保留未結束的對話視窗
  • 保留重要的對話視窗

對我而言,Skype 能同時開啟多個視窗是很重要且必要的功能。
繼續閱讀

如何解決 TLS/SSL 使用了不安全的加密演算法: ARCFOUR、CBC、HMAC-MD5、HMAC-RIPEMD160

弱點掃瞄

弱點: TLS Service Supports Weak Cipher Suite

Transport Layer Security (TLS), the successor to Secure Socket Layer (SSL), is a network protocol that encrypt communications between TLS servers (e.g., websites) and TLS clients (e.g., web browsers). Every communication is secured by a cipher suite: a combination of several algorithms working in concert. Cryptographic algorithms do not have a defined lifetime, but academics, researchers, and nation states are constantly evaluating them for weaknesses. Consensus on which algorithms are untrustworthy evolves over time, and if a communication is protected with a weak cipher suite then that communication can be altered or decrypted.

  • Severity: Medium
  • Risk: A TLS service was observed supporting weak cipher suites.
  • Recommendation: Disable the cipher suites listed in the evidence column of the measurement.

繼續閱讀