Skip to content

Instantly share code, notes, and snippets.

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

Wee Hong weehong

🏠
Working from home
  • DBS Bank
  • Singapore
View GitHub Profile
@weehong
weehong / README.md
Last active July 18, 2025 10:13
A cross-platform bash script that automatically updates VMware Workstation IP addresses in your system's hosts file

VMware IP Address Updater

A cross-platform bash script to automatically update VMware Workstation IP addresses in your system's hosts file. Works seamlessly across Windows (Git Bash/MSYS), WSL, Linux, and macOS with customizable .env configuration.

✨ Features

  • 🔄 Cross-platform compatibility - Windows, WSL, Linux, macOS
  • 🎯 Interactive IP input - Prompts for IP address with validation
  • ⚙️ Environment configuration - Customize defaults via .env file
  • 🚫 Duplicate prevention - Ensures no duplicate entries in hosts file
@weehong
weehong / README.md
Last active July 5, 2025 10:15 — forked from abn/install-jetbrains-toolbox.sh
Install JetBrains Toolbox App with Dependency Check

Install JetBrains Toolbox App with Dependency Check

Reference and fork from, https://gist.github.com/abn/022c5f9eae491687a766f25bd8322fc0

How to use

Copy and paste the following command to your terminal

JetBrains Toolbox

bash -c "$(curl -fsSL https://gist.githubusercontent.com/weehong/0bf6b75c54b56d5cbbc33752c93dac8b/raw/f8bcdbcc8cfbb93909916e25ef1fe29fb966a0f3/install-jetbrains-toolbox.sh)"
@weehong
weehong / READMD.md
Last active March 8, 2025 09:49
Visual Studio Code - Run and Debug Setup for .NET Core Project

This Gist shows the Run and Debug configuration on Visual Studio Code for the .NET Core project.

Folder Structure

/root/workspace/dotnet/<solution_project_name>/
│
├── .vscode/
│   ├── launch.json
│ └── tasks.json