global.properties
2022. 12. 28. 04:30
스프링
글로벌 프로퍼티나 다른 설정파일에서 명시 된 값 가져오기 예를들어 설정파일에 Globals.ksearchKey=123123123123123 이런식으로 명시 되어있을 경우 자바에서 @Value("${Globals.ksearchKey}") 필드주입!!
특정범위에서 클래스 찾기
2022. 12. 9. 20:51
JavaScript
document.querySelector('#mainImage-attach-file-zone').parentNode.querySelector('.rq') 예를들어 어디를 찍어 들어갔을 때 그 부모가 가지고 있는 영역이 있을거고, 예를들어, 그것이 div 라면 그 영역에서 찾기. document.#mainImage-attach-file-zone.부모노드에서 querySelector('.rq') 를 돌리는 것이다.
파일찾기 'find'
2022. 11. 24. 16:53
터미널
find /usr/local -name "*파일파일*" find /usr/local "*디렉토리*" -type d find . -name "*파일파일*" find . -name "*디렉토리*" -type d -name 앞에 .을가지고 상대경로 절대경로 컨트롤 ~~ ! 이름검색 시 에스터리스크(*) 를 활용해서 ~~ !