Skip to content

Instantly share code, notes, and snippets.

View han-minhee's full-sized avatar

Han, Minhee han-minhee

View GitHub Profile
@han-minhee
han-minhee / install-tools.ps1
Created November 1, 2025 00:44
Install basic setup after install Windows
# Requires Administrator privileges
# -------------------------------
# 1. Allow running this script
# -------------------------------
Set-ExecutionPolicy Bypass -Scope Process -Force
Write-Host "Execution policy set to Bypass for this session."
# -------------------------------
# 2. Ensure package managers exist
@han-minhee
han-minhee / cmd-arrow-in-finder.json
Created October 8, 2025 11:16
a Karabiner-Elements rule to use Cmd + Arrow keys to go back and forward in Finder (Windows-like)
{
"description": "Use Cmd + Arrow keys to go Back and Forward in Finder (Windows-like)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.finder"
],
"type": "frontmost_application_if"
@han-minhee
han-minhee / setup_oneapi_windows.ps1
Created July 17, 2025 15:09
This script will setup oneAPI related environment variables on Windows PowerShell.
#
# Intel oneAPI Environment Setup for Windows (PowerShell)
#
# By default, Intel oneAPI requires running .bat scripts, which isn't that ideal as
# 1. most Windows environments now use Powershell as their default shells and
# 2. having to run the script everytime is really annoying.
# This script sets up the Intel oneAPI environment variables for the current PowerShell session
# It's designed to replace the functionality of setvars.bat from Intel oneAPI
# You can run this script without any argument.
#