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
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
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
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
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.
Ditch the VPN subscription and start living like a digital nomad - minus the Instagram-worthy coffee shop vibes. Just grab a pay-as-you-go cloud VPN and wing it (your wallet will thank you)!
Can we say goodbye to those ugly, long strings of symbol-mixed passwords? Yes! Let's welcome Passkeys, our sleek and sexy cybersecurity solution.
💡 What is Everything as Code?Everything as code is a paradigm that treats any aspect of software development, delivery, or operation as a code artifact that can be versioned, tested, and deployed us
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
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
I’m always on the lookout for new and innovative tools to help me improve my coding skills and increase my productivity. Recently, I stumbled upon Code Llama, a free, open-source large language model
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
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
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
It is common to use count = 0 to achieve feature toggle in Terraform. However, it could result in an empty tuple error when it is implemented in a resource and the feature is disabled. A tuple is a t
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
As a full stack developer, I have practiced pair programming with many humans over the years. However, recently I had the opportunity to work with ChatGPT, a large language model trained by OpenAI, a
This blog post is generated with ChatGPT In Terraform, you can use custom validation blocks to define your own custom validation rules for Terraform variables. These validation blocks allow you to sp
Hong Kong Observatory Tseung Kwan O (TKO) weather, humidity, temperature and 10-minute wind speed and direction - platform: rest name: hko_tko_humidity resource: https://data.weather.gov
Trusting the root certificate for debugging proxies such as BrowserMob-Proxy on iOS is quite strict in its forward direction. You can download the certificate from ca-certificate-rsa.cer using Device’
Simulating network latency or even poor network conditions in iOS is very easy. You don’t need to set up a proxy, router, or a poor network provider. All you have to do is enable Developer mode using
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
There is no way to save a password when logging into a Cisco IPSec VPN on a Macintosh operating system (macOS). The best solution for me is writing an AppleScript in Automator, or running it from the
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
Many people know how to capture screen into a file on Mac by using Command + Shift + 3 for a full screenshot and 4 for cross hair selection tool. However, I found I want to paste the captured image in