암호화 알고리즘과 Spring Boot Application에서 Entity 암호화 by 김성중 about Spring Boot,Spring,Algorithm
- User > { @Override public User convert ( Row source ) { User user = new User (); // User 엔티티에서 @Column이 포함된 필드만 추출 List < Field > fields = Arrays
- OutboundRow > { @Override public OutboundRow convert ( User source ) { OutboundRow row = new OutboundRow (); // User 엔티티에서 @Column이 포함된 필드만 추출 List < Field > fields = Arrays
- get ( source ); if ( value != null && field
kotlin coding convention by 김준희 about Kotlin
- // Avoid doing this: /** * Returns the absolute value of the given number
- * @param number The number to return the absolute value for
- // Do this instead: /** * Returns the absolute value of the given [number]
LeetCode : 191. Number of 1 Bits by 신기용
- Write a function that takes an unsigned integer and returns the number of '1' bits it has (also known as the Hamming weight)
Java 진법 다루기 : 2진수, 8진수, 10진수, 16진수 by 신기용 about Java
- println ( "1011 : " + print ( 1011 )); System
- println ( "1010 : " + print ( 1010 )); System
- println ( "0x10 : " + print ( 0x10 )); ## Output === 2 진수 ( 0 b ) === 0b01 : 1 0b10 : 2 === 8 진수 ( 0 ) == 001 : 1 010 : 8 === 10 진수 == 1011 : 1011 1001 : 1001 1010 : 1010 === 16 진수 ( 0 x ) == 0x01 : 1 0x10 : 16
[java/Design Pattern] 싱글톤의 Lazy 초기화 by 염광호 about Spring,Design Pattern
- public class Government { private static Government government; private Government() {} public static Government election() { if(government == null) { government = new Government(); return government; } return government; } }
- public class Government { private static Government government; private Government() {} public static synchronized Government election() { if(government == null) { government = new Government(); return government; } return government; } }
- public class Government { private static Government government; private Government() {} public static Government election() { if(government == null) { synchronized (Government
The UI&UX tips collection (1) by 김준범
- 색상을 달리하여 적용하면 한 가지 폰트로도 완벽한 디자인을 만들 수 있다
- 물론 이것은 폰트의 종류에 따라 달라지지만 대부분의 본문 폰트는 20pt가 가장 좋고 사용자가 텍스트를 볼 때 가장 편하게 읽을 수 있는 경험을 제공한다
- 그리고 선택한 기본 색상으로 Tint와 Shade를 적용하면 손쉬운 방법으로 디자인을 일관성 있게 보이게 할 수 있다
[Python] PDF 파일 잠금 해제하기 by 권민 about Python
- import os import pikepdf def decrypt_pdf(file_name): input_path = os
- "decrypted_"+file_name) input_pdf = pikepdf
- "select a file") input_pdf = pikepdf
[Creative Coding] 자바스크립트로 HTML5 캔버스에 회전하는 도형 만들기 by 이건 about Javascript,HTML
- save(); /** 360도를 각의 수만큼 나눈 각도 */ const angle = PI2 / this
- sides ; i++){ /** 각도별 도형의 중앙 x좌표 */ const x = this
- cos(angle * i); /** 각도별 도형의 중앙 y좌표 */ const y = this
WSL 리소스 조정하기 by 김석범
- 커널 분석을 위해 WSL을 이용하도록 환경을 구성하자 서브시스템에서 사용하는 메모리나 CPU 자원이 상당하였다
- 아래와 같이 WSL 설정파일을 하나 생성해서 사용할 리소스를 직접 명시해주면 된다
- 실행 중인 WSL을 확인한 후 아래와 같이 종료한다