본문 바로가기
728x90
반응형

전체 글196

Chrome 브라우저 탭 기능 효율적으로 사용하기 1. 탭 고정 탭 고정 기능을 사용하면 고정한 탭은 브라우저를 닫아도 새 창을 띄울 때마다 고정되어 있습니다. 2. 탭 그룹 탭을 그룹핑하면 그룹에 속한 탭을 한 번에 접고 펼 수 있습니다. 3. Ctrl + Shift + t 실수로 보고 있던 탭을 닫았을 때, 단축키 [Ctrl + Shift + T]를 사용하면 직전에 닫은 탭을 다시 열 수 있습니다. 4. Ctrl + W 너무 많은 탭을 열어놔서 정리를 하고 싶을 때, 단축키 [Ctrl + W]를 사용하면 열려있는 탭을 손쉽게 닫을 수 있습니다. 개발할 때면 탭이 무수히 늘어나는데 위와 같이 관리한다면 깔끔해지겠죠? 저는 정말 유용하게 사용 중입니다. ^^ 2021. 2. 18.
[SpringBoot] Reactive RESTful Web Service 구축 실습 spring.io 가이드를 참조하여 WebFlux 실습을 해보겠습니다. 개념은 이전 포스팅에서 대충 끄적인 걸로 대체하겠습니다. 목표 Spring Webflux 및 해당 서비스의 WebClient consumer로 RESTful 웹 서비스를 구축 환경 Spring Boot 2.4.2 (spring 5 이상) Maven IntelliJ openjdk 11 프로젝트 생성 우선 WebFlux 프로젝트를 생성합니다. 최초 생성 시의 pom.xml 내용입니다. 4.0.0 org.springframework.boot spring-boot-starter-parent 2.4.2 com.moonsiri reactive 0.0.1-SNAPSHOT reactive Reactive RESTful Web Service 11 o.. 2021. 2. 18.
[Spring] Reactive Programming (1) - Reactor 3, WebFlux Spring WebFlux The original web framework included in the Spring Framework, Spring Web MVC, was purpose-built for the Servlet API and Servlet containers. The reactive-stack web framework, Spring WebFlux, was added later in version 5.0. It is fully non-blocking, supports Reactive Streams back pressure, and runs on such servers as Netty, Undertow, and Servlet 3.1+ containers. 5.0 버전에 추가된 스프링 웹 플럭스.. 2021. 2. 18.
잔디심기(github count contributions)를 위한 git config 파일 설정 github를 사용하면 볼 수 있는 count contributions. 일명 잔디심기. push를 하면 commit 수에 따라 색의 진하기가 다른데, 문제는 어떨 땐 표시가 되고 어떨 땐 표시가 되지 않습니다. 원인은 commit 하는 PC의 설정 문제였습니다. 저는 github 계정이 두 개가 있는데, B계정으로 A의 github에 push를 했더니 B에 잔디가 심어져 A에는 표시가 되지 않았습니다. A에 잔디를 심고 싶은데 말이죠. git 프로젝트 폴더를 들어가면 .git 이란 폴더를 확인할 수 있습니다. 더보기 프로젝트 > (우클릭) > Git Bash Here > $ git init .git 하위의 config 파일을 notepad로 오픈합니다. 여기서 push 하는 repository, git.. 2021. 2. 18.
[SpringBoot] Maven Multi-Module Project 생성 multi-module 가이드를 참조하여 Spring Boot로 멀티 모듈 프로젝트를 생성하는 스터디를 해보겠습니다. 멀티 모듈 프로젝트? 멀티 모듈 프로젝트는 기존의 단일 프로젝트를 프로젝트 안의 모듈로서 가질 수 있는 구조를 제공합니다. 장단점 장점 재사용, 공유 할 수 있다 빌드를 쉽게 할 수 있다 변경으로 인한 영향 최소화가 가능하다 의존성을 최소화한다. 목표 재사용 가능한 라이브러리를 생성하여 해당 라이브러리를 사용하여 "Hello, World" 메시지를 리턴하는 api 애플리케이션 빌드 환경 Spring Boot 2.4.2 Maven IntelliJ openjdk 11 프로젝트 생성 우선 스프링 부트 프로젝트 생성해봅니다. 모듈 생성 그다음 모듈을 생성하겠습니다. 위와 같은 방법으로 "api".. 2021. 2. 18.
[flutter] Scaffold.of() called with a context that does not contain a Scaffold. 해결방법과 Copy to clipboard on tap Text를 탭하면 해당 Text를 클립보드에 복사하면서 스낵바를 출력하려고 합니다. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class CopyScreen extends StatefulWidget { @override State createState() { return CopyStateScreen(); } } class CopyStateScreen extends State { String code = '007'; @override Widget build(BuildContext context) { return WillPopScope( onWillPop: () { return Future(() => fals.. 2021. 2. 6.
[java] Enum Hierarchy(계층 구조) getChildren, getParent 간단한 계층 구조 구현을 위해 Enum을 활용할 수 있습니다. @Getter public enum EnumHierarchy { A("에이", null), AA("에이에이", A), AB("에이비", A), AC("에이씨", A), ACA("에이씨에이", AC), ACB("에이씨비", AC), AD("에이디", A), B("비", null), C("씨", null), D("디", null), DA("디에이", D), ; private String name; private EnumHierarchy parent; private List children = new ArrayList(); EnumHierarchy(String name, EnumHierarchy parent) { this.name = name; t.. 2021. 2. 2.
[Javascript] html 화면 PDF다운로드 (jspdf.js, html2canvas.js) 필요한 js파일 다운로드합니다. jspdf : html, 이미지, canvas 객체를 pdf로 변환해주는 라이브러리 html2canvas : html 객체를 canvas로 변환해주는 라이브러리 pdf다운로드 [Reference] blog.naver.com/myh814/221553091221 https://devheedoo.github.io/posts/save-html-to-pdf/ 2021. 1. 18.
[SpringBoot] JWT 설명 및 생성, 검증 JWT JWT는 JSON Web Token의 줄임말입니다. JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA. JWT는 웹 표준.. 2021. 1. 18.
[SpringBoot] Thymeleaf layout dialect (thymeleaf 레이아웃 적용하기) thymeleaf layout SpringBoot에 thymeleaf 템플릿 엔진 레이아웃을 적용해보겠습니다. [SpringBoot] Thymeleaf 설정 및 Thymeleaf HTML Code(th element) 사용법 우선 pom.xml에 dependency를 추가해줍니다. nz.net.ultraq.thymeleaf thymeleaf-layout-dialect 2.4.1 이어서 templateEngine에 layout dialect를 추가해줍니다. @Bean @Description("Thymeleaf Template Engine") public SpringTemplateEngine templateEngine() { SpringTemplateEngine templateEngine = new Spri.. 2021. 1. 17.
728x90
반응형