현재 개발 중인 서버에 ssh 접속 후 코드 수정
주의사항
- 개발, 운영 서버의 DB 정보도 꼭 확인한다.
{ | |
"repository" : { | |
"type" : "svn", | |
"url" : "svn:" | |
}, | |
"engines" : { | |
"node" : ">=6.10.0", | |
"npm" : "~3.10.10" | |
}, | |
"os" : ["linux"] |
const assert = require('assert') | |
let regex = /^(\+?81|0)\d{1,4}[ \-]?\d{1,4}[ \-]?\d{4}$/ | |
let ok = ['01052218714']; | |
describe('Phone', () => { | |
it('Ok!', () => { | |
for( let num of ok) { | |
let result = regex.test(num); | |
console.log(result) |
FROM node:6.10.0 | |
MAINTAINER SangHakLee <code.ryan.lee@gmail.com> | |
# /home/dev 를 작업 디렉토리로 설정 | |
RUN mkdir -p /home/dev | |
RUN npm install -g pm2 | |
WORKDIR /home/dev |
Q. 새로운 팀은 indent를 space로 한다. 내 코드는 tab인 상황에 어떻게 해야 할까?
A. retab
Infra dev team 이상학
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
if ( ! function_exists('console')){ | |
function console($str){ | |
return "<script>console.log('".$str."')</script>"; | |
} | |
} |
I Want to make a complex row table with datatables.js When I merged table's rows, datables.js wasn't working
A Pen by Sanghak,Lee on CodePen.