μ ν΅μ TDD(Test-Driven Development)λ μ¬λμ΄ μ½λλ₯Ό μμ±νκΈ° μ μ ν μ€νΈλ₯Ό λ¨Όμ μμ±νμ¬ μ€κ³λ₯Ό κ°μ νκ³ νμ§μ ν보νλ λ°©λ²λ‘ μ΄λ€. AI μμ΄μ νΈκ° μ½λλ₯Ό μμ±νλ μλμ TDDκ° μ¬μ ν μ ν¨νμ§, μ ν¨νλ€λ©΄ μ΄λ€ ννμ¬μΌ νλμ§λ₯Ό κ²ν νλ€.
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
| { | |
| "format.enable": false | |
| } |
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 | |
| # Git post-checkout ν : μ worktree μμ± μ .serena/ μΊμλ₯Ό μλ λ³΅μ¬ | |
| # | |
| # λ¬Έμ : Serena MCPλ LSP μΈλ±μ€ μΊμλ₯Ό .serena/ λλ ν 리μ μ μ₯νλ€. | |
| # μ worktreeλ₯Ό λ§λ€λ©΄ μ΄ μΊμκ° μμ΄μ λ§€λ² μ²μλΆν° μΈλ±μ±μ΄ μμλλ€. | |
| # | |
| # ν΄κ²°: μ΄ ν μ΄ λ©μΈ worktreeμ .serena/λ₯Ό μ worktreeλ‘ μλ 볡μ¬νλ€. | |
| # claude --worktree, git worktree add λ± λͺ¨λ worktree μμ± λ°©μμ λμνλ€. | |
| # | |
| # ββββββββββββββββββββββββββββββββββββββββββββββ |
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
| # ============================================ | |
| # Ghostty Terminal - Complete Configuration | |
| # ============================================ | |
| # File: ~/.config/ghostty/config | |
| # Reload: Cmd+Shift+, (macOS) | |
| # View options: ghostty +show-config --default --docs | |
| # --- Typography --- | |
| font-family = JetBrainsMono Nerd Font |
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 { useScroll, motion, useSpring, useTransform } from "framer-motion"; | |
| import React, {useRef, useState} from "react"; | |
| const ScrollAnimations = () => { | |
| const carouselRef = useRef(null) | |
| const { scrollYProgress } = useScroll() | |
| const scaleX = useSpring(scrollYProgress) | |
| const background = useTransform( |
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
| let inputs = values | |
| .split("\n") | |
| .map((c) => c.split(" -> ").map((v) => v.split(",").map(Number))); | |
| const gameBoard = new Array(1000).fill(0).map(() => new Array(1000).fill(0)); | |
| let refinedArray = []; | |
| function isValidSegment([[x1, y1], [x2, y2]]) { | |
| if (x1 === x2) return "y"; | |
| if (y1 === y2) return "x"; | |
| return false; |
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
| const callOrder = inputs[0].split(",").map(Number); | |
| class BingoGame { | |
| #callOrder = []; | |
| #bingoBoard = []; | |
| #bingoBoardIndex; | |
| #lastCalledNumber; | |
| constructor(bingodata) { | |
| this.#setCallOrder(bingodata); |
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
| const callOrder = inputs[0].split(",").map(Number); | |
| class BingoGame { | |
| #callOrder = []; | |
| #bingoBoard = []; | |
| #bingoBoardIndex; | |
| #lastCalledNumber; | |
| constructor(bingodata) { |
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
| function rating(arr) { | |
| return (derminFn) => { | |
| let inputs = [...arr]; | |
| let index = 0; | |
| while (inputs.length > 1) { | |
| let zeroCount = 0; | |
| let oneCount = 0; | |
| const bucket = { 0: [], 1: [] }; | |
| for (const v of inputs) { |
NewerOlder