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
| 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 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
| 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 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
| <%@ 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 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
| 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 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 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 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
| <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 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
| var lastStaus = false; | |
| function myFunction(){ | |
| console.log("์ฒด์ธ์ง"); | |
| var currentMoney = $("#criteria").val(); | |
| if (currentMoney % 100 != 0 ){ | |
| alert("100์ ๋จ์๋ก ๋์ ์ ๋ ฅํ์ ์ผ ํฉ๋๋ค"); | |
| lastStaus = false; | |
| return false; | |
| } |
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
| <!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 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
| 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 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
| <!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