This file contains hidden or 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
| -- SQL_TEST_001 | |
| -- 전체 축구팀 목록. 이름 오름차순 | |
| SELECT TEAM_NAME | |
| FROM TEAM | |
| ORDER BY TEAM_NAME | |
| ; | |
| -- SQL_TEST_002 | |
| -- 포지션 종류(중복제거,없으면 빈공간) |
This file contains hidden or 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
| routes: | |
| - id: user-register-service | |
| uri: lb://user-service | |
| predicates: | |
| - Path=/register/** | |
| filters: | |
| - RewritePath=/register/(?<segment>.*), /auth/$\{segment} | |
| - id: user-public-service | |
| uri: lb://user-service | |
| predicates: |
This file contains hidden or 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
| services: | |
| zookeeper: | |
| image: wurstmeister/zookeeper:latest | |
| container_name: zookeeper | |
| ports: | |
| - “2181:2181” | |
| hostname: zookeeper | |
| networks: | |
| - toeicdoit-net | |
| restart: always |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: toeicdoit-service | |
| labels: | |
| app: toeicdoit-service | |
| spec: | |
| type: LoadBalancer | |
| ports: | |
| - name: gateway |
This file contains hidden or 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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: toeicdoit-deployment | |
| labels: | |
| app: toeicdoit | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
This file contains hidden or 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
| pipeline { | |
| agent any | |
| environment { | |
| PUSH_VERSION = "1.0" | |
| COMPOSE_TAGNAME = 'toeicdoit' | |
| services = "gateway,eureka,user,chat,tx,toeic" | |
| } | |
This file contains hidden or 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
| package com.bitcamp.api.lab; | |
| import java.util.*; | |
| import java.util.stream.*; | |
| /** | |
| Primitive 타입의 경우에 다른 결과를 보입니다. | |
| Stream.of 는 Stream<int[]> | |
| Arrays.stream 은 IntStream 을 반환합니다. | |
| * */ | |
| public class ListOfIsGood { |
This file contains hidden or 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
| package matrixTest; | |
| public class Gugudan { | |
| public static void main(String[] args) { | |
| int i = 0, j = 0; | |
| for(i = 1; i< 10; i++){ | |
| for( j = 2; j < 6; j++){ | |
| System.out.printf(" %3d * %d = %3d ", j, i, i*j); | |
| } |
This file contains hidden or 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
| import requests as req | |
| import json | |
| import pandas as pd | |
| from bs4 import BeautifulSoup as bs | |
| def scrap(): | |
| url = 'https://comment.daum.net/apis/v1/posts/149513756/comments?parentId=0&offset=10&limit=30&sort=RECOMMEND&isInitial=false&hasNext=true' | |
| res = req.get(url) | |
| movie_code = '149761585' | |
| count_url = f"https://comment.daum.net/apis/v1/comments/on/{movie_code}/flags" | |
| count_res = req.get(count_url) |
NewerOlder