This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function (a, b) { | |
| if ( ! b) { | |
| return a; | |
| } | |
| return gcd(b, a % b); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*eslint no-console: 0*/ | |
| import React from 'react' | |
| import Match from 'react-router/Match' | |
| import Miss from 'react-router/Miss' | |
| import Link from 'react-router/Link' | |
| import Redirect from 'react-router/Redirect' | |
| import Router from 'react-router/BrowserRouter' | |
| import { createStore, combineReducers, applyMiddleware } from 'redux' | |
| import { Provider, connect } from 'react-redux' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script | |
| src="https://code.jquery.com/jquery-3.2.0.min.js" | |
| integrity="sha256-JAW99MJVpJBGcbzEuXk4Az05s/XyDdBomFqNlM3ic+I=" | |
| crossorigin="anonymous"> | |
| </script> | |
| <style> | |
| .draggable { | |
| cursor: move; | |
| } | |
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Cordova + Html/CSS/Js + UI framework(jQuery.template or Handlebar.js) | |
| 장점 | |
| - 기존 개발자들에게 편함 | |
| - Cordova를 사용하면 Build가 편함 | |
| 단점 | |
| - 성능이 좋지 않음 | |
| - Livereload 개발이 어려움 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ``` | |
| git config --global user.email "you@example.com" | |
| git config --global user.name "Your Name" | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| App = Ember.Application.create(); | |
| App.ApplicationRoute = Ember.Route.extend({ | |
| model: function() { | |
| return DATA; | |
| } | |
| }); | |
| App.PieChartComponent = Ember.Component.extend({ | |
| tagName: 'svg', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.js"></script> | |
| <script src="http://builds.emberjs.com/canary/ember.prod.js"></script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ####command | |
| - \list : list all database | |
| - \dt : list table of current database |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| TABLE_NAME, | |
| COLUMN_NAME, | |
| CASE DATA_TYPE | |
| WHEN 'NUMBER' THEN DATA_TYPE || '(' || DATA_PRECISION || ',' || DATA_SCALE || ')' | |
| WHEN 'DATE' THEN DATA_TYPE | |
| WHEN 'VARCHAR2' THEN DATA_TYPE || '(' || DATA_LENGTH || ')' | |
| ELSE DATA_TYPE | |
| END | |
| DATA_TYPE, NULLABLE, DATA_DEFAULT, COLUMN_ID FROM ALL_TAB_COLUMNS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open browser console | |
| var content = document. querySelector('article'); | |
| var body = document.querySelector('body'); body.innerHTML = ''; | |
| body.appendChild(content); | |
| and print |