This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function findIndexKo(word) { | |
var koRegex = /[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]/g; // [ㄱ-ㅎ|ㅏ-ㅣ|가-힣] | |
if (!koRegex.test(word)) { | |
// 매개변수가 한글이 아닌 경우 | |
return -1; | |
} | |
if (word >= "가" && word < "나") { | |
return "가"; | |
} else if (word >= "나" && word < "다") { | |
return "나"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 게시판 등의 페이지 처리를 위한 모델. 목적 데이터의 전체 건수를 조회해 setTotalRows(rows)하고 calculate()해야 한다. | |
* | |
*/ | |
public class PaginationModel { | |
/** 현재 페이지 번호 */ | |
private Integer currentPage; | |
/** 한 페이지당 게시되는 게시물 수 */ | |
private Integer rowsPerPage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "KarabinerElementsKoreanPcKeyboard", | |
"maintainers": [], | |
"rules": [ | |
{ | |
"description": "Windows 키와 왼쪽 Alt 키 자리 교체", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { |
OlderNewer