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 testDate; | |
import java.awt.BorderLayout; | |
import java.awt.GridLayout; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.Set; |
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 test; | |
import java.lang.reflect.Field; | |
public class ClassInfoGenerator { | |
public static void main(String[] args) { | |
// first parameter : Target Class name | |
// second parameter : variable name | |
ClassInfoGenerator.showMsg(Article.class, "article"); | |
} |
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
<%@ page language="java" contentType="text/html; charset=UTF-8" | |
pageEncoding="UTF-8"%> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html ng-app="testApp"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Happy coding : Angular</title> | |
<style> | |
div.reply { margin-bottom: 10px; } | |
</style> |
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 test; | |
import java.util.Arrays; | |
public class PagingInfo { | |
private static final int ARTICLE_PER_PAGE = 10; | |
private static final int PAGE_LIST_SIZE = 10; | |
// Spring Data Page Object variables |
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
function caculateLimitDay(elaspedDay){ | |
//parseInt("10") | |
var today = new Date(); | |
var t = new Date(today); | |
t.setDate(today.getDate()+elaspedDay); | |
var text = t.getFullYear() + "."+(t.getMonth() + 1) + "." + t.getDate() +" " + t.getHours() +":"+t.getMinutes()+"까지"; | |
return text; | |
} |
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
<span id="signinButton"> | |
<span | |
class="g-signin" | |
data-callback="signinCallback" | |
data-clientid="제 클라이언트 아이디 넣는 곳입니다. " | |
data-cookiepolicy="single_host_origin" | |
data-requestvisibleactions="http://schemas.google.com/AddActivity" | |
data-scope="https://www.googleapis.com/auth/plus.login"> | |
</span> |
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 lastStaus = false; | |
function myFunction(){ | |
console.log("체인지"); | |
var currentMoney = $("#criteria").val(); | |
if (currentMoney % 100 != 0 ){ | |
alert("100원 단위로 돈을 입력하셔야 합니다"); | |
lastStaus = false; | |
return 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>linenumber</title> | |
<script src="https://code.jquery.com/jquery-1.11.3.js"></script> | |
<script> | |
$(function(){ | |
$("#changeBtn").click(function() { | |
var source = $("#source").val(); |
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 ArahanThreadExecutor { | |
public static void main(String[] args) throws InterruptedException, ExecutionException { | |
ExecutorService executor = Executors.newFixedThreadPool(1); | |
Future taskTwo = executor.submit(new ArahansaThread("TaskTwo", 4)); | |
System.out.println("waiting...시작 !?"); | |
//============================ | |
if(taskTwo.get() == null) { | |
System.out.println(" 태스크가 종료되었다. "); | |
} else { |
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
<!DOCTYPE html> | |
<html ng-app="app"> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> | |
</head> | |
<body> |
OlderNewer