마크다운 문법

마크다운 사용법 글자 크기 This is an tag This is an tag This is an tag This is an tag This is an tag This is an tag 강조 ` ...

모든 git history 지우기

오랫동안 사용한 git 프로젝트가 있는데, 시간이 많이 지나다 보니 history 용량이 많아져 clone 받는데 많은 시간이 걸렸다. 개인 프로젝트고 history 참조 안해도 되서 삭제하기로 결정 쉽고 간단한 방법 깃정보를 저장하고 있는 .git 폴더를 지우고 force push. 가끔 문제가 생기는 경우도 있으니 커맨드 실행전 백업해 놓을것 ...

range() rangeClosed() 차이

자바8에 추가된 API로 원시 데이터 형 int와 long를 스트림으로 다룰 수 있도록 해준다. public static IntStream range(int startInclusive, int endExclusive) { ... } public static IntStream rangeClosed(int startInclusive, ...