서버 프로그래밍(281)
-
갑자기 WSL2 오류 발생 문제 해결 방법
멀쩡히 잘 동작하던 Windows용 Docker Desktop 실행이 안되서 보니 WSL에 문제가 생긴 것이었다. WSL은 물론 Docker까지 uninstall하고 다시 설치 했음에도 불구하고 같은 문제가 계속 발생한다. WSL이나 Virtual Machine Platform까지 uninstall/install을 해도 차이가 없었다. https://gist.github.com/4wk-/889b26043f519259ab60386ca13ba91b Clean uninstall then reinstall of WSL on Windows 10, with systemD support Clean uninstall then reinstall of WSL on Windows 10, with systemD support..
2023.06.19 -
Windows의 WSL2 사용 레퍼런스
https://learn.microsoft.com/en-gb/windows/wsl/compare-versions Comparing WSL Versions WSL 2 provides the benefits of WSL 1, but uses an actual Linux kernel, rather than a translation layer like WSL 1, resulting in faster performance. learn.microsoft.com https://docs.docker.com/desktop/windows/wsl/ Docker Desktop WSL 2 backend on Windows docs.docker.com https://hoodiejun.tistory.com/11 윈도우에서 리눅스를..
2023.06.13 -
Python Mock Cookbook
클래스 메소드의 Mock을 처리하는 방법을 찾다가 괜찮은 레퍼런스를 발견했다. https://chase-seibert.github.io/blog/2015/06/25/python-mocking-cookbook.html Python Mock Cookbook The python mock library is one of the awesome things about working in Python. No matter what code you’re unit testing, it’s possible to mock out various pieces with very little test code. That being said, it’s sometimes difficult to figure out the ex chase..
2023.05.17 -
Sublime Text + Pylint
https://www.sublimelinter.com/en/stable/index.html Welcome to SublimeLinter — SublimeLinter 4.0.0 documentation © Copyright 2018, The SublimeLinter Community Revision 72c03227. www.sublimelinter.com https://packagecontrol.io/packages/SublimeLinter-pylint SublimeLinter-pylint - Packages - Package Control Browse SublimeLinter-pylint SublimeLinter plugin for python, using pylint. Details Installs ..
2023.05.09 -
Next.js로 React 앱 만들기
최근에 React 웹앱 프로젝트를 하나 시작하면서, 동료들이 더이상 create-react-app은 권장하지 않고 Next.js와 같은 대안을 이용해야 한다고 했다. 그래서 create-next-app을 이용해서 새로운 프로젝트를 생성했는데, 문제는 Next.js가 백엔드까지 붙어있는 프레임워크라서, 클라이언트 사이드 랜더링만 쓰려면 꼼수가 필요한 문제가 있었다. https://blog.logrocket.com/create-react-app-vs-next-js-performance-differences/ Comparing Create React App vs. Next.js performance differences - LogRocket Blog In this comparison of Next.js vs...
2023.04.19 -
크롬 키오스크 모드에서 디버깅하기
If you run Chrome with the --remote-debugging-port=9222 option it will provide access to DevTools at http://localhost:9222/. If you need to access it from a different computer you can forward the port with ssh. Source: http://blog.chromium.org/2011/05/remote-debugging-with-chrome-developer.html https://stackoverflow.com/questions/27175908/how-can-i-debug-a-running-kiosk-mode-chrome-application H..
2023.02.28