출처 Getting Started With the Node.js Connector - MariaDB Knowledge BaseGitHub - jareddlc/node-datatables: DataTables server-side script for Node.jsnode.js와 MariaDB 연결하기 (조회 테스트) - 삵 (sarc.io) Connector/Node.js Promise API - MariaDB Knowledge BaseNode.js Mysql(MariaDB) 모듈화하기 /config/db_config.js module.exports = (function() { return { host: "localhost", port : 10312, user: "root", password: "sqldb..
출처 [node.js] express - 라우터, 컨트롤러 나누기 /api/user/user.ctrl.js /* api 로직 */ let users = [ {id: 1, name: 'jinbro'}, {id: 2, name: 'jinhyung'}, {id: 3, name: 'park'} ]; let index = function(req, res) { if(!req.query.limit){ res.json(users); } else { const limit = parseInt(req.query.limit, 10); if(isNaN(limit)){ return res.status(400).end(); } res.json(users.slice(0, limit)); } }; let read = function(..
출처 2. 기초문법 · node.js 서버구축하기 함수 표현식 vs 함수 선언식 • Captain Pangyo Node.js 기초와 모듈 (내장 모듈, npm, 사용자정의 모듈) 변수 출처 : 2. 기초문법 · node.js 서버구축하기 var name; // 변수 선언 name = '홍길동'; // 변수 정의 var num2 = 3; // 변수 선언과 정의 함수 출처 : 함수 표현식 vs 함수 선언식 • Captain Pangyo 함수 선언식 - Function Declarations // 함수 선언 function funcDeclarations() { return 'A function declaration'; } funcDeclarations(); // 함수 호출 함수 표현식 - Function Ex..
출처 조대협의 블로그 :: 빠르게 훝어 보는 node.js - #14 - Passport를 이용한 사용자 인증 구축node.js - passport.js passport.initialize() middleware not in use - Stack OverflowNode.js + passport.js 를 이용한 소셜 로그인 구현 (페이스북, 깃허브, 구글)Passport를 이용한 네이버, 카카오, 페이스북 로그인 - Yun Blog | 기술 블로그 /app.js // 모듈 추가 const passport = require('passport'); const session = require('express-session'); var bodyParser = require('body-parser'); // .....
출처 Learn Rest API using Express.js and MySQL DB | Codementor Node.js 8.x 설치 $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - $ sudo apt-get install -y nodejs Node.js 버전 확인 $ node --version v8.15.0 Express 설치 $ sudo npm install -g express + express@4.16.4 added 48 packages from 36 contributors in 16.445s Express 애플리케이션 생성기 설치 $ sudo npm install express-generator -g /usr/bin/expres..
출처 NDK 10 - Android RebuildsGoogle Developers Korea Blog: Google Developers Korea Blog: 안드로이드 NDK (Native Development Kit) r14 를 소개합니다. Python 설치 $ sudo apt install python Android NDK(C/C++) 다운로드, 압축 해제 $ wget https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip $ sudo mv android-ndk-r16b-linux-x86_64.zip /opt/ $ cd /opt/ $ sudo unzip android-ndk-r16b-linux-x86_64.zip NDK 경..
출처 안드로이드 데이터베이스(DB) 프로그래밍 4. [SQLiteOpenHelper 사용 예제] (Android Database 4) DBManager.java package com.bluexmas.common; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DBManager extends SQLiteOpenHelper { private static String TAG = DBManager.class.getName(); // Database 버전 public static final int DB_VERS..
- Total
- Today
- Yesterday
- 튜닝쇼 2008
- 동경
- koba2010
- Spring MVC
- Delphi
- Spring
- Java
- 전예희
- sas2009
- ffmpeg
- 송주경
- Linux
- flex
- 서울오토살롱
- 지스타2007
- 레이싱모델 익스트림 포토 페스티벌
- SAS
- MySQL
- KOBA
- Delphi Tip
- BPI-M4
- ble
- android
- Xcode
- 일본여행
- Mac
- oracle
- ubuntu
- NDK
- JavaScript
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |