Home

AI Game - Hero of Xiangyang

In my previous post, I set up a game from prompts shared by others. This time, I’m excited to share that I’ve crafted my own game prompt. The cultural backdrop is the Song dynasty of ancient China, an

Create a Text-Based Adventure Game with Llama

Building a Text-Based Adventure Game with Gradio, LLaMA, and OLLAMA Developers have been using Large Language Models (LLMs) to develop text-based games since GPT-2, but it was difficult to set up. Wi

Running Your Own ChatGPT and Copilot with Ollama

Ever wanted to explore the capabilities of AI-powered chatbots like ChatGPT and Copilot without relying on third-party services? With Ollama and some setup, you can run your own instance of ChatGPT a

Presentation as Code with AI

Are you familiar with the concept of “everything as code”? It refers to using code to define, manage, and automate various system components, including infrastructure, diagrams, policies, and beyond.

Troubleshooting Terraform

Terraform is a great tool for managing infrastructure as code, but sometimes it can be tricky to debug when things go wrong. In this blog post, I’ll share tips on how to troubleshoot Terraform issues

GitOps on Jenkins Pipelines

What is GitOps? Picture this: It’s 3 AM, and a deployment went wrong. Instead of frantically clicking through Jenkins UI trying to remember what you changed, you simply run git revert and redeploy. T

Keymap of My Split Keyboard

The Design Customizing a 36-key split keyboard can significantly enhance productivity, especially for those who, like myself, require one-handed navigation with a keyboard. With a dedicated layer acti

Using ChatGPT to Draw Sequence Diagram

To use ChatGPT to generate a sequence diagram, you can provide a description of the system and the interactions between its components. The description should be written in a clear and concise manner

3D Printed Switch Blocker Cherry MX

Are you tired of accidentally hitting the wrong keys on your keyboard? Do you find yourself losing precious time because of a rogue Caps Lock or Windows key? Or maybe you’re like me and have a keybo

New Unlocked Job Roles for AI - Prompt Engineers!

Once upon a time, in a world not so different from ours, people were anxious about the rise of AI and how it would take over their jobs. But in this magical world, they soon discovered that, as AI de

Gsource on Mac

It is often difficult to tell how hard developers are working to non-IT folks. Usually, I try to let them watch Gource. Setting up Gource on Mac is not difficult, but it has several steps. First, you

Mark Six master on Linux/Mac

Mark Six is a lottery in Hong Kong. You can select 6 numbers from a pool of 49 numbers on the lottery ticket. There are numerous single-line commands that can be used to generate 6 numbers randomly f