瘋狂帽客's Blog
You are already naked. There is no reason not to follow your heart. ~ Steve Jobs ~
Thursday, October 02, 2025
Wednesday, May 28, 2025
Vibe coding (台股每日收盤整理)
最近跟ChatGPT一起合作(vibe coding),ChatGPT負責生成程式碼,我負責收集資料的來源並除錯與修改部份的程式碼(我本來就是QA人員這點我很熟門熟路),在這樣的開發背景下大幅降低了開發門檻與提高了開發速度!當然如果使用者本身具備一定的程式知識還可以受益良多。
我非常喜歡這樣的工作方式,也相信這是未來的走向。
Screenshots:
搭配crontab每日15:05執行並寫入log file.
Wednesday, November 27, 2024
Tuesday, November 26, 2024
在Ubuntu看盤
之前一直想用Bottles+Wine在Ubuntu裝上三竹來看盤(沒錯~我暫時脫離了科技業,現在是個全職投資者),可是一直碰到問題而無法順利運行。
今天想想那就改用VirtualBox+Windows的老方案好了,不過安裝時碰到了2個問題在此紀錄一下。
問題:
1. Ubuntu OEM Kernel不支援virtualbox-dkms
Workaround: 切去generic Kernel就可以安裝好。
2. 要運行VirtualBox時遇到被KVM佔用住資源
Workaround:
sudo rmmod kvm && rmmod kvm-intel -> 失敗!想了一下原來是卡到multipass,所以把它先暫停
sudo snap stop multipass -> 成功
後記:
缺點是我不能同時使用multipass...... :(
Tuesday, June 04, 2024
How to use GUI in Ubuntu Multipass
Currently, Multipass does not provide a complete graphical interface for use like virtual machine software such as VMware or VirtualBox.
Of course, there are alternative solutions. You can connect to a Multipass instance using RDP, VNC, or X forwarding methods.
Here, I will use the X forwarding method, so when I need to use a GUI, I can launch the graphical interface of the relevant app from the CLI.
Step1. Create an SSH public key on your local machine
Monday, May 13, 2024
Enhanced version of Ubuntu Multipass
A long time ago, there was an introduction on how to use Ubuntu's Multipass. If you're interested, you can refer to the following link below:
https://go-linux.blogspot.com/2020/06/canonicalmultipass.html
Today, I'm here to introduce to you the enhanced version of Multipass (currently in the beta channel of Snap).
Monday, May 06, 2024
安裝Ubuntu 22.04到新的X1
前幾天把舊X1的Ubuntu升級到22.04後體驗上還不錯,所以今天早上就把new X1也安裝了Ubuntu 22.04並且一樣保留Windows作業系統。(雙系統)
以下稍微紀錄一下我的步驟:
1. 關閉Windows的Bitlocker
2. 透過Windows內建的磁碟管理程式 -> 壓縮現有磁碟區 -> 分割出新的磁碟區 (之後裝Ubuntu)
3. 進入BIOS關閉Secure boot
4. 用Ubuntu 22.04的USB flash開機
5. 選擇保留Windows boot loader跟grub一起,並且把Ubuntu安裝到步驟#2的磁碟區
之後就很順利完工囉~ 這篇文章就是用new X1+Ubuntu打的 :D