서버 프로그래밍(274)
-
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 -
MongoDB export/import
mongodb 의 내용을 파일로 export 하기 $ mongoexport -d dbName -c collectionName -o filename --port 27017 export 해둔 파일을 mongodb 로 import 하기 $ mongoimport -d dbName -c collectionName --file filename --port 27017 https://blog.naver.com/awspro/222062716567 mongodb 디비 덤프하기, import export 하기 / 몽고디비 다른 버전간 디비 이전하기 몽고디비 웹사이트에서 몽고디비를 소개하고 있는 문구입니다. document-based 라는 글귀와 No database ... blog.naver.com tar 파일 압축 및..
2023.02.11