실제 JSON 포맷이어야합니다. 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
| ~/.vimrc | |
| set encoding=utf-8 nobomb | |
| set fileencodings=utf-8,cp949 | |
| 이미 vi로 파일을 연 상태에서 화면에 문자가 깨진 상태라면 | |
| 명령모드 | |
| :e ++enc=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
| <section data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'> | |
| <h2>Gist-Powered</h2> | |
| <h1>Reveal.js</h1> | |
| <h2>Slideshow Presentations</h2> | |
| <p class='fragment'><small><a class='fragment' href='http://github.com/ryanj/gist-reveal'>github.com/ryanj/gist-reveal</a> | |
| <br/> <a class='fragment' href='https://registry.hub.docker.com/u/ryanj/gist-reveal/'>registry.hub.docker.com/u/ryanj/gist-reveal</a></small></p> | |
| </section> | |
| <section data-background-transition='zoom' data-transition='linear'> | |
| <h2>Try it out!</h2> | |
| <p>Create your own deck by forking a copy of <a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>this github gist</a>: <br /><a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>https://gist.github.com/ryanj/af84d40e58c5c2a908dd</a></p> |
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 _ = require('underscore'), | |
| restaurantMap = { | |
| moo: "무명식당", | |
| soon: "순대국", | |
| book: "북어국", | |
| mook: "어묵", | |
| seol: "설렁탕", | |
| kim: "김치찌게", | |
| cheol: "철판목장", | |
| don: "돈까스", |
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 cluster = require('cluster'); | |
| var http = require('http'); | |
| if (cluster.isMaster) { | |
| var debug = process.execArgv.indexOf('--debug') !== -1; | |
| cluster.setupMaster({ | |
| execArgv: process.execArgv.filter(function(s) { return s !== '--debug' }) | |
| }); | |
| for (var i = 0; i < 2; ++i) { | |
| if (debug) cluster.settings.execArgv.push('--debug=' + (5859 + i)); |
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
| "use strict"; | |
| require('./extendObject'); // for __stack, __line, __function | |
| var fs = require('fs'); | |
| var winston = require('winston'); | |
| var moment = require('moment'); | |
| var util = require('util'); | |
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
| "use strict"; | |
| /** | |
| * Created by zizisky on 14. 4. 20. | |
| */ | |
| Object.defineProperty(global, '__stack', { | |
| get: function() { | |
| var orig = Error.prepareStackTrace; |
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
| "use strict"; | |
| var Base = require('./base'); | |
| var countUnnamed = 0, | |
| BehaviorTree; | |
| BehaviorTree = Base.extend({ | |
| constructor: function(config) { | |
| countUnnamed += 1; | |
| this.title = config.title || 'btree' + (countUnnamed); |
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
| "use strict"; | |
| var Base = function() { | |
| // dummy | |
| }; | |
| Base.extend = function(_instance, _static) { // subclass | |
| var extend = Base.prototype.extend; | |
| // build the prototype | |
| Base._prototyping = true; | |
| var proto = new this; |