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 March 6, 2026 07:44
Rename Project name thoroughly for Java

How to use

curl -fsSL https://gist.githubusercontent.com/weehong-1/a6205f99be440bf45a3572e4cd52184e/raw/rename.sh | bash -s -- horaion upmatches
@weehong-1
weehong-1 / Editorconfig
Last active March 15, 2026 04:32
.NET Scaffold Script
root = true
# All files
[*]
indent_style = space
# Xml files
[*.{xml,csproj,props,targets,ruleset,nuspec,resx}]
indent_size = 2
@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