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> | |
<title>구글 로그인</title> | |
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script src="https://apis.google.com/js/api:client.js"></script> | |
<script> | |
gapi.load('auth2', function() { | |
gapi.auth2.init({ | |
client_id: '위에서 발급받은 클라이언트 ID를 넣어주세요 ', |
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
import java.util.Scanner; | |
public class euclidean { | |
public static void main(String[] args) { | |
System.out.println("두수 입력해 주세요 : "); | |
Scanner sc = new Scanner(System.in); | |
int firstNum = sc.nextInt(); | |
int secondNum = sc.nextInt(); | |
int[] result= UH(firstNum, secondNum); | |
System.out.println("입력 값 : " + firstNum + ", " + secondNum ); | |
System.out.println("최대공약수 : " + result[1]); |
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
SELECT | |
'/*'||B.COMMENTS||'*/'||chr(13)|| | |
'private '|| | |
CASE | |
WHEN | |
UPPER(A.DATA_TYPE) = 'NUMBER' | |
OR UPPER(A.DATA_TYPE) = 'DECIMAL' | |
OR UPPER(A.DATA_TYPE) = 'FLOAT' | |
OR UPPER(A.DATA_TYPE) = 'INTEGER' | |
OR UPPER(A.DATA_TYPE) = 'SMALLINT' |
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
SELECT | |
CONCAT( | |
'/**', COLUMN_COMMENT, '*/', CHAR(13), | |
'private ', | |
CASE | |
WHEN | |
UPPER(COLUMN_TYPE) LIKE 'NUMBER%' | |
OR UPPER(COLUMN_TYPE) LIKE 'DECIMAL%' | |
OR UPPER(COLUMN_TYPE) LIKE 'FLOAT%' | |
OR UPPER(COLUMN_TYPE) LIKE 'INTEGER%' |
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
<configuration> | |
<settings> | |
<setting name="callSettersOnNulls" value="true"/> | |
</settings> | |
</configuration> |
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 lang="ko"> | |
<head> | |
<title>카카오톡 로그인</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script src="https://developers.kakao.com/sdk/js/kakao.min.js"></script> | |
<script> | |
$(document).ready(function(){ | |
Kakao.init("발급받은 키"); |
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
Ext.require(['*']); | |
Ext.onReady(function(){ | |
var store = Ext.create('Ext.data.TreeStore', { | |
id: 'store', | |
proxy: { | |
data : data | |
type:'memory', | |
reader:{ | |
type:'json' | |
} |
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 store = Ext.create('Ext.data.TreeStore', { | |
id: 'treeStore', | |
proxy: { | |
data : 'data', | |
type:'memory', | |
reader:{type:'json'} | |
}, | |
root: { | |
text: "text", | |
id: "id", |
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 tree = Ext.create('Ext.tree.Panel', { | |
id:"gridTree", | |
autoHeight:true, | |
renderTo: Ext.get('dataArea'), | |
useArrows: false, | |
rootVisible: false, | |
store: store, | |
multiSelect: true, | |
plugins: [ | |
Ext.create('Ext.grid.plugin.CellEditing', { |
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 tree = Ext.create('Ext.tree.Panel', { | |
id:"gridTree", | |
autoHeight:true, | |
renderTo: Ext.get('dataArea'), | |
useArrows: false, | |
rootVisible: false, | |
store: store, | |
multiSelect: true, | |
rowLines:true, | |
viewConfig: { |
NewerOlder