Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps.
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
| /* | |
| * Copyright 2024 graceful-martin | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
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
| /* | |
| * Copyright 2024 graceful-martin | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
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
| @Configuration | |
| @EnableConfigurationProperties(BatchProperties.class) | |
| public class BatchConfig { | |
| // batchDatasource 사용을 위한 수동 빈 등록 | |
| @Bean | |
| @ConditionalOnMissingBean | |
| @ConditionalOnProperty(prefix = "spring.batch.job", name = "enabled", havingValue = "true", matchIfMissing = true) | |
| public JobLauncherApplicationRunner jobLauncherApplicationRunner(JobLauncher jobLauncher, JobExplorer jobExplorer, | |
| JobRepository jobRepository, BatchProperties properties) { |
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
| use kobis_db; | |
| /* | |
| 1. 영화 정보중 영문 제목이 없는 데이터를 조회하는 SQL문을 작성해 보세요. | |
| [관련내용] NULL 함수, TRIM 함수, LEN 함수 | |
| 2. 한국 영화중 2001년도에 개봉한 영화 중 액션 영화를 조회하는 SQL문을 작성해 보세요. | |
| [관련내용] LIKE 조건 | |
| 3. 싸이더스가 2020년도에 개봉한 영화 감독의 출생년도를 조회하는 SQL를 작성해 보세요. | |
| [관련내용] IN 조건 | |
| 4. 영화인 정보에서 직업을 중복없이 조회하는 SQL문을 작성해 보세요. |
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
| insert into zerobase_member (name, email, mobile_no, password, marketing_yn, register_date) | |
| values ('KSW', | |
| 'test@test.com', | |
| '01011234456', | |
| '', | |
| true, | |
| now()); | |
| alter table zerobase_member | |
| add constraint primary key pk_zerobase_member (email); |
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 Practice.AdditionalHW; | |
| import java.math.BigDecimal; | |
| import static java.math.BigDecimal.ROUND_UNNECESSARY; | |
| /** | |
| * 제로베이스 백엔드 5기 강상우(edd1e-dev.git) | |
| * comment: JDK 9+ 부터는 일반적인 String도 StringBuilder 처리되어서 동작함. | |
| */ |
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 java.util.Scanner; | |
| /** | |
| * 제로베이스 백엔드 5기 강상우(edd1e-dev.git) | |
| * comment: Nothing | |
| */ | |
| public class HW1 { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); |
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
| #!/bin/bash | |
| COMMIT_COUNT=20 | |
| if [ -z $1 ] | |
| then | |
| read -rsp $'Usage: ./grass.sh [N]\n' | |
| exit 1 | |
| fi |
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 java.util.*; | |
| /** | |
| * 제로베이스 백엔드 5기 강상우(edd1e-dev.git) | |
| * comment: 유지보수가 주기적으로 발생하는 로직이라는 전제로, Magic Number를 없애기 위해 배열이 아닌 enum으로 정의하였습니다. | |
| */ | |
| public class Q8 { | |
| enum Boundary { | |
| FIRST(0), | |
| SECOND(12_000_000), |
NewerOlder