This file contains 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
/** | |
Domain에 필요한 Request와 Response를 Inner Class로 넣어준다. | |
이는 DTO를 따로 만들지 않고 Domain을 이용하기 위함이다. | |
*/ | |
@Entity | |
@Data | |
public class User extends AbstractPersistable<Integer> { | |
private String username; |
This file contains 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
class 계산기{ | |
//값두개를 받는다.(int a, int b) | |
void 덧셈(int a, int b){ | |
int c = a + b; | |
System.out.println("a+b=" + c); | |
} | |
void 빼기(){ | |
//값을 두개 받는다. | |
//뺀다 |
This file contains 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
class 계산기{ | |
//값두개를 받는다.(int a, int b) | |
void 덧셈(int a, int b){ | |
int c = a + b; | |
System.out.println("a+b=" + c); | |
} | |
void 빼기(int a, int b){ | |
//값을 두개 받는다. | |
//뺀다 |
This file contains 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
public class Test { | |
public static void main(String[] args) { | |
boolean b = false; | |
if(b){ | |
System.out.println(true); | |
}else{ | |
System.out.println(false); | |
} |
This file contains 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
public class 배열{ | |
public static void main(String args[]){ | |
int a [] = new int[4]; | |
System.out.println("Array a length : " + a.length); | |
for(int i = 0 ; i < a.length ; i++){ | |
a[i] = (i + 10); | |
} | |
for(int i = 0 ; i < a.length ; i++){ | |
System.out.println("a[" + i + "] : " + a[i]); |
This file contains 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
package com.niee.restful.web.controller; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
import java.net.URLEncoder; | |
import javax.servlet.http.HttpServletResponse; |
This file contains 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
var Scheduler = { | |
calendar : $('#calendar'), | |
events : {}, | |
getEvent : function(){ | |
//서버에서 달력에 표시된 시작일~ 종료일 까지의 일정을 가져와서 fullcalendar에 표시(공통)하고 events배열에 등록(공통) | |
}, | |
addEvent : function(event){ | |
//클라이언트에서 등록한 일정을 서버에 입력 요청 하고 fullcalendar에 표시(공통)하고 events배열에 등록(공통) | |
}, | |
modEvent : function(event){ |
This file contains 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
/*! | |
* indexedDB Plugin v0.0.1 | |
* License: https://github.com/ParkMinKyu/diary/blob/master/LICENSE | |
* (c) 2017 niee | |
*/ | |
var IndexedDB = { | |
indexedDB: window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB, | |
schemaName: null, | |
dataBaseName: null, | |
checkDB: function () { |
This file contains 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
public class LatLngToXY { | |
static final float RE = 6371.00877f; // 지구 반경(km) | |
static final float GRID = 5.0f; // 격자 간격(km) | |
static final float SLAT1 = 30.0f; // 투영 위도1(degree) | |
static final float SLAT2 = 60.0f; // 투영 위도2(degree) | |
static final float OLON = 126.0f; // 기준점 경도(degree) | |
static final float OLAT = 38.0f; // 기준점 위도(degree) | |
static final float XO = 43f; // 기준점 X좌표(GRID) | |
static final float YO = 136f; // 기1준점 Y좌표(GRID) |
This file contains 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
🌞 Morning 142 commits █████▋░░░░░░░░░░░░░░░ 27.1% | |
🌆 Daytime 85 commits ███▍░░░░░░░░░░░░░░░░░ 16.2% | |
🌃 Evening 253 commits ██████████▏░░░░░░░░░░ 48.3% | |
🌙 Night 44 commits █▊░░░░░░░░░░░░░░░░░░░ 8.4% |
OlderNewer