본문 바로가기
728x90

전체 글126

git 에러 : modified content, untracked content git으로 push 요청을 보내고 받은 메세지입니다. github에서 확인해본 결과 새로 추가한 폴더가 github에 제대로 보여지지 않았습니다. 해결법 제대로 추가되지 안된 폴더의 .git 폴더를 제거합니다. git rm -rf --cached /해당폴더를 실행하여 git cache를 제거합니다. git add .를 실행하여 폴더를 git에 추가해줍니다. 원인 아마 새로 추가되었던 디렉토리는 이미 다른 리포지토리에 소속이 되었던 것 같습니다. .git 폴더와 cache를 제거하여 새로운 git 리포지토리에 추가 해주시면 됩니다. 2020. 2. 5.
VSCode 완전히 삭제하기 (Windows 10) 1. uninst000.exe 파일 실행 C:\Users\사용자이름\AppData\Local\Programs\Microsoft VS Code2. 기타 폴더 삭제 C:\Users\사용자이름\AppData\Roaming\Code C:\Users\사용자이름\.vscode 2020. 2. 4.
git 아이디, 비밀번호 저장하기 사용자, 이메일 등록 git config --global user.name 이름 git config --global user.email 이메일추가 설명 --global 옵션은 특정 사용자와 모든 저장소에 대해 적용됩니다. 만약 프로젝트마다 다른 이름과 이메일 주소를 사용하고 싶으시다면 --global 옵션을 빼고 사용하시면 됩니다. --global 옵션 사용 시, C:\\Users\사용자\.gitconfig 파일에 사용자의 이메일과 이름이 저장되어 모든 저장소에 적용됩니다. --global 옵션 미사용 시, 해당 프로젝트 폴더의 .git 폴더 아래 config 파일에 이메일과 이름이 저장되어 해당 프로젝트에만 적용됩니다. 아이디, 패스워드 캐싱 git config credential.helper stor.. 2020. 1. 30.
millisecond 날짜 변환 1578290155000은 UNIX 시간 (1970년 1월 1일 00:00:00)을 기준으로 2020-01-06 14:55:55까지의 millisecond 단위 new Date(1578290155000)는 한국 표준시를 리턴 Mon Jan 06 2020 14:55:55 GMT+0900 (한국 표준시) 보기 좋게 포멧하는 과정이 필요하다. const formateDate = sec => { const d = new Date(sec); return d.getFullYear() + '-' + dd(d.getMonth() + 1) + '-' + dd(d.getDate()) + ' ' + dd(d.getHours()) + ':' + dd(d.getMinut.. 2020. 1. 6.
[Colonize] Java formatter plugin I usually use the VSCode just to work on algorithm questions. but it was pretty annoying adding semicolon at the end of the code manually. I thought prettier will work for this issue but there is no support for Java language (I also found the prettier for java extension here if you are interested, go check that out). Instead, I was able to find this plugin call colonize It provide mainly three f.. 2019. 12. 3.
Radio button in group just to make one of the radio button checked when the others are unchecked 이메일 구글 make user you should put the group of radio buttons in the same group id of fieldset (in this case I gave them group1), also give the same name of each button which is fieldset id 2019. 12. 3.
728x90