This file contains 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
set tabstop=2 | |
set shiftwidth=2 | |
set number | |
set cursorline | |
set relativenumber | |
set foldmethod=manual | |
set termguicolors | |
set splitbelow | |
set splitright | |
set clipboard=unnamed " use OS clipboard |
This file contains 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
// AWS SDK를 이용한다. | |
const AWS = require('aws-sdk'); | |
const sns = new AWS.SNS(); | |
const codepipeline = new AWS.CodePipeline(); | |
// Lambda 함수가 실행되면 아래 함수에 파라미터가 채워져서 호출된다. | |
exports.handler = (event, context, callback) => { | |
// event 변수의 값을 확인해보기 위한 로깅 | |
console.log('EVENT--------'); | |
console.log(event); |
This file contains 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
[ | |
{ | |
"MetricName": "People", | |
"Dimensions": [{ "Name": "Gender", "Value": "All" }], | |
"Timestamp": "2018-08-15T14:00:00.000+09:00", | |
"Value": 20, | |
"Unit": "Count" | |
}, | |
{ | |
"MetricName": "People", |
This file contains 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
#!/bin/sh | |
# | |
# nginx - this script starts and stops the nginx daemin | |
# | |
# chkconfig: - 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /opt/nginx/conf/nginx.conf | |
# pidfile: /opt/nginx/logs/nginx.pid |
This file contains 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
//empty |