Skip to content

Instantly share code, notes, and snippets.

View mijinB's full-sized avatar
๐Ÿฏ

BAEK MIJIN mijinB

๐Ÿฏ
View GitHub Profile
@mijinB
mijinB / pathPattern.ttx
Created May 12, 2025 00:40
PathPattern ๊ณต์‹ ๋ฌธ์„œ
# https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/util/pattern/PathPattern.html
๐Ÿ“ŒPathPattern ๊ณต์‹๋ฌธ์„œ
? ํ•œ ๋ฌธ์ž ์ผ์น˜
* ๊ฒฝ๋กœ(/) ์•ˆ์—์„œ 0๊ฐœ ์ด์ƒ์˜ ๋ฌธ์ž ์ผ์น˜
** ๊ฒฝ๋กœ ๋๊นŒ์ง€ 0๊ฐœ ์ด์ƒ์˜ ๊ฒฝ๋กœ(/) ์ผ์น˜
{spring} ๊ฒฝ๋กœ(/)์™€ ์ผ์น˜ํ•˜๊ณ  spring์ด๋ผ๋Š” ๋ณ€์ˆ˜๋กœ ์บก์ฒ˜
{spring:[a-z]+} matches the regexp [a-z]+ as a path variable named "spring"
{spring:[a-z]+} regexp [a-z]+ ์™€ ์ผ์น˜ํ•˜๊ณ , "spring" ๊ฒฝ๋กœ ๋ณ€์ˆ˜๋กœ ์บก์ฒ˜
{*spring} ๊ฒฝ๋กœ๊ฐ€ ๋๋‚  ๋•Œ ๊นŒ์ง€ 0๊ฐœ ์ด์ƒ์˜ ๊ฒฝ๋กœ(/)์™€ ์ผ์น˜ํ•˜๊ณ  spring์ด๋ผ๋Š” ๋ณ€์ˆ˜๋กœ ์บก์ฒ˜
@mijinB
mijinB / forMapFilterReduce.js
Last active November 11, 2024 07:31
230623_javascript_study
function printArr(array) {
//***1. arr ์„ ์ถœ๋ ฅํ•œ๋‹ค.(๋‹จ, ์ค‘๋ณต๋˜๋Š” ๊ฐ’์˜ ๊ฒฝ์šฐ ํ•˜๋‚˜๋งŒ ํ‘œ์ถœํ•œ๋‹ค.)***
const uniqueArr = [...new Set(array)];
console.log(`1. unique array : ${uniqueArr}`);
//***2. arr ์„ ์ถœ๋ ฅํ•˜๋Š”๋ฐ n ์ด '์ง์ˆ˜' ์ด๋ฉด n์„ ์ œ๊ณฑํ•œ ๊ฐ’์œผ๋กœ, 'ํ™€์ˆ˜' ์ด๋ฉด 1000์„ ๋”ํ•œ ๊ฐ’์œผ๋กœ ์ถœ๋ ฅํ•˜๋ผ.***
@mijinB
mijinB / main.dart
Created April 16, 2023 18:37
challenge_movieflix
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_rating_bar/flutter_rating_bar.dart';
import 'package:http/http.dart' as http;
import 'package:url_launcher/url_launcher_string.dart';
void main() {
runApp(const MovieFlix());
}
@mijinB
mijinB / main.dart
Created April 13, 2023 16:40
pomodoro challenge
import 'dart:async';
import 'package:flutter/material.dart';
void main() {
runApp(const PomoTimer());
}
class PomoTimer extends StatelessWidget {
const PomoTimer({super.key});
@mijinB
mijinB / main.dart
Created April 11, 2023 13:26
UI Clone Challenge_mijinBaek
import 'package:flutter/material.dart';
void main() {
runApp(const UiClone());
}
class UiClone extends StatelessWidget {
const UiClone({super.key});
@override