전체 글 (291) 썸네일형 리스트형 [mozilla api] drag and drop https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API HTML Drag and Drop API - Web APIs | MDN HTML Drag and Drop interfaces enable applications to use drag-and-drop features in browsers. developer.mozilla.org 다 한번 실제로 적용해봐야겠음 drag - ondrag dragend - ondragend dragenter - ondragenter . drag ...a dragged item (element or text selection) is dragged. dragend ...a drag operation end.. [mozilla WEB API Element] keydown_event https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event Element: keydown event - Web APIs | MDN The keydown event is fired when a key is pressed. developer.mozilla.org 찾아보니 keypress 는 삭제 keydown, keyup 을 이용할 수 있는 듯 하다. keydown, keyup 은 역시나 addEventListener 에서 사용한다 Keyboard events are only generated by , , and anything with the contentEditable or tabindex attribute. 정규표현식으로 입력 순간 또.. [mozilla document] Equality_comparisons_and_sameness https://developer.mozilla.org/en-US/docs/Web/API Web APIs | MDN When writing code for the Web, there are a large number of Web APIs available. Below is a list of all the APIs and interfaces (object types) that you may be able to use while developing your Web app or site. developer.mozilla.org 프론트가 너무 약해서 오늘부터 조금씩 다시 공부해보려고 하는 중! 일이 너무 바빠서 거의 몇달을 안하고 쉬었네ㅜㅠ 다시 조금씩이라도 해보자 알든 모르든 문서를 무조건 한번은 훑어보는게 목.. [error] module java.base does not "opens java.lang" to unnamed module Resolved [org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.reflect.InaccessibleObjectException: Unable to make field static final char[] java.lang.Integer.digits accessible: module java.base does not "opens java.lang" to unnamed module @20ccf40b### The error may exist in file [/director.. [git organization] 사용할 명령어 마찬가지로 가져올 때는 git clone [url] git branch 할 때 fatal: not a valid object name: 'master' 이런 오류가 있다면 branch 전에는 최소 한번 이상의 커밋이 있어야 한다 그 후에 branch 걸어주기 git checkout 브랜치이름 //해당 브랜치로 이동 git add . git commit -m "커밋내용작성" //브랜치 커밋 git checkout master //마스터로 이동하고 git merge 브랜치이름 //master를 브랜치이름과 합쳐준다 git push origin master //push! //삭제할 때 다른 브랜치로 전환 후에 삭제 git checkout 다른이름 git branch -d 브랜치이름 [web security] XSS (Cross-Site Scripting) 더보기 https://youtu.be/bSGqBoZd8WM 널리 알려진 웹 보안 취약점 중 하나로 악의적인 사용자가 악성 스크립트를 삽입하여 공격하는 경우를 말한다. 이를 통해 C&C(좀비 PC 명령 또는 악성 코드 제어하는 서버)로 리다이렉트 하거나 사용자의 쿠키를 탈취하여 세션 하이재킹 공격을 할 수 있다. 대표적인 공격 방식 - Stored XSS : 공격자가 제공한 데이터가 서버에 저장되면서 지속적으로 다른 사용자에게 스크립트를 노출시킴 - Reflected XSS : 쿼리스트링을 URL에 담아 전송 시 서버가 필터링 없이 응답 페이지로 전송 시 발생 - DOM Based XSS : 방지방법 1. innerHTML 사용 자제, textContent, innerText를 사용한다 2. 받은 HTML.. [error] Error attempting to get column '컬럼' from result set: Cause: java.sql.SQLException: Invalid value for getInt() @Builder 애노테이션을 사용 할 때 SQL query 의 필드 순서와 데이터 모델의 필드 순서가 달라서 라고 한다.. 맞춰줘야하다니 아니면 이거 추가하면 된다구 함! @AllArgsConstructor @NoArgsConstructor [LocalDateTime Date] Convert Convert java.time.LocalDateTime to java.util.Date The easiest way of getting a java.util.Date from LocalDateTime is to use an extension to the java.sql.Timestamp — available with Java 8: public Date convertToDateViaSqlTimestamp(LocalDateTime dateToConvert) { return java.sql.Timestamp.valueOf(dateToConvert); }Copy But of course, an alternative solution is using an Instant object, which we obtain .. 이전 1 ··· 6 7 8 9 10 11 12 ··· 37 다음