문자열 -> json -> 문자열 var str = { "result":"0000", "site":"donnert.net" }var jsonObj = JSON.parse(str);console.log( JSON.stringify(jsonObj) ); json 신규 객체 생성 후 사용, 속성 삭제 var jsonObj = {};jsonObj ["result"] = "0000";jsonObj ["site"] = "donnert.net"; delete jsonObj.site;
다운로드$ wget http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gz--2014-01-23 14:38:20-- http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gzResolving nodejs.org... 165.225.133.150Connecting to nodejs.org|165.225.133.150|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 5472950 (5.2M) [application/octet-stream]Saving to: `node-v0.10.24-linux-x64.tar.gz' 100..
설치파일 받아서 압축을 풀자압축 해제 후 알아보기 쉽게 이름을 바꿔준다tar -xzvf mongodb-linux-x86_64-2.4.9.tgzmv mongodb-linux-x86_64-2.4.9 ~/mongodb 환경설정 파일 작성실행파일은 mongod이며 직접 실행파일 뒤에 인자를 넣어 실행 가능하다매번 그렇게 하기 귀찮으니 환경 설정 파일 및 실행파일을 작성하자cd ~/mongodb/cmdvi mongodb.conf # mongodb.conf # Where to store the data. # Note: if you run mongodb as a non-root user (recommended) you may# need to create and set permissions for this direct..
- Total
- Today
- Yesterday
- boot
- properties
- vi
- Profile
- ls
- grant
- Access
- 맛집
- Database
- Shell
- docker
- java
- jQuery
- Build
- Spring
- Kotlin
- 도커
- Eclipse
- mybatis
- 합정
- vrapper
- 코틀린
- Tomcat
- Linux
- vim
- oracle
- 톰캣
- maven
- resttemplate
- IntelliJ
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |