전체 글 573

Ubuntu - 16.04 hangul setup

ref : http://hochulshin.com/ubuntu-1604-hangul/ Ubuntu - 16.04 한글 설정 2016-07-02 ubuntu 기본으로 설치시 English만 설치되었다고 가정하고 한글 설치와 한영 전환 설정하는 것을 어떻게 하는지 알아보자. 한글 설치 sudo apt-get install fcitx-hangul로 한글을 설치한다. System Settings > Language Support를 실행해서 아직 완전히 설치되지 않다고 표시되는데 잠시 기다려서 모두 설치한다. Keyboard input method system:을 ibus가 아닌 fcitx로 변경한다. 재부팅한다. 한영 전환 설정 Shortcut 설정 AllSettings > Keyboard > Shortcuts..

unix 2018.02.07

펌: 2015/10/28/ES6-compare-ES5/ 기존에 익숙하게 사용하던 ES5 Javascript 와 ES6 비교

가끔 require 나 import 가 언제부터 쓰이기 시작했는지가 궁금한 사람이라면....아래 블로그를 참조해보세요... 출처 : http://lainfox.github.io/dev/2015/10/28/ES6-compare-ES5/ 일단 허락없이 아래 카피함...기존에 익숙하게 사용하던 ES5 Javascript 와 ES6 비교Oct 28, 2015 1 minute read이 문서는 지속적으로 업데이트 될 예정입니다.2015년 6월 ES6 최종 스팩이 승인되었습니다. 크롬과 파이어폭스에서는 쉽게 ES6 을 사용할 수 있지만 다른 브라우저는 babel, traceur, es6-shim등을 이용해야 합니다. (추후 업데이트)변수 선언 var vs letES6 에서 사용하는 변수 선언. ES5 에서 사용하던..

프로그램/script 2018.02.05

javascript : Array.prototype.slice and splice

Array.prototype.slice and splice 자주 안써서 햇갈릴수 있는 함수.... ^^ slice : The slice() method returns a shallow copy of a portion of an array into a new array object selected from begin to end (end not included). The original array will not be modified. splice : The splice() method changes the contents of an array by removing existing elements and/or adding new elements original array was modified...----..

프로그램/script 2018.01.25

mobile app개발시 cors enable , same origin policy 극복하기

mobile api를 개발하거나, json api proxy가 필요한경우 고민하지 말고 아래의 솔루션을 이용하자. $ sudo npm install -g cors-proxy-serverPassword:/usr/local/bin/cors-proxy-server -> /usr/local/lib/node_modules/cors-proxy-server/index.js+ cors-proxy-server@1.0.2added 5 packages in 2.018s $ $ cors-proxy-server [Mon Dec 04 2017 10:56:56 GMT+0900 (KST)] - CORS Proxy Server started on 0.0.0.0:9090 이제 아래와 같이 접속 어디든 접속 가능하다. http://loc..

프로그램/script 2017.12.04