Skip to content

Instantly share code, notes, and snippets.

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

Wee Hong weehong-1

🏠
Working from home
View GitHub Profile
@weehong-1
weehong-1 / README.md
Last active February 12, 2026 06:12
.NET Scaffold Script

How to use

🍎 Linux / macOS

Run the following command in your terminal. Replace MyProjectName with your desired solution name.

# Syntax: curl [url] | bash -s -- [ProjectName]
curl -fsSL https://gist.githubusercontent.com/weehong/69b63249165a4373204e82c88b211a78/raw/scaffold.sh | bash -s -- MyCleanApp
@weehong-1
weehong-1 / README.md
Last active January 4, 2026 03:45
A cross-platform bash script that automatically updates VMware Workstation IP addresses in your system's hosts file

VMware IP Address Updater

A comprehensive cross-platform solution to automatically update VMware Workstation IP addresses in your system's hosts file. Now supports native Windows (PowerShell) alongside Bash, WSL, Linux, and macOS.

✨ Features

  • πŸ”„ True Cross-platform - Native support for Windows (PowerShell), WSL, Linux, and macOS (Bash)
  • πŸš€ One-Liner Execution - Run instantly via curl (Bash) or irm (PowerShell) without saving files
  • 🎯 Interactive & Automated - Supports both interactive prompts and silent automation
  • βš™οΈ Environment Configuration - Customize defaults via .env files or system environment variables
@weehong-1
weehong-1 / README.md
Last active December 1, 2025 09:31 — 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/install-jetbrains-toolbox.sh)"
@weehong-1
weehong-1 / README.md
Last active December 10, 2025 03:19
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