Do Not Think!!!

Posted
Filed under 01010101
, 10개 마다 줄 바꿈 하기

((.+, ){10})

$1\n

Posted
Filed under 01010101
방법 1
$ rm -rf ~/.gradle/caches
프로젝트가 여러개 일 경우 모두 초기화

방법 2
$ ./gradlew build --refresh-dependencies
Posted
Filed under 01010101
이전 버전
https://dont.pe.kr/tc/523


업데이트

$ sudo apt update ; sudo apt upgrade -y


zsh

$ sudo apt install zsh
$ curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
$ sudo chsh -s $(which zsh) ubuntu



vim

$ sudo add-apt-repository ppa:jonathonf/vim
$ sudo apt update
$ sudo apt install vim



java (spring boot application 실행을 위해)

$ wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
$
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
$ sudo apt update
$ sudo apt install adoptopenjdk-13-hotspot



nginx (웹서버 및 SSL 적용을 위해)

nginx 설치
$ echo "deb http://nginx.org/packages/mainline/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
$ curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
$ sudo apt-key fingerprint ABF5BD827BD9BF62
pub rsa2048 2011-08-19 [SC] [expires: 2024-06-14] 573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62 uid [ unknown] nginx signing key <signing-key@nginx.com> $ sudo apt-get update
$ sudo apt-get update
$ sudo apt-get install nginx


nginx 설정

ssl 설정

badbot blocker
https://github.com/mariusv/nginx-badbot-blocker/tree/master/VERSION_2

Posted
Filed under 01010101

brew
$ brew update
$ brew upgrade


npm
$ npm update -g
Posted
Filed under 01010101
이전 버전
https://dont.pe.kr/tc/513


업데이트

$ sudo apt update ; sudo apt upgrade -y


zsh

$ sudo apt install zsh
$ curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
$ sudo chsh -s $(which zsh) ubuntu



java (spring boot application 실행을 위해)

$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
$ sudo echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list
$ sudo apt update
$ sudo apt install zulu-8



nginx (웹서버 및 SSL 적용을 위해)

nginx 설치
$ echo "deb http://nginx.org/packages/mainline/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
$ curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
$ sudo apt-key fingerprint ABF5BD827BD9BF62
pub rsa2048 2011-08-19 [SC] [expires: 2024-06-14] 573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62 uid [ unknown] nginx signing key <signing-key@nginx.com> $ sudo apt-get update
$ sudo apt-get update
$ sudo apt-get install nginx


nginx 설정

ssl 설정

badbot blocker
https://github.com/mariusv/nginx-badbot-blocker/tree/master/VERSION_2

Posted
Filed under 01010101
http://deepoove.com/swagger-diff/

이전 버전의 API 와 신규 버전의 API 를 비교하여 변경 내용을 html 파일로 출력
$ java -jar swagger-diff.jar \
-old http://petstore.swagger.io/v2/swagger.json \
-new http://petstore.swagger.io/v2/swagger.json \
-v 2.0 \
-output-mode html > diff.html