git reset --hard
수정내용 남기지 않고 리셋git reset --soft
수정내용 add된 상태로 리셋git reset --mixed
수정내용 워크스페이스 파일에 반영되어 있는 상태로 리셋
> git reset --mixed HEAD~1
> git push -f origin main
update Window
in CMOS enable Virtualization Technology
Powershell or CMD open ad Admin
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
# 온라인 스토어를 통해 다운로드할 수 있는 Linux 배포판 목록
wsl -l -o | wsl --list --online
// Create group with root and nodeuser as members
$ sudo groupadd certusers
$ sudo usermod -a -G certusers root
$ sudo usermod -a -G certusers nodeuser
// Make the relevant letsencrypt folders owned by said group.
$ sudo chgrp certusers /etc/letsencrypt/live/site.domain.com
$ sudo chgrp certusers /etc/letsencrypt/archive/site.domain.com
Hyper-V
기능 활성화시 2222
포트를 예약해버려서 laradock
에서 못쓰는게 원인cmd
관리자 권한으로 실행netsh int ipv4 show excludedportrange protocol=tcp
실행해서 2222
포트 예약되어 있는지 확인Hyper-V
종료 → PC 리부트netsh int ipv4 add excludedportrange protocol=tcp startport=2222 numberofports=1
실행해서 직접관리포트로 등록Hyper-V
활성화 → PC 리부트netsh int ipv4 show excludedportrange protocol=tcp
실행해서 2222
포트가 직접관리 포트로 빠져있는지 확인#.bash_profile | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# ========== | |
# ALIAS | |
# ========== | |
alias ll="ls -alv" |
"Syntax Highlighting | |
if has("Syntax") | |
syntax on | |
endif | |
set autoindent | |
set cindent | |
set ts=4 | |
set shiftwidth=4 | |
#.bash_profile | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
#============================================================ | |
# | |
# ALIASES AND FUNCTIONS | |
# Arguably, some functions defined here are quite big. | |
# If you want to make this file smaller, these functions can |