:::

讓Docker架設的Nextcloud預設關閉或開啟應用程式 / Enabling or Disabling Apps by Default in a Dockerized Nextcloud Instance

布丁布丁吃布丁

讓Docker架設的Nextcloud預設關閉或開啟應用程式 / Enabling or Disabling Apps by Default in a Dockerized Nextcloud Instance

2025-0121-040807.png

既然談到用Docker架設Nextcloud,那我們就要活用Docker的架構,讓Nextcloud不僅僅是「開箱可用」,而且還是「自訂後」的可用。我們可以客製化的指令放在「/docker-entrypoint-hooks.d/post-installation」資料夾內,這樣就可以讓Nextcloud初次安裝完成後,自動進行我們要的設定。

Since we're talking about setting up Nextcloud with Docker, let's leverage Docker's architecture to make Nextcloud not just "usable out-of-the-box," but usable after customization. We can place custom commands in the /docker-entrypoint-hooks.d/post-installation directory, allowing Nextcloud to automatically perform our desired configurations after the initial installation completes.

(more...)

雜談:有電梯與沒有電梯的大樓 / Talk: Buildings With and Without Elevators

布丁布丁吃布丁

雜談:有電梯與沒有電梯的大樓 / Talk: Buildings With and Without Elevators

2025-0106-001906.png

到底是走很近就能抵達,但沒有電梯的大樓好;還是必須走到山上,但是有電梯的大樓好呢?

(more...)

用Docker建構開箱可用的Nextcloud  / Deploying a Ready-to-Use Nextcloud Instance with Docker

布丁布丁吃布丁

用Docker建構開箱可用的Nextcloud  / Deploying a Ready-to-Use Nextcloud Instance with Docker

2025-0121-032627.png

Nextcloud是一個相當受歡迎的自架雲端硬碟應用程式。過往我都是用LXC的容器形式架設,這次我們要用Docker技術架設Nextcloud。要架設一個開箱可以用的Nextcloud其實還是有點複雜,我把相關參數整理成docker-compose.yml,希望對有需要的人有所幫助。

Nextcloud is a popular self-hosted cloud storage application. Previously, I used LXC containers for setup, but this time we'll use Docker. Setting up a ready-to-use Nextcloud instance can be somewhat complex. I've organized the relevant parameters into a docker-compose.yml file, hoping it will be helpful for those in need.

(more...)

雜談:燈泡不時熄滅,好像還是燈泡的問題 / TALK: The Lightbulb Keeps Going Out; It Seems to Still Be a Problem With the Bulb

布丁布丁吃布丁

雜談:燈泡不時熄滅,好像還是燈泡的問題 / TALK: The Lightbulb Keeps Going Out; It Seems to Still Be a Problem With the Bulb

2025-0214-204110.png

一直搞不懂為什麼燈泡會時常熄滅的我,在調整了很多次熄滅的燈泡後,我忽然意識到這可能還是燈泡的問題,但是卻不是燈泡本身能不能正常運作的問題。

(more...)

不知道怎麼下後設資料?用AI幫你添增索引關鍵字  / Don't Know How to Add Metadata? Use AI to Write Keywords

布丁布丁吃布丁

不知道怎麼下後設資料?用AI幫你添增索引關鍵字  / Don't Know How to Add Metadata? Use AI to Write Keywords

2025-0121-020842.png

我開發了一個家用的倉儲管理系統來記錄家裡物品的收納位置和存量。為了讓我更容易用搜尋找到物品,我使用Google Gemini來解析物品的照片,以此來添增後設資料(metadata),提高它被檢索找到的機會。使用下來意外地好用,但也有些限制。這篇就記錄一下這種用AI識別照片添增物品後設資料的心得吧。

I developed a home inventory management system to track the location and quantity of items in my house. To make searching for items easier, I use Google Gemini to analyze photos of the items, adding metadata to increase their searchability. It's surprisingly effective, but it also has some limitations. This post documents my experience using AI image recognition to enhance item metadata.

(more...)

雜談:不是每個API都叫做OpenAI的API / TALK: Not Every API Is Called OpenAI’s API

布丁布丁吃布丁

雜談:不是每個API都叫做OpenAI的API / TALK: Not Every API Is Called OpenAI’s API

2025-0212-151905.png

最近遇上太多「號稱背後是OpenAI」的大型語言模型API,但實際上並不是「OpenAI的API」的狀況。這種誤解造成實際開發時帶來很大的困擾,我們藉這個機會說明一下吧。

(more...)

解鎖或加密PDF檔案:Colab PDF Protector / Unlocking or Encrypting PDF Files: Colab PDF Protector

布丁布丁吃布丁

解鎖或加密PDF檔案:Colab PDF Protector / Unlocking or Encrypting PDF Files: Colab PDF Protector

2025-0110-081711.png

PDF檔案的安全性加密與解除限制通常需要特別的軟體。如果我們只有手機的話,不妨來使用我開發的Colab PDF Protector,用Google Colab的腳本新增或移除PDF的安全性設定吧。

PDF file security encryption and decryption often require specialized software. If you only have a mobile phone, consider using my Colab PDF Protector, a Google Colab script designed to add or remove security settings from PDFs.

(more...)