Skip to content

Instantly share code, notes, and snippets.

@hjsix2
hjsix2 / 0_reuse_code.js
Created December 13, 2016 14:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@hjsix2
hjsix2 / slack-svn.sh
Last active November 23, 2016 07:33
Subversion integration with Slack
#!/bin/bash
#
# Bash script for Subversion integration with Slack
#
# 1. Save this file in /usr/bin as slack-svn
# 2. Make it executable:
# chmod +x /usr/bin/slack-svn
# 3. Put this line at the end of file of your_svn_repo/hooks/post-commit:
# slack-svn $REPOS $REV full_path_to_svn_directory
# 4. Edit this file, especially from line 16-20 and 27 (example given is for Redmine)

Nodejs Upgrade 진행

###기존 nodejs 버전확인

  • node --version
  • nvm list (설치된 버전과 사용중인 버전 출력)

###Nodejs 업그레이드를 위해 nvm 설치

###NVM을 이용하여 Nodejs 최신버전(6.6.0) 설치

NodeJS - Package.json

name

package.json에서 가장 중요한 항복은 nameversion이다. 필수로 입력되어야 하며 이 항목들이 빠지면 당신의 패키지는 설치할 수 없다. name과 version을 통해 각 패키지의 고유성을 판별하게 된다. 따라서 패키지의 내용을 변경하려면 version을 변경해야만 한다.

규칙

  • 반드시 214자보다 짧아야 한다. 이는 scoped package의 scope를 포함한다.
  • . 이나 밑줄 _로 시작할 수 없다.
@hjsix2
hjsix2 / 094607.md
Last active June 23, 2017 01:06 — forked from marocchino/094607.md
ES6시대의 JavaScript

ES6시대의 JavaScript

안녕하세요. 사원사업부의 마루야마@h13i32maru입니다. 최근의 Web 프론트엔드의 변화는 매우 격렬해서, 조금 눈을 땐 사이에 점점 새로운 것이 나오고 있더라구요. 그런 격렬한 변화중 하나가 ES6이라는 차세대 JavaScript의 사양입니다. 이 ES6는 현재 재정중으로 집필시점에서는 Draft Rev31이 공개되어있습니다.

JavaScript는 ECMAScript(ECMA262)라는 사양을 기반으로 구현되어있습니다. 현재 모던한 Web 브라우저는 ECMAScript 5.1th Edition을 기반으로 한 JavaScript실행 엔진을 탑재하고 있습니다. 그리고 다음 버전인 ECMAScript 6th Edition이 현재 재정중으로, 약칭으로 ES6이라는 명칭이 사용되고 있습니다.