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
# 쉬운 버전관리 Git | |
Part 1 기본 | |
1. Git 이란? | |
파일의 변경 이력을 관리할 수 있는 버전관리시스템 | |
CVS, SVN과 달리 네트워크가 끊긴 상황에서도 버전 기록(commit) 가능 | |
리누스 토발즈가 개발 | |
GitHub.com 서비스를 통해서 확산 | |
프로젝트별로 관리 가능 | |
GitHub, GitLab, BitBucket, NForge 무료 비밀 저장소 지원 |
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
$("#frm").serialize().split("&").sort(); | |
private static final Logger logger = LoggerFactory.getLogger(Commons.class); | |
public static void writeJSON(HttpServletResponse response, | |
final String label, final Object data) { | |
JSONObject jsonObj = new JSONObject(); | |
jsonObj.put(label, data); | |
response.setContentType("application/json; charset=UTF-8"); |
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
$("#checkAll").on("click", function(){ | |
var sts = $("#checkAll").attr("checked") == "checked"; | |
$('input[name="code"]').attr("checked", sts); | |
}); |
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
$.fn.money = function() { | |
var M = {}; | |
M = { | |
prefix: "$ ", | |
floatFlag: "off", | |
format: function() { | |
M.config(this); | |
var n = $(this).val().replace(/[\$\s,]/g, ""); |
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 commons = { | |
drop: function (list, i) { | |
return list.slice(0, i).concat(list.slice(i + 1)); | |
}, | |
getOptions: function(list, vkey, nkey) { | |
var listHtml = ""; | |
for (var i=0 ; i<list.length ; i++) { | |
listHtml += "<option value='"; | |
listHtml += list[i][vkey]; |
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 cLink = document.createElement("link"); | |
cLink.rel = "stylesheet"; | |
cLink.type = "text/css"; | |
cLink.href = "/event/200908/nas.css"; | |
document.getElementsByTagName("head")[0].appendChild(cLink); |
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 loadJQuery() { | |
var oScript = document.createElement("script"); | |
oScript.type = "text/javascript"; | |
oScript.charset = "utf-8"; | |
oScript.src = "http://code.jquery.com/jquery-1.6.2.min.js"; | |
document.getElementsByTagName("head")[0].appendChild(oScript); | |
} |
NewerOlder