https://www.digitalocean.com/community/tutorials/nodejs-npm-yarn-cheatsheet Cheat Sheet: npm vs Yarn Commands | DigitalOcean www.digitalocean.com # yarn installnpm install --global yarn npm vs. Yarn There are many similarities between npm and Yarn. Yarn (released 2016) drew considerable inspiration from npm (2010).On the flip-side, their similarities can lead to confusion and small mistakes ..
# 현재 연결된 repo 확인 git remote -v # origin https://github.com/thekkom/testblazorapp.git (fetch) # origin https://github.com/thekkom/testblazorapp.git (push) # remote repo 제거 git remote remove origin # cached delete git rm -r . --cached _
연습하다보면 불필요한 commit 이력이 수십개가 되고, 다시 repo 삭제>생성하는 것이 번거로울 때 사용 https://stackoverflow.com/questions/13716658/how-to-delete-all-commit-history-in-github/26000395#26000395 # copy and paste git checkout --orphan latest_branch git add --all git commit -am "commit message" git branch -D main git branch -m main git push -f origin main -----Step by description----------- #Checkout git checkout --orphan la..
string tmp = {condition} ? {return value if TRUE} : {return value if FALSE} var rand = new Random(); var condition = rand.NextDouble() > 0.5; // int? 로 표기하여, int에 null을 넣을 수 있음 int? x = condition ? 12 : null; IEnumerable xs = x is null ? new List() { 0, 1 } : new int[] { 2, 3 }; https://skuld2000.tistory.com/17 [C#/.NET] Nullable : ? (Null 조건 연산자) 코딩을 하다보면 인자로 넘긴 primitive 타입의 변수를 2가지 용도로 사용하는 경..
언제부터인가 노트북 절전모드에서 깨어나면 'WIndows 입력 환경'이라는 회색 빈 창이 하나씩 뜬다.찾아보니 아래처럼 레지스트리를 변경하면 된다. 뭘해도 안된다. 컴퓨터\HKEY_CURRENT_USER\Software\Microsoft\inputIsInputAppPreloadEnabled = 0으로 입력 컴퓨터\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\DshIsPrelaunchEnabled = 0 으로 입력 _
보이는 셀만 복사해서 사용할 경우가 많은데, 인터넷에 찾아보면 종류가 많다. 막상 어떤 차이가 있는지 생각하지 않고서 써왔는데 어떤 코드는 길고 어떤 코드는 짧기에 무슨 차이가 있는지 한번 살펴보고자 한다. Copy visible cells only in 365? - Microsoft Community Hub an inputbox will pop up > select the range to copy > OK > anoher inputbox will pop up ' > select the range to paste (select the first cell only) > OK 'If you need to use it frequently, you can put the code in a code module i..