:::

雜談:修正「布丁布丁吃什麼?」部分功能 / TALK: “Pulipuli’s Blog” Feature Improvements

布丁布丁吃布丁

雜談:修正「布丁布丁吃什麼?」部分功能 / TALK: “Pulipuli’s Blog” Feature Improvements

2025-0219-063301.png

每隔一段時間就把累積的問題逐步修正,這次要來修正的是下載跟目錄的問題。

(more...)

讓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...)

雜談:從不懂到改寫別人的VBA不難,但對心臟不太好 / TALK: From Novice to VBA Rewriter: An Easy but Stressful Journey

布丁布丁吃布丁

雜談:從不懂到改寫別人的VBA不難,但對心臟不太好 / TALK: From Novice to VBA Rewriter: An Easy but Stressful Journey

2025-0211-000403.png

最近幫別人改寫老舊Excel上的VBA,讓使用者能直接從輸入資料到彙整成可以列印的格式,而避免大量的複製、貼上操作。寫是寫完了,但內心真是五味雜陳。

(more...)

移除PDF上的註解:PDF Annotation Remover / Removing Annotations from PDFs: PDF Annotation Remover

布丁布丁吃布丁

移除PDF上的註解:PDF Annotation Remover / Removing Annotations from PDFs: PDF Annotation Remover

2025-0109-153638.png

PDF的註解功能可以允許我們在原始檔案上添增額外的文字、標亮、線條、筆記。而且這些註解還可以刪除、修改,讓原始檔案保持它原本的樣子。不過如果有大量註解需要移除的話,手動操作其實非常繁瑣。這時候你可以用我開發的PDF Annotation Remover,讓PDF檔案的註解全部移除吧。

PDF's annotation feature allows us to add additional text, highlights, lines, and notes directly onto the original file. These annotations can also be deleted or modified, preserving the original document's integrity. However, manually removing a large number of annotations can be quite tedious. For this, you can use my PDF Annotation Remover to remove all annotations from your PDF file.

(more...)

雜談:為了管理Stable Diffusion提示詞而用AppSheet開發了工具 / Talk: I Developed a Tool Using AppSheet to Manage Stable Diffusion Prompts

布丁布丁吃布丁

雜談:為了管理Stable Diffusion提示詞而用AppSheet開發了工具 / Talk: I Developed a Tool Using AppSheet to Manage Stable Diffusion Prompts

2024-1229-202356.png

由於我會在越來越地方使用Stable Diffusion繪圖,所以我花了一些時間用AppSheet做了提示詞管理工具。這篇就來聊一下我做了那些東西。

(more...)

將PDF轉換成模仿成掃描檔:ScanSim PDF / Converting PDF to Simulated Scanned Document: ScanSim PDF

布丁布丁吃布丁

將PDF轉換成模仿成掃描檔:ScanSim PDF / Converting PDF to Simulated Scanned Document: ScanSim PDF

2025-0109-095818.png

列印、簽名、拍照、轉換成PDF、上傳,這是現在很多證明文件的處理手續。處理後的PDF檔案只是圖片的封裝,不能直接選取與複製,只能作為證明文件留存,這已經是最基本的資安防護手段。然而,如果可以將數位文件直接轉換成彷彿掃描檔一樣的檔案,那不就可以省下列印與掃描的繁雜手續了嗎?也許這時候Docker APP ScanSim PDF就能夠派上用場了。

Printing, signing, taking a photo, converting it to PDF, and uploading it—this is the procedure for processing many verification documents nowadays. The processed PDF file is merely a container for the image; the text cannot be directly selected or copied. It can only serve as an archive of the verification document, which is a basic security measure. However, if digital documents could be directly converted into files that resemble scanned documents, wouldn't that eliminate the tedious printing and scanning steps? Perhaps the Docker APP ScanSim PDF could be useful in this situation.

(more...)

雜談:Gemini可以免費繪圖,但不能用API畫 / TALK: We Can Draw on Gemini Webpage for Free, but Not With API

布丁布丁吃布丁

雜談:Gemini可以免費繪圖,但不能用API畫 / TALK: We Can Draw on Gemini Webpage for Free, but Not With API

2025-0207-015908.png

畢竟是免費的AI功能,真的不能要求太多。

(more...)