This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # System Performance Check Script | |
| # Run: powershell -ExecutionPolicy Bypass -File system-info.ps1 | |
| Write-Host "`n=== SYSTEM INFO ===" -ForegroundColor Cyan | |
| # OS | |
| $os = Get-CimInstance Win32_OperatingSystem | |
| Write-Host "`n[OS]" -ForegroundColor Yellow | |
| Write-Host " $($os.Caption) $($os.OSArchitecture)" | |
| Write-Host " Build: $($os.BuildNumber)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local wezterm = require 'wezterm' | |
| local config = wezterm.config_builder() | |
| -- 1. WSL Ubuntu 자동 접속 | |
| config.default_domain = 'WSL:Ubuntu' | |
| -- 2. GPU 가속 및 렌더링 최적화 | |
| config.front_end = "WebGpu" | |
| config.max_fps = 144 -- 모니터 주사율이 높다면 부드럽게 출력 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tasklist /fi "imagename eq outlook.exe" /m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal | |
| for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j | |
| echo %version% | |
| if "%version%" == "10.0" echo Windows 10 | |
| if "%version%" == "6.3" echo Windows 8.1 | |
| if "%version%" == "6.2" echo Windows 8 | |
| if "%version%" == "6.1" echo Windows 7 | |
| if "%version%" == "6.0" echo Windows Vista | |
| rem etc etc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master `; do | |
| git branch --track ${branch#remotes/origin/} $branch | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" /v "LoadAppInit_DLLs" /t REG_DWORD /d 1 /f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| taskkill /f /im @Wa* | |
| taskkill /f /im wan* | |
| taskkill /f /im taskhsvc.exe | |
| ::runas /user:Administrator cmd | |
| pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef ARRAYSIZE | |
| // There is a better way, but this is good enough for our purpose. | |
| # define ARRAYSIZE(a) (sizeof(a) / sizeof(*(a))) | |
| #endif |
NewerOlder