Skip to content

Instantly share code, notes, and snippets.

뛰어난 소프트웨어 엔지니어에게 배운 10가지 교훈.

https://twitter.com/svpino/status/1541753295529660417?s=20&t=Qjknh_S6Mb3vdYx481g0RA

1. 빠른 것이 좋은 것보다 낫다

많은 사람들이 너무 오래 기다립니다. 많은 사람들이 지나치게 생각합니다. 그들은 처음부터 일을 바로 잡는 데 중점을 둡니다. 이것은 실수입니다. 대부분의 경우 "충분히 좋은 것"만 있으면 됩니다.

2. 기술 부채를 두려워하지 마십시오.

#!/bin/bash
# sudo apt install neovim universal-ctags
sudo yum install neovim universal-ctags -y
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
mkdir -p ~/.config/nvim
curl -L -o ~/.config/nvim/init.vim https://gist.githubusercontent.com/cdecl/11e3fc10e6e112fb7a9909593732fe91/raw/init.vim
call plug#begin('~/.vim/plugged')
Plug 'preservim/nerdtree'
Plug 'preservim/tagbar'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'vim-airline/vim-airline'
Plug 'frazrepo/vim-rainbow'
Plug 'arcticicestudio/nord-vim'
Plug 'tpope/vim-fugitive'
from diagrams import Diagram, Cluster, Dict
from diagrams.onprem.database import MSSQL
from diagrams.onprem.monitoring import Grafana
from diagrams.onprem.ci import Jenkins
from diagrams.onprem.vcs import Gitlab
from diagrams.onprem.compute import Server
from diagrams.ibm.security import Firewall
from diagrams.aws.compute import EC2
from diagrams.aws.database import RDS, DB
{
"Link Color" : {
"Red Component" : 0.38039215686299999,
"Color Space" : "Calibrated",
"Blue Component" : 0.93725490196100003,
"Alpha Component" : 1,
"Green Component" : 0.68627450980399995
},
"Tags" : [

DevOps Study

Linux

Connect via SSH

  • SSH (Secure Shell) 란?
    • SSH Key 란?
    • Public Key / Private Key 역할 구분 : rsa 암호방식 이해
  • SSH 통한 원격 접속 방법
#!/bin/bash
URI="$1"
NAME="$2"
TAG="$3"
if [[ -z "$URI" ]]; then
echo "Usage: $0 <URI> <NAME> [<TAG>]"
exit -1
fi
@cdecl
cdecl / elasticsearch_queryresult_ndjson.sh
Last active June 24, 2021 08:11
elastic search sql query result to json(ndjson)
#!/bin/bash
cat result.json | jq -c ' { "col": [.columns[] | .name], "row" : .rows[] }
| [.col, .row]
| transpose
| map({ (.[0]): .[1] })
| add ' >
import sys
import re
import json
# get description
def get_desc(line):
desc = {}
reg = re.compile(r'([\w]+[ \n]+)')
mat = reg.findall(line)
for m in mat:
#!/bin/sh
#
# [ITSERVICE-44375]
# 작업 내용 : 캠핑 이용일별예약자내역 캠핑 좌석번호 미노출 오류 수정 작업 건 관련 sp : 없음
echo "============================================================="
grep -E '\[[A-Za-z0-9]{2,}-[0-9]{2,}\]' $1 > /dev/null
if [ "$?" -eq 0 ]; then