Skip to content

Instantly share code, notes, and snippets.

View bynaki's full-sized avatar
💂‍♂️
I'll be back! 👍

bynaki bynaki

💂‍♂️
I'll be back! 👍
View GitHub Profile
@bynaki
bynaki / 1517f438ba5-7ac52151.md
Last active December 17, 2015 10:38
Node.js :: Gulp :: 한단계씩 따라하며 gulp.js 익히기 - 들어가며 - gulp 설치하기

:origin:

Node.js :: Gulp :: 한단계씩 따라하며 gulp.js 익히기

사내에 gulp.js를 소개하는 강의를 준비하며 단계별로 gulp의 사용방법을 익힐 수 있도록 예제를 만들어 보았다. 아주 기초적인 부분만 짚고 있지만 처음 접하는 사람이 한단계씩 따라가다보면 기본적으로 많이 사용되는 수준까지는 어렵지 않게 도달할 수 있도록 준비했다.

들어가며

@bynaki
bynaki / 1517e9abca5-066d4673.md
Created December 7, 2015 22:42
JavaScript :: ECMAScript 6 - Introduction - ECMAScript 6 Fea

:origin:

JavaScript :: ECMAScript 6

Introduction

ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Implementation of these features in major JavaScript engines is underway now.

See the ES6 standard for full specification of the ECMAScript 6 language.

@bynaki
bynaki / 151655118f8-0c72de65.md
Created December 3, 2015 00:50
Node.js :: fs-extra - Why? - Installation - Usage - Methods

Node.js :: fs-extra

fs-extra adds file system methods that aren't included in the native fs module. It is a drop in replacement for fs.

Why?

@bynaki
bynaki / 15164cf8de0-75db5b3.md
Last active December 2, 2015 22:38
GitHub :: 웹사이트 생성 방법 - 참고 사이트
@bynaki
bynaki / 15162a5ecc4-f31f2321.md
Last active October 8, 2017 16:58
Chai - Installation - Node.js - Browser - Assertion Styles -

:origin:

Chai

Installation

Chai is available for both node.js and the browser using any test framework you like. There are also a number of other tools that include Chai.

Node.js

@bynaki
bynaki / 1515eed1dc0-f75e2bea.md
Last active May 11, 2018 06:29
npm - --save 옵션 - --save-dev 옵션

npm

--save 옵션

$ npm install github --save

만약 현재 경로에 package.json 이 존재하면 아래와 같이 dependencies 항목에 자동으로 포함된다.

npm

**** --save 옵션

@bynaki
bynaki / 1515be51de8-d345438f.md
Last active December 1, 2015 12:30
JavaScript :: Mocha - Installation - Getting Started - Synch

:origin:

JavaScript :: Mocha

Installation

Install with [npm]:

$ npm install -g mocha
@bynaki
bynaki / 1515abb8cf7-8339140a.md
Last active December 1, 2015 00:12
Node.js :: Assert - assert.fail(actual, expected, message, o

:origin:

Node.js :: Assert

이 모듈을 애플리케이션에서 유닛 테스트를 작성하는 데 사용하고 require('assert')로 이 모듈을 사용할 수 있다.

assert.fail(actual, expected, message, operator)

actual과 expected의 값을 보여주는 예외를 던진다. operator는 두 값을 무엇으로 비교했는지 표시하는 것이다. (역주, operator는 결국 Error.captureStackTrace로 넘겨지는데 무슨 역할인지 이해할 수 없음. 하지만 assert.js의 코드를 보면 모두 스트링이다. 비교하는 데 사용한 함수나 Operator 이름임)