본문 바로가기

secondMemory

[Angular] Angular Input disabled 방법 https://stackoverflow.com/questions/42179150/how-to-disable-a-input-in-angular2/43765804
[Node.js] Typescript용 Controller(Like a Spring MVC) 3가지 1. tsoa - https://github.com/lukeautry/tsoa2. Trafficlight - https://github.com/swimlane/trafficlight3. routing-controllers - https://github.com/typestack/routing-controllers4. nest.js(추가함) - https://nestjs.com/셋 중에 난 3번 routing-controllers를 선택했다. star도 많고 코드가 제일 깔끔해보였다. 그리고 이미 typedi하고 연계를 잘 해놔써 typedi를 쓰는 내가 선택할 건 3번 뿐이긴 했다. 혹시나 DI 중에 inversify를 사용한다면 1번 tosa도 고려해볼만 하다. swagger도 지원되고 좋은 듯 싶다. ..
[Angular] Grid Layout component 1. https://github.com/envyN/ngx-widget-grid2. https://github.com/swiety85/angular2gridster3. https://github.com/lunzhang/ng2-grid4. https://github.com/BTMorton/angular2-grid5. https://tiberiuzuld.github.io/angular-gridster2 Javascript Library1. GridStack - http://gridstackjs.com/ 2. gridster.js - https://dsmorse.github.io/gridster.js/#demos 3. Muuri - https://haltu.github.io/muuri/ 4.
[IntelliJ] 작업 중인 메소드명 아니면 클래스명 보기 단축키 Alt + Q를 누르면 커서가 있는 위치의 메소드명이나 클래스명이 나오는 단축키. 커서가 메소드 안에 있으면 메소드명이 먼저 보여지고 한 번 더 누르면 클래스명이 나온다. 커서가 메소드 밖 클래스 안에 있으면 클래스명이 먼저 나온다.
[macOS] TCP Tester Packet Sender Packet Sender ( https://packetsender.com )윈도우용은 상용도 많고 좋은 툴도 많은 듯 싶은데 맥용으로는 별로 없는 것 같다. (윈도우용으로는 상용이지만 Docklight 짱짱맨) 그 중에 맥에서 써본 것 중에 이게 제일 좋은 것 같다. TCP뿐만 아니라 UDP, SSL, IPv6까지 지원한다. 당연히 데이터를 보내고 받을 수 있다. 그리고 개인적으로 가장 장점으로 생각되는 건 크로스 플랫폼!!!! 요즘엔 맥용은 있어도 리눅스용은 거의 없는... 실정이라 크로스플랫폼인 게 반갑고 고맙다 ㅎㅎ;;메인 화면 실행화면
[IntelliJ] 영역 선택? 같은 값을 여러 개 수정할 때 노가다를 좀 줄이자. Alt + Mouse Drag를 하면 아래 스샷처럼 한 영역만 선택하여 수정할 수 있다. 같은 값이 여러 개 일 때 수정이 편하다. 그 상태에서 위 아래 움직이는 것도 가능하고 해제하고 싶으면 다른데를 클릭하면 된다.
ssh-agent 자동 실행 쉘 여기 참고!https://gist.github.com/alexras/1291631
[Docker] 실행 중이지 않은 Container 삭제하기 docker rm $( docker ps -f status=exited -q ) 일케!!
[Docker] daemon.json 파일 위치 Linux /etc/docker/daemon.json OSX /Users/사용자명/.docker/daemon.jsonRegistry push하는데 insecure-registries를 추가해줘야 해서 찾았는데 안 보여서 검색해보니 저기에 있었다; 내용은 아래와 같이 채우면 된다. { "debug" : true, "experimental" : true, "insecure-registries": ["URL"] }
[Gradle] Test 제외하고 Build하기 gradle build -x test 출처 : https://stackoverflow.com/questions/4597850/gradle-build-without-tests
[Momentjs] format 이것도 스프링 Query Method처럼 참고용으로 올려놓는다. 은근 자주 쓰는데 잊어먹어서..ㅠㅠ TokenOutputMonthM1 2 ... 11 12Mo1st 2nd ... 11th 12thMM01 02 ... 11 12MMMJan Feb ... Nov DecMMMMJanuary February ... November DecemberQuarterQ1 2 3 4Qo1st 2nd 3rd 4thDay of MonthD1 2 ... 30 31Do1st 2nd ... 30th 31stDD01 02 ... 30 31Day of YearDDD1 2 ... 364 365DDDo1st 2nd ... 364th 365thDDDD001 002 ... 364 365Day of Weekd0 1 ... 5 6do0th 1s..
[Spring] Data Query Method 쿼리 메소드. 쿼리 자동 생성. 자주 참고하는 거라 따로 발췌해서 저장한다.출처: https://docs.spring.io/spring-data/jpa/docs/current/reference/html/ Table 4. Supported keywords inside method names Keyword Sample JPQL snippet And findByLastnameAndFirstname … where x.lastname = ?1 and x.firstname = ?2 Or findByLastnameOrFirstname … where x.lastname = ?1 or x.firstname = ?2 Is,Equals findByFirstname,findByFirstnameIs,findByFirstname..