목록Programming/삽질기록 (4)
우당탕탕 좌충우돌 개발일기
관리자페이지 생성 후 관리자 등록 시, 임의의 비밀번호를 생성해서 발급해주려 한다. 임의의 난수를 만드는 함수로는 Random, SecureRandom이 있는데 그중에서도 SecureRandom이 암호적으로 더 강력한 난수를 만들어주는 클래스라고 하기에 사용해 보았다. ✨ SecureRandom 관련 내용은 하단 링크 참조 https://docs.oracle.com/javase/8/docs/api/java/security/SecureRandom.html SecureRandom (Java Platform SE 8 ) This class provides a cryptographically strong random number generator (RNG). A cryptographically strong ra..
현상 commit 을 하려던 중 잘되던 git이 해당 에러를 내뱉었다. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. 해결 문제가 생긴 .git 폴더에가서 index.lock 파일 삭제함 커맨드로 진행하는 경우 해당 git 경로로 들어가서 rm -f ./.git/..
현상 PSQLException: The column index is out of range: 5, number of columns: 4 해결 postgre sql 쿼리문에 offset이랑 limit을 추가했는데 이런 에러가 발생해서 끙끙대다가 쿼리문 중 주석처리한걸 삭제했더니 해결됨
IntelliJ 에서 git을 연동한 후, 각자의 작업내역은 별도 브랜치를 따서 올려야 할 때 브랜치 생성하는 법이다. 1. 인텔리제이 상단 메뉴에서 Git을 선택 -> New Branch 클릭 2. 새로운 브랜치명을 입력하고 create버튼 클릭 참고로 나는 feature폴더 하위에 csh폴더 하위에 test라는 브랜치를 생성할 것이다. 3. 생성버튼을 누른 후 Local에 보면 내가 만들고자 한 test branch가 잘 생성돼있음이 확인된다. 4. 이후 원격쪽에도 해당 branch를 생성하고 싶으면 Push를 눌러서 원격 쪽으로 push 해주면 끝 그럼 Remote(원격)에 feature/csh/test 브랜치가 생성되있음이 확인 가능하다.