Skip to content

Instantly share code, notes, and snippets.

View jamesjfoong's full-sized avatar
🏠
Working from home

James Jeremy Foong jamesjfoong

🏠
Working from home
View GitHub Profile
@jamesjfoong
jamesjfoong / rich-dad-poor-dad-summary.md
Created October 20, 2025 05:02
Key financial principles and takeaways from "Rich Dad Poor Dad."

Title: The Core Lessons from "Rich Dad Poor Dad": A Summary

"Rich Dad Poor Dad" by Robert Kiyosaki is one of the most influential financial books ever written. It's based on the lessons he learned from his two "dads"—his highly educated, high-earning "Poor Dad" (his real father) and his "Rich Dad" (his best friend's father), who was a high-school dropout.

These two figures had completely opposite mindsets about money, work, and wealth. Here is a summary of the most powerful lessons from the book, as detailed in the video series.


The Single Most Important Lesson: Know Your Assets

@jamesjfoong
jamesjfoong / update-help-urls.sh
Created August 12, 2025 07:18
Script to migrate help.catapa.com URLs to environment variable
#!/bin/bash
# Find all TypeScript files and process them
find . -name "*.ts" -type f ! -path "*/node_modules/*" ! -path "*/dist/*" | while read -r file; do
# Check if file contains the pattern to replace
if grep -q "https://help\.catapa\.com/" "$file"; then
echo "Processing: $file"
# Create a temporary file
temp_file=$(mktemp)