Skip to content

Instantly share code, notes, and snippets.

View RangHo's full-sized avatar
🔥
brain is thermal-throttling

RangHo Lee RangHo

🔥
brain is thermal-throttling
View GitHub Profile
@RangHo
RangHo / git-commit-template
Last active August 13, 2024 02:38
Commit message template that conforms to the Conventional Commits standard. (See also: https://github.com/RangHo/dotfiles/tree/main/git)
# <type>(<scope>)!: <description> (72 characters maximum)
# |<--- preferably using up to 50 characters --->|<------------------->|
# Optional <body>
# |<------------- try limiting to 72 characters per line ------------->|
# Optional <footer>
# ----- END COMMIT MESSAGE -----
#
@RangHo
RangHo / sandbox-at-home.bat
Created May 15, 2023 09:53
Force enable Windows Sandbox features on Windows 10/11 Home editions.
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Containers*.mum >sandbox.txt
for /f %%i in ('findstr /i . sandbox.txt 2^>nul') do dism /Online /NoRestart /Add-Package:"%SystemRoot%\servicing\Packages\%%i"
del sandbox.txt
dism /Online /Enable-Feature /FeatureName:Containers-DisposableClientVM /LimitAccess /All
pause
@RangHo
RangHo / .clang-format
Created April 17, 2023 09:52
My `clang-format` configuration file
---
BasedOnStyle: WebKit
AlignAfterOpenBracket: BlockIndent
AlignTrailingComments: true
BinPackArguments: false
BinPackParameters: false
ColumnLimit: 100
NamespaceIndentation: None
ReflowComments: true
SortIncludes: true
@RangHo
RangHo / hyper-v-at-home.bat
Last active May 15, 2023 09:49
Force enable Hyper-V features on Windows 10/11 Home editions.
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /Online /NoRestart /Add-Package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
dism /Online /Enable-Feature /FeatureName:Microsoft-Hyper-V /LimitAccess /All
pause

Keybase proof

I hereby claim:

  • I am rangho on github.
  • I am rangho (https://keybase.io/rangho) on keybase.
  • I have a public key ASCNCHdNynYEDESylX9YcZDvwEUZ60QAjwlPi2oyNFPhFQo

To claim this, I am signing this object: