Archive: 2017

BEM Introduction-2

1. File Structure Single block = single directory. Block and directory shares name. block’s implementation is divided into separate technology files (css & js) block directory is root for subdirec

BEM Introduction-1

BEM - Key ConceptsReference to here divide UI into blocks easier interface development reusable code without copy & pasting 1. Block Represented by CLASS attribute name describes its PURPOSE Com

네임서버를 Route53으로 변경하기

route53에서 Hosted Zone을 생성한다. Domain Name에 기존 도메인명을 넣는다. 생성하면 자동으로 두개의 record가 생성된다. (NS, SOA) NS에서 볼 수 있는 밸류값들을 이용해서 도메인을 만든 곳으로 가서 네임서버를 Route53쪽으로 변경한다. 네임서버가 변경되었는지는 dns lookup 서비스 등을 이용해서 확인할 수 있

Domain & DNS

For those of you who have absolutely NO IDEA about the website url - like I was (and still partially am) - This is a simple guide. Urls are made out of protocol part and resource name part. Domains

AWS (1)

Region / Availability Zone사용자의 인스턴스들을 어느 지역의 서버 풀을 이용할것인지 정의할 수 있다. 각 지역(region)에는 여러개의 가용성 존(AZ)가 있으며, VPC 등을 여러개의 AZ에 걸쳐 설정하는 등으로 fault-tolerant한 서비스 설계가 가능하다 EC2 EC2 instance: 말 그대로 서버 인스턴스. 생성시에 운

Data Structure Study in JS (Set)

Keywords unordered, unique elements, cannot be repeated, array with no repeated elements, no concept/order Set in ECMA6https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects

Date in IE

It came across to me today that the new Date() worked differently in chrome and other browsers, namely IE and Safari. This is what happened:12345var date = new Date('2017-08-01 00:00');// in chrome =&

Data Structure Study in JS (Stack&Queue)

Keywords LIFO Stack class implementation12345678910111213141516171819202122232425262728293031323334353637383940414243444546function Stack(){ var items = []; // push - add item to the top of

Data Structure Study in JS (Array)

Keywords simplest memory DS, same data type, modified objects Creating and Initializing1) use new keyword1var testArray = new Array(); 2) []12var testArray = []; //declarevar testArray2 = ['t

AngularJS(1.x) HTTP post method & PHP

What happened? I was working on my company’s web application (CI3) and so far while I was using jQuery Ajax, I had no problem with CI method of getting POST inputs. I used the following code. 1$date