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="ko-KR" class="no-js"> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
<meta charset="UTF-8"> | |
<title>ํ์ดํ</title> | |
<meta name="description" content=""> |
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"; | |
/* ์ธ๋ถ์ ์คํ์ผ ๋ชจ๋ ํธ์ถ | |
* --------------------------------------------------------------------------- | |
*/ | |
@import "./parts/normalize.min.css"; | |
@import "./parts/common.css"; | |
@import "./parts/gs.min.css"; | |
@import "./parts/fonts.css"; |
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
Show hidden characters
[ | |
// Sidebar Enhancement ๊ธฐ๋ฅ ๋จ์ถํค ์ค์ | |
{ "keys": ["ctrl+alt+n"] , "command": "side_bar_new_file" }, | |
{ "keys": ["f2"] , "command": "side_bar_rename" }, | |
{ "keys": ["ctrl+alt+m"] , "command": "side_bar_move" }, | |
{ "keys": ["ctrl+alt+d"] , "command": "side_bar_delete" } | |
] | |
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> | |
<title></title> | |
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script type="text/javascript" src="js/jquery-form.js"></script> | |
</head> | |
<body> | |
<form> | |
<input type="text" name="text2" /><br/> |
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> | |
<title></title> | |
<script src="https://code.jquery.com/jquery-1.11.3.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
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.js - File System ๋ชจ๋ ํธ์ถ | |
// ์ฐธ๊ณ URL: http://nodejs.org/api/fs.html | |
var fs = require('fs'); | |
console.log('ํ์ผ์ฝ๊ธฐํ๋ก์ธ์ค์์...'); | |
fs.readFile('files/user.json', function (err, data) { | |
var jsonobj = JSON.parse(data); | |
console.log('data:' + jsonobj.nickname); | |
}); | |
console.log('ํ์ผ์ฝ๊ธฐํ๋ก์ธ์ค๋.'); |
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 fs = require('fs'); | |
console.log('ํ์ผ ์ฝ๊ธฐ ํ๋ก์ธ์ค ์์...'); | |
//file System - readFileSync() ์ฌ์ฉ | |
var data = fs.readFileSync('files/user.json'); | |
console.log('๋ฐ์ดํฐ:' + data); | |
console.log('ํ์ผ ์ฝ๊ธฐ ํ๋ก์ธ์ค๋.'); |
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 fs = require('fs'); | |
console.log('๋ฌธ์์ฐ๊ธฐํ๋ก์ธ์ค์์...'); | |
var cssDoc = '#nodejs {margin:0;}'; | |
var options = {encoding: 'utf8'}; | |
fs.writeFile( | |
'files/style.css', | |
cssDoc, | |
options, | |
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
var fs = require('fs'); | |
//style.css ๋ฌธ์๊ฒฝ๋ก | |
var styleDoc = 'files/style.css'; | |
//watchFile() - ํ์ผ๋ณํ๋ฅผ ์ง์์ ์ผ๋ก ๊ด์ฐฐํจ. | |
fs.watchFile(styleDoc , function(cur,prv){ | |
//readFileSync() - ํ์ผ์ ๋๊ธฐ์ ์ผ๋ก ์ฝ์ด์ด. | |
var doc = fs.readFileSync(styleDoc); | |
console.log('๋ณ๊ฒฝ๋ ๋ฌธ์๋ด์ฉ: \n' + doc); |
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
/*! combineJS module @[email protected], 2015 */ | |
// File System ๋ด์ฅ ๋ชจ๋ ํธ์ถ | |
var fs = require('fs'); | |
minify = require('minify'); | |
/** | |
* combine.JS ๋ชจ๋ ์ ์ ๋ฐ ์ธ๋ถ๋ก ์ถ๋ ฅ | |
* ๋ชจ๋ ๋ด๋ถ์ ์ ๋ฌ๋ฐ์ ์ธ์(๋ฐฐ์ด, ๋ฌธ์์ด) ์ค์ \ | |
*/ |
OlderNewer