본문 바로가기
반응형

Linux20

[NodeJS] nodejs에서 utf-8로 응답하기 nodejs에서 utf-8로 응답하기 response의 writeHead부분에 charset을 추가해주면 됩니다. example app.get('/', function(req, res){ //req.session.message = 'Hello World'; res.writeHead(200, {'Content-Type': 'text/html; charset=utf-8'}); res.write("welcome입니다"); res.end();}); 2014. 12. 20.
[RaspberryPI] 라즈베리파이에 몽고DB 설치 하는 방법 Raspberry Pi MongoDB Installation – The working guide!위의 링크 ㄱㄱ싱. 해당 링크가 사망하였습니다..(2018.04) 위의 글에서는 약 4시간 정도 걸린다고하였습니다... 하지만 저는! 9시간은 족히 걸린듯..........ㅠ; 위의 글을 순차적으로 따라하면 쉽게 설치하실수 있습니다. 2개의 scon명령을 때려줄때 오래걸리니 기다리지 마시고 다른일 보시다 확인하시면 됩니다. 2014. 12. 20.
[NodeJS] 라즈베리파이 nodejs설치하기 [NodeJS] 라즈베리파이 nodejs설치하기 출처http://pyrasis.com/nodejs/nodejs-HOWTO 제가 라즈베리파이에 올린 os는 Raspbian입니다. 소스 컴파일 방법입니다.~$ wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz~$ tar vxzf node-v0.10.28.tar.gz~$ cd node-v0.10.28~/node-v0.10.28$ ./configure~/node-v0.10.28$ make~/node-v0.10.28$ sudo make install 다음은 apt-get을 이용한 인스톨방법입니다.$ sudo apt-get install nodejs$ sudo apt-get install npm 요즘은 nodej.. 2014. 12. 19.
GDB & LLDB command GDB & LLDB commandhttp://lldb.llvm.org/lldb-gdb.html 2014. 4. 25.
반응형