# for just check npm outdated# for updatenpm update # check npm package that need to be updatednpm install npm-check-updatesnpm install npm-check-updates --g # for checknpx npm-check-updates orncu# apply to package.json after npm-check-updatesncu -u # install updated package in foldernpm install _
ERROR visual studio에서 c# wasm을 publish 하다보면, workloads 없음으로 에러 발생 CLI로 설치 ; wasm-tools은 c# 파일의 webassembly를 만드는, dotnet emscripten 이다. # net6.0으로 지정하여 설치시 dotnet workload install wasm-tools-net6 # net7.0으로 지정하여 설치시 dotnet workload install wasm-tools-net7 # net workload(module)최신버전 설치 dotnet workload install wasm-tools dotnet6.0과 dotnet7.0의 구조가 다른지 호환이 되지 않아, 6.0버전 때 만들어진 wasm 예제는 net7.0설치시 제대로 동..
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가지 용도로 사용하는 경..