Posts

Showing posts with the label tutorial

A New Collection of Thoughtful Learning Apps — Now Available on iOS & Android

Image
I’m excited to share a set of mobile apps I’ve recently completed and published on both the Google Play Store and the Apple App Store. These apps are designed with a simple goal in mind: to make meaningful, structured content more accessible, whether you’re studying theology or improving your English vocabulary. 📱 Now Available on Both Platforms All apps are live and available for download: Google Play Developer Page: https://play.google.com/store/apps/dev?id=5835943159853189043 Apple App Store Developer Page: https://apps.apple.com/ca/developer/q-z-l-corp/id1888794100 📖 Theology & Confession Study Apps For those interested in Reformed theology and classical Christian teachings, I’ve developed a series of apps that present foundational texts in a clean, focused reading format: The Belgic Confession Canons of Dort Heidelberg Catechism Westminster Shorter Catechism Each app is designed to provide a distraction-free experience, making it easier to read, reflect, and revisit these im...

How to Automatically Back Up PostgreSQL to Oracle Cloud Object Storage and Test Recovery on a Mac

Image
  How to Automatically Back Up PostgreSQL to Oracle Cloud Object Storage and Test Recovery on a Mac A database backup is only useful if you can restore it. As part of migrating a personal web application to an Oracle Cloud Infrastructure (OCI) VPS, I wanted a simple and low-cost way to back up my PostgreSQL database automatically. Since the application was already running on an OCI VPS, I decided to use OCI Object Storage as the backup destination. I also wanted to test the recovery process independently, without touching my production database. In this tutorial, I'll walk through the complete setup: Create a private OCI Object Storage bucket. Allow the VPS to access Object Storage without storing API keys. Create PostgreSQL backups using pg_dump . Upload backups automatically every day. Keep the latest 14 backups. Restore a backup on a local Mac using PostgreSQL in Podman and DBeaver. 1. The Architecture The final architecture is straightforward: OCI VPS ...

How to SSH into an Oracle Cloud VPS from Your Mac Using Cloudflare Tunnel

Image
  How to SSH into an Oracle Cloud VPS from Your Mac Using Cloudflare Tunnel In the previous tutorials, we configured a free domain with Cloudflare, connected it to an Oracle Cloud VPS, and published a website using Cloudflare Tunnel. Now let's take it one step further. Wouldn't it be convenient to SSH directly into your Oracle Cloud VPS from your Mac, without opening port 22 to the public Internet or launching Oracle Cloud Shell every time? That's exactly what we'll accomplish in this tutorial. 1. What We Want to Achieve Our goal is to run this command directly from the Mac terminal: ssh oci And connect to our Oracle Cloud VPS. Our VPS has: Oracle Linux 9 ARM64 architecture 2 OCPUs and 12 GB RAM A private IP address only No public IP address We will reuse the Cloudflare Tunnel configured in the previous tutorial. 2. Understand the Architecture The connection will look like this: Mac | | ssh oci | | SSH + cloudflared v Cloudflare Access | v Cloudflare Network | ...

How to Host a Website on an Oracle Cloud VPS Without a Public IP Using Cloudflare Tunnel

Image
  How to Host a Website on an Oracle Cloud VPS Without a Public IP Using Cloudflare Tunnel You don't need a public IP address, an open firewall port, or an SSL certificate installed on your server to host a website. In this tutorial, I'll show you how to publish a simple Python HTTP server running on an Oracle Cloud Infrastructure (OCI) VPS through Cloudflare Tunnel. The interesting part is that my OCI VPS has no public IP address , but the website is still accessible from anywhere using HTTPS. We'll build a simple Hello World page and make it available at: https://qzlapp.us.ci/blog 1. Architecture Here is how the connection works: Internet | v https://qzlapp.us.ci/blog | v Cloudflare Edge DNS + HTTPS | v Cloudflare Tunnel | v ...

How We Added Internationalization and Multi-Language Support to Our macOS App

Image
How We Added Internationalization and Multi-Language Support to Our macOS App   Supporting multiple languages is essential for reaching a global audience. In this post, we’ll walk through how we added internationalization (i18n) and Chinese localization to our macOS app, iTrans , using Swift and Xcode. 1. Audit All User-Facing Text The first step was to identify all user-facing strings in our codebase. We searched through our SwiftUI views, models, and operators for any hardcoded text that would be visible to users. 2. Extract Strings for Localization We replaced all hardcoded strings with localization-friendly APIs: For SwiftUI, we used LocalizedStringKey in Text views. For other strings, we used NSLocalizedString . Text(LocalizedStringKey("Unlock your iPhone")) // or NSLocalizedString("Untitled", comment: "File with no name") 3. Create Localization Files We created Localizable.strings files for each supported language: en.l...