Route A route is a URL pattern that is mapped to a handler. The handler can be a physical file, such as an .aspx file in a Web Forms application. A handler can also be a class that processes the request, such as a controller in an MVC application. To define a route, you create an instance of the Route class by specifying the URL pattern, the handler, and optionally a name for the route. referenc..
윤인성 님의 머신러닝, 딥러닝 실전 개발 입문 책을 보면서 실습 중에 Trouble Shooting 했던 내용을 정리하였습니다. Cron 실습 중 Ubuntu 관련 문제 우분투 docker 이미지가 Minimize 된 형태로 제공되기 때문에 ubuntu:lateast 혹은 ubuntu:16.04 이미지를 pull 해서 컨테이너를 띄우면 sudo, cron 등 기본적으로 필요한 패키지들이 설치가 안되어 있음 실습에 필요한 패키지 설치 $ apt-get update $ apt-get install sudo cron nano $ apt-get install -y rsyslog cron 서비스 확인 및 시작 $ ps aux | grep cron -- pid 확인 $ pgrep cron -- pid 확인 $ se..
아나콘다란? Distribution-Anaconda 엄청나게 많은(1400+) 파이썬과 R 데이터 사이언스 패키지들을 설치하고, 패키지, 의존성, 환경에 대한 부분들을 관리한다. 무료이고 오픈소스 설치파일 다운로드 https://www.anaconda.com/download/ 환경변수 설정 Add Anaconda to my PATH environment variable 체크하기 설치 확인 및 업데이트 conda --version conda update conda 아나콘다 명령어 새로운 가상환경 생성 "python3"라는 이름의 파이썬 버전3를 사용하는 가상환경을 생성하기 뒤에 anaconda 를 붙여서 아나콘다 배포를 구성하는 모든 파이썬 패키지를 포함하도록 conda 환경 구성 conda create ..
Docker 명령어 모음 자주 쓰는데 맨날 헷갈리는 명령어만 모아놨습니다ㅎㅎ 이미지 검색 docker search [image명] 이미지 내려받기 docker pull ubuntu:latest 이미지 목록 보기 docker images 컨테이너 리스트 조회 (-a : 정지된 컨테이너 리스트도 포함) docker ps -a 컨테이너 시작 docker start 컨테이너 접속 docker attach 컨테이너 삭제 (-f : 강제로 삭제) docker rm 컨테이너 시작+접속 docker run -i -t -v /c/Users/awood/sample:/sample --name mlearn mlearn:init /bin/bash -v : 폴더 마운트 --name : 컨테이너 이름 설정 ※ 컨테이너에 접속 후 ..
스프링 부트 레퍼런스 문서를 보면서 번역 및 정리를 한 문서 입니다. 잘못 해석한 부분이 있을 수 있으니 정확한 정보는 Part IV. Spring Boot features - 43. Testing 를 참고하시기 바랍니다. Ⅳ장 부터는 다 보지 않고 필요한 부분만 봐야할 것 같습니다. (도저히 다 읽을 수가 없어요ㅠㅠㅠ) Testing [참고자료] JUnit & Spring 테스트 (Feat. 토비 스프링 3.1) 2-1 : JUnit 테스트 (예제코드) public class JunitUserDaoTest { @Before public void setup() { } @Test public void test(){ } @After public void tearDown(){ } } @Test 어노테이션 붙은..
스터디 자료를 공유하기 위해 GitHub에 repository 생성 후 팀원들을 추가하려고 Collaborators >> Add collaborators 를 했더니 User has blocked you 라는 메세지가 떴다. 이게 뭘까??;;; 하고 이리저리 찾다가... 내 GitHub 페이지 상단에 뭔가 메세지가 떠 있는게 보였다. (첨에 이 문구를 못 보고 한참을 찾았다ㅋㅋ) flagged Account 에 대해 검색을 해보니... GitHub 커뮤니티 사이트에 나와 같은 사람이 올려놓은 글이 있었다. I got a mail from support@github.com: --- Hi there, Sorry about that. Sometimes our spam-detecting systems miss t..
Git is the open source distributed version control system that facilitates GitHub activities on your laptop or desktop. This cheat sheet summarizes commonly used Git command line instructions for quick reference. INSTALL GIT GitHub provides desktop clients that include a graphical user interface for the most common repository actions and an automatically updating command line edition of Git for ..