快轉到主要內容
  1. 文章列表/

Last Week Today 2024E28

·
LastWeekToday obsidian recipes Hugo
目錄

Create a navigation bar on my weekly review note
#

get started with obsidian periodic notes and templater


Subscribe news letter using RSS
#

Kill the news letter


font-family 使用規則 | 中文字體網頁開發指南 - 阮一峰
#

  1. 优先使用排在前面的字体。
  2. 如果找不到该种字体,或者该种字体不包括所要渲染的文字,则使用下一种字体。
  3. 如果所列出的字体,都无法满足需要,则让操作系统自行决定使用哪种字体。

**根據這些規則,font-family應該優先指定英文字體,然後再指定中文字體。**否則,中文字體所包含的英文字母,會取代英文字體,這往往很醜陋。


Image hosting using Cloudflare R2 and Webp cloud for image optimization
#

從零開始搭建你的免費圖床系統 Cloudflare R2 + WebP Cloud + PicGo 使用 WebP Cloud 與 Cloudflare WAF 為你的圖床添加隱私和版權保護

Webp is a proxy service , not hosting service. Let’s said I host my images at r2.mydomain.com/images/ (using Cloudflare R2) Webp will provide image proxy for the image at say, xxxx.webp.li/images/ r2.mydomain.com/images <—-> xxx.webp.li/images/ Using custome domain and use CName record, we can map webp.mydomain.com to xxx.webp.li, Now r2.mydomain.com/images <—-> webp.mydomain.com/images Since we can only access optimized images via Webp Cloud using webp.mydomain.com **We must change the domain in UPic to reflect that. In order words, use UPic to upload images to r2.mydomain.com but we set our url to webp.mydomain.com (via the domain setting in uPic).


Learn Nginx Proxy Manager the hard way
#

  • update docker image, wildcard ssl certificate failed to issue.
  • After hours long running different setting and version of docker image, find solutions here and in Reddit Sub
  • Finally get wildcard cert but nginx proxy manager still not working
  • Turn out I’ve been using npm in the wrong way!!
  • Best practice actually showed in npm offcial page under advanced setting
  1. create custom docker network
docker network create npm_network
  1. add the following to the docker-compose.yml file for both npm and any other services running on this Docker host:
networks:
  default:
    external: true
    name: npm_network
  1. in the web gui of npm, use service name as host name and internal port number of the docker container to create proxy host

全民大煉油 | Ignatius Lee
#

同樣是獨裁國家,伊朗人可以為了一名普通女子之橫死發生全國性抗議活動。但在中國無論發生多麼聳人聽聞的暴行,中國人只想看好自己家的一畝三分地。如果是別人家的孩子丟了,就說要看好自己家的孩子。如果是有人上街隨機殺人,就說出門自己多小心。中國人總是怕給政府添亂,結果每回都是自己遭殃

中國人始終不能理解為什麼他人的苦難跟自己有生死攸關的關聯。在他們那裡苦難永遠是別人的,如果輪到我自己,那就是我命不好、我倒霉、或者沒有青天大老爺給我做主。


雪菜火鴨絲炆米
#


Southern Seafood Boil
#

seafood boil

相關文章

Last Week Today 2024E27
LastWeekToday obsidian recipes productivity
茶館劇照
淘傑 讀L報告 戲曲雜談
買書如山倒
淘傑 讀L報告