분류 전체보기(864)
-
Apple MapKit 사용하기
iOS앱에서 애플맵을 사용하여 개발할때 참고할 만한 레퍼런스: www.raywenderlich.com/7738344-mapkit-tutorial-getting-started#toc-anchor-004 MapKit Tutorial: Getting Started Learn to use the powerful MapKit framework to build an interactive map, displaying location details and launching Maps for driving directions. www.raywenderlich.com medium.com/swlh/add-a-map-to-your-app-with-mapkit-and-core-location-ios-swift-guide-8ea9..
2021.04.16 -
Docker 관련 파일 삭제 방법
Docker를 사용하다보면 생각보다 설치나 삭제가 번거롭다. 유용성에 비하면 사용성은 확실히 떨어지는 듯. docker system prune -a docker container ls -a --filter status=exited --filter status=created docker image prune -a docker volume prune docker network prune linuxize.com/post/how-to-remove-docker-images-containers-volumes-and-networks/
2021.04.13 -
오프셋/커서 기반 페이지네이션
velog.io/@minsangk/%EC%BB%A4%EC%84%9C-%EA%B8%B0%EB%B0%98-%ED%8E%98%EC%9D%B4%EC%A7%80%EB%84%A4%EC%9D%B4%EC%85%98-Cursor-based-Pagination-%EA%B5%AC%ED%98%84%ED%95%98%EA%B8%B0 커서 기반 페이지네이션 (Cursor-based Pagination) 구현하기 사실 처음에는 이 주제로 포스트를 쓰려고 했던건 아니고 Apollo GraphQL 에서 커서 기반 페이지네이션 구현 을 주제로 글을 쓰려고 했습니다. 그런데 막상 찾아보니 백엔드-프론트엔드를 함께 고려 velog.io
2021.04.07 -
React 프로젝트 시작하기
오랜만에 React 프로젝트를 만들려고 하면 매번 까먹다보니 정리를 해본다. 기본적으로 간단한 React 프로젝트의 경우, 개인적으로 UI는 reactstrap으로, 라우팅은 react-router-dom으로, 비동기 통신은 axios를 사용하고 있다. 이정도면 간단하게 RESTful API와 연동되는 관리자 페이지 정도는 뚝딱뚝딱 만들어냏수 있기 때문이다. 1. Node.js 설치 2. React 프로젝트 만들기 npx create-react-app my-app cd my-app npm start ko.reactjs.org/docs/create-a-new-react-app.html 새로운 React 앱 만들기 – React A JavaScript library for building user inter..
2021.04.04 -
React에서 동기 방식 delay 사용
바람직한 방법이 아닐수 있지만, 강제로 delay를 주고자 할때는 Promise와 await를 이용할 수 있다. You would be able to create delay function with async function timeout(delay: number) { return new Promise( res => setTimeout(res, delay) ); } and then call the function await timeout(1000); //for 1 sec delay stackoverflow.com/questions/42089548/how-to-add-delay-in-reactjs How to add delay in Reactjs I am new to Reactjs. I am not sur..
2021.03.25 -
AWS EC2 새 디스크에 /var 폴더 마운트
처음 EC2 인스턴스를 생성할때, 적은 용량의 EBS를 사용하도록 했을 경우에는 나중에 용량이 부족해서 추가 EBS를 생성하여 연결해야 한다. 새로운 폴더를 새로 연결된 EBS에 마운트할때는 상관없지만, /var 폴더와 같이 기존에 사용하던 폴더를 새 EBS에 마운트하려면 다음과 같은 순서로 처리를 해야한다. Configuring a new /var partition on a virtual server When I took over a new virtual server that had been provisioned by my employer’s hosting company, there wasn’t enough free space in the root filesystem. Luckily, they had ..
2021.03.19