Skip to content

Instantly share code, notes, and snippets.

View yamoo9's full-sized avatar
πŸŽ“
Blended Learning

야무 yamoo9

πŸŽ“
Blended Learning
  • Mentor of E.UID
  • South korea
  • X @yamoo9
View GitHub Profile
@yamoo9
yamoo9 / thunder-collection_DummyJSON-API.json
Created July 14, 2025 19:09
Thunder Client μ½œλ ‰μ…˜ - DummyJSON API
{
"clientName": "Thunder Client",
"collectionName": "DummyJSON API",
"collectionId": "193db17a-7a2c-4d60-b975-56eb254bad93",
"dateExported": "2025-07-14T19:06:22.745Z",
"version": "1.2",
"folders": [],
"requests": [
{
"_id": "4bb48847-62b7-4ae9-a433-bbd1f9cd4192",
@yamoo9
yamoo9 / Product.css
Created June 26, 2024 16:42
Product & ProductList μŠ€νƒ€μΌλ§
@layer components {
.Product {
--padding: 8px;
--round: 4px;
--border-weight: 0.5px;
--gap: 12px;
--color: 200, 15%, 42%;
--border-color: hsla(var(--color), 0.3);
--background-color: color-mix(in srgb, hsl(var(--color)) 2%, white 100%);
@yamoo9
yamoo9 / avatars.json
Last active June 25, 2024 20:08
Avatar 리슀트 데이터
[
{
"id": "avatar-1",
"filename": "man-01",
"ext": "jpg",
"name": "λ°•μ„±μ€€",
"isOnline": false
},
{
"id": "avatar-2",
@yamoo9
yamoo9 / search-form.html
Created June 25, 2024 18:35
검색 폼 HTML λ§ˆν¬μ—…
<form method="get" action="/search">
<img src="search.png" alt="돋보기">
<br>
<label>
검색어
<input name="term" type="search">
</label>
<button type="submit">검색</button>
</form>
@yamoo9
yamoo9 / globals.css
Created June 23, 2024 12:07
κΈ€λ‘œλ²Œ μŠ€νƒ€μΌ 파일
:root {
--primary-rgb: 8, 126, 164;
--primary-rgba: var(--primary-rgb), 1;
--forground-rgb: 10, 24, 48;
--forground-rgba: var(--forground-rgb), 1;
--background-rgb: 200, 245, 255;
--background-rgba: var(--background-rgb), 0.3;
--inner-space: 8px 16px;
--spacing: 4px;
--rounded: 4px;
@yamoo9
yamoo9 / react-logo.svg
Created June 18, 2024 08:17
React 둜고 (2023) SVG 파일
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yamoo9
yamoo9 / bundleCSS.js
Created July 6, 2023 02:08
CSS λ²ˆλ“€λ§ ν”„λ‘œκ·Έλž¨ (Node.js)
import { readFile, writeFile } from 'node:fs/promises';
import { existsSync, mkdirSync } from 'node:fs';
import { resolve } from 'node:path';
import { argv } from 'node:process';
const { cssDir, entryFile, outDir, outFile } = parseOptions();
const CSS_DIR = cssDir ?? 'src';
const ENTRY_FILE = entryFile ?? 'main.css';
const OUTPUT_DIR = outDir ?? 'styles';
@yamoo9
yamoo9 / _mixins.scss
Created September 5, 2022 07:37
font 믹슀인 μ˜ˆμ‹œ
@use "sass:meta" as *;
@use "sass:list";
@use "sass:string";
@function get-value($props, $key) {
$index: list.index($props, $key);
@if $index != null {
$value: list.nth($props, $index + 1);
@return if(type-of($value) != string, $value, string.unquote($value));
} @else {
@yamoo9
yamoo9 / validator.js
Last active January 3, 2022 00:04
폼 μœ νš¨μ„± 검사 μœ ν‹Έλ¦¬ν‹° - validator
/* eslint-disable no-useless-escape */
/* -------------------------------------------------------------------------- */
// 아이디 체크 μœ ν‹Έλ¦¬ν‹°
// β–Έ 5 ~ 20자 β€” 영문, 숫자 μ‘°ν•©
/* -------------------------------------------------------------------------- */
export const isId = (value, { min = 4, max = 19 } = {}) => {
const regExp = new RegExp(`^[a-z]+[a-z0-9]{${min},${max}}$`, 'g');
return regExp.test(value);
@yamoo9
yamoo9 / focusOrTabbable.js
Last active December 22, 2021 22:42
focusable λ˜λŠ” tabbable ν•  수 μžˆλŠ” HTML μš”μ†Œ 검사 및 리슀트 λ°˜ν™˜ μœ ν‹Έλ¦¬ν‹°
/* -------------------------------------------------------------------------- */
/* FOCUSABLE (tabindex="-1" 포함) */
/* -------------------------------------------------------------------------- */
const focusableSelector = `
a[href],
area[href],
button,
input,
select,