Introduction
日前在偶然地瀏覽自己網站找資源的時候,發現 Cloudflare 顯示 Error 526 Invalid SSL certificate(如下圖所示),當下的第一反應是憑證過期,但在開始查找後發現案情並不單純。
目前存在許多密碼管理器,較為知名的包括 1Password、Bitwarden、LastPass 等。原先 LastPass 免費版支援跨平台與裝置使用,然而 LastPass 官方於 2021-20-16 變更免費版政策,自 2021-03-16 後,免費版用戶將只能選擇於單一類型的裝置使用:桌面裝置或行動裝置,此外,免費版將不提供電子郵件支援。
LastPass 此舉目的在於鼓勵免費版用戶升級至 Premium,目前訂閱價格為每月 $3,在限時內從免費版升級至 Premium 官方提供每月 $2.25 的優惠價格。
在十一月中的時候,我們提到關於 RIAA要求 GitHub 下架 youtube-dl 專案 ,而就在昨天事情出現重大轉機, youtube-dl 被 GitHub 重新上架,除此之外,GitHub 甚至捐出一百萬美元成立開發者捍衛基金(Developer Defense Fund),幫助與保護平台開發者。
youtube-dl is an open-source software project that downloads video and audio primarily from YouTube, but also supports other websites. It uses the Unlicense software license.
As of October 2020 the project was one of the most starred projects on GitHub, with over 72,000 stars. The project also had 84 dependent packages and 1.43k dependent repositories according to libraries.io.Wikipedia ── youtube-dl
在七月份的時候,我們介紹了一款開源與命令行介面的程式碼專案 youtube-dl,但就在 2020 年 10 月 23 日,這項開源程式碼專案被 RIAA 根據 DMCI 請求 GitHub 下架,其中包括 youtube-dl 以及其分支,在請求書中,RIAA 引用了 DMCA-1201,聲稱用戶會使用該儲存庫來下載對社會不公平的影片,並侵犯了版權。
Flask 是一個使用 Python 編寫的輕量級 Web 應用框架,由於其輕量特性,也被稱為 micro-framework。雖然我們在完成一個 Flask 應用程式後可以通過 python3 api.py
來啟動伺服器,但這只適合用於測試環境中,正式發佈的服務需要一個穩定而持續的伺服器,例如 Apache、Nginx 等。其中 Nginx 是一款面向效能設計的 HTTP 伺服器,相較於 Apache、lighttpd 具有占有記憶體少,穩定性高等優勢,此外,Nginx 的優點還包括:高度模組化的設計,模組編寫簡單,以及設定檔簡潔。
因此在本篇文章,我們將結合先前的 PyTorch 實戰 - 高鐵驗證碼辨識,實作一個辨識驗證碼的 Flask API──通過傳入圖片在辨識完成後回傳驗證碼──,並部署於 CentOS 7 上,
An uninterruptible power supply or uninterruptible power source (UPS) is an electrical apparatus that provides emergency power to a load when the input power source or mains power fails. A UPS differs from an auxiliary or emergency power system or standby generator in that it will provide near-instantaneous protection from input power interruptions, by supplying energy stored in batteries, supercapacitors, or flywheels. The on-battery run-time of most uninterruptible power sources is relatively short (only a few minutes) but sufficient to start a standby power source or properly shut down the protected equipment. It is a type of continual power system.
Wikipedia ── Uninterruptible power supply
原本在 2017 年時購入了 UPS CP1000AVRLCD,結果這兩天搬家,插頭重新插上後 Overloads 警告作響,參考了官方與其他文章的解決辦法依然無解,只好正式宣告他壽終正寢。但已經習慣有 UPS 的我,沒了這個總是心慌慌,尤其在最近又買了新螢幕(AOC CU32V3)、新鍵盤(Leopold FC900R PD Sky)、新滑鼠(Logitech G304)、新音響(Edifier),總覺得該善待一下他們,於是又再買了台 UPS。
youtube-dl is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.
youtube-dl ── ytdl-org/youtube-dl
youtube-dl 是一個開源程式碼專案,,可以從 Youtube 或是許多網站上下載影片。由於是基於 Python 開發,使得 youtube-dl 並不限定於特定平台使用。在本篇文章中將簡單介紹幾個 youtube-dl 用法。