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
axisj.promise = function () { | |
// ํ๋ผ๋ฏธ์ค | |
var myClass = function () { | |
this.busy = false; | |
this.queue = []; | |
this.then = function (fn) { | |
this.queue.push(fn); |
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
ax.promise() | |
.then(function (ok, fail, data) { | |
$.ajax({ | |
url: "/api/v1/connections", | |
callback: function (res) { | |
ok(res); // data ๋ก ์ ๋ฌ | |
}, | |
onError: function (res) { | |
fail(res); | |
} |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, user-scalable=no"> | |
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" |
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 gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
gulp.task('concat', function(){ | |
gulp.src('src/js/*.js') | |
.pipe(concat('all.js')) | |
.pipe(gulp.dest('dist')); | |
}); | |
gulp.task('default', ['concat'], function(){ |
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 (array, columns) { | |
let tableRow = [], table = "", trl, tcl; | |
// Generate column list | |
let cols = columns ? columns.split(",") : Object.keys(array[0]); | |
// Generate table headers | |
tableRow.push(cols); | |
// Generate table header seperator |
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
// Node: Export function | |
if (typeof module !== "undefined" && module.exports) { | |
module.exports = exportObject; | |
} | |
// AMD/requirejs: Define the module | |
else if (typeof define === 'function' && define.amd) { | |
define(function () {return exportObject;}); | |
} | |
// Browser: Expose to window |
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 com.chequer.ax5.api.demo.entity.file; | |
import com.fasterxml.jackson.annotation.JsonIgnore; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import lombok.Data; | |
import org.apache.commons.io.FilenameUtils; | |
import org.springframework.web.multipart.MultipartFile; | |
import java.io.File; | |
import java.time.LocalDateTime; |
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
List swipeList = JsonUtils.fromJsonToList("[" + | |
"{'id':'slide_one', 'video':'intro_for_web', 'title':'Open the SQLGate', 'stitle':'๋น ๋ฅด๊ณ ๊ฐ๋ ฅํ ๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ง๋ฅ ๋๊ตฌ', " + | |
"'desc':'SQLGate๋ ๊ฐ๋ ฅํ ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ฟผ๋ฆฌ ๋๊ตฌ์ ํจ๊ป ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ํ์ํ ๋ชจ๋ ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ฌ์ฉ์/๊ฐ๋ฐ์/DBA๋ฅผ ์ํ ๋ง๋ฅ ๋๊ตฌ ์ ๋๋ค. SQLGate๋ฅผ ํตํด ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ ๋ฌด ํ์ ์ ์ด๋ค๋ณด์ธ์!'}, " + | |
"{'id':'slide_two', 'video':'oracle_for_web', 'title':'SQLGate for Oracle', 'stitle':'SQL๊ฒ์ดํธ๋ฅผ ์ด๋ค, ๋ฐ์ดํฐ์ ๋ฐ๋ค ์๋ฅผ ๋ ๋ค.', " + | |
"'desc':'Oracle SQL Net ์์ด๋ ์ค๋ผํด ์๋ฒ์ ์ ์ํ์ฌ ๋ค์ํ ์ง์๋ฅผ ํตํด ์ํ๋ ๋ฐ์ดํฐ๋ฅผ ์ป์ ์ ์๋๋ก ๊ฐ๋ ฅํ ๊ธฐ๋ฅ์ ์ ๊ณตํ์ฌ ๊ฐ๋ฐ์๋ค์๊ฒ ์ต์ ์ ํธ๋ฆฌํจ๊ณผ ์์ฐ์ฑ์ ๋์ฌ์ฃผ๋ ๊ฐ๋ฐํด์ ๋๋ค.'}, " + | |
"{'id':'slide_three', 'video':'ms_for_web', 'title':'SQLGate for SQLServer', 'stitle':'SQL๊ฒ์ดํธ๋ฅผ ์ด๋ค, ๋ฐ์ดํฐ๋ฅผ ๊ฑด์ ธ ์ฌ๋ฆฌ๋ค', " + | |
"'desc':'COM ๊ธฐ๋ฐ์ ์ธํฐํ์ด์ค๋ฅผ ํตํด OLE DB ๋ฅผ ์ด์ฉํ์ฌ ๊ฐ๋ณ๊ณ ์์ฌ์ด ๋ฐฉ๋ฒ์ผ๋ก Microsoft SQL Server์ ์ ์ํ์ฌ ๊ฐ๋ฐ์๊ฐ ์ํ๋ ๋ฐ์ดํฐ๋ฅผ ์ถ์ถํด ๋ผ ์ ์๋ ์ดํ๋ฆฌ์ผ์ด์ ์ ๋๋ค.'}, " + | |
"{'id':'slide_four', 'video':'db2_for_web', 'title':'SQLGate for DB2', 'stitle':'SQL๊ฒ์ดํธ๋ฅผ ์ด๋ค, ๋งคํธ๋ฆญ์ค์ ์ ์ํ๋ค', " + | |
"'desc':'IBM DB2 ์ ๋ฐ์ดํฐ๋ฒ ์ด์ค ๊ฐ๋ฐ๊ณผ ๊ด๋ฆฌ๋ฅผ |
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" %> | |
<%@ page import="com.chequer.sqlgate.pms.core.utils.*" %> | |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<%@ taglib prefix="ax" tagdir="/WEB-INF/tags" %> | |
<% | |
String licenseType = RequestUtils.of(request).getString("licenseType", "business"); | |
String buyType = RequestUtils.of(request).getString("buyType", "new"); | |
request.setAttribute("licenseType", licenseType); | |
request.setAttribute("buyType", buyType); |
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
@charset "UTF-8"; | |
// Mixins | |
@import "components/mixins"; | |
@import "components/color"; | |
// Variables; | |
@import "components/variables"; | |
// Reset |