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
| accent: "#8b56bf" | |
| background: "#0b1c2c" | |
| details: darker | |
| foreground: "#cbd6e2" | |
| terminal_colors: | |
| bright: | |
| black: "#627e99" | |
| blue: "#aabcce" | |
| cyan: "#bf5656" | |
| green: "#223b54" |
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
| ## Docker alias - starts Docker Desktop when typing docker | |
| function Start-Docker { | |
| # Check if Docker Desktop is already running | |
| $dockerProcess = Get-Process -Name "Docker Desktop" -ErrorAction SilentlyContinue | |
| if (-not $dockerProcess) { | |
| Write-Host "Starting Docker Desktop..." -ForegroundColor Yellow | |
| Start-Process -FilePath "C:\Program Files\Docker\Docker\Docker Desktop.exe" -WindowStyle Hidden | |
| # Wait a moment for Docker to start | |
| Start-Sleep -Seconds 3 |
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
| ## Create new Excalidraw in current directory | |
| function New-File { | |
| param( | |
| [string]$FileName | |
| ) | |
| # Check if we're in a Git repository | |
| $isGitRepo = Test-Path -Path ".git" -PathType Container | |
| if ($isGitRepo) { |
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
| # Create new Excalidraw file in a "designs" folder | |
| function new_excalidraw() { | |
| local filename="${1:-diagram}" # Use 'diagram' as default if no name provided | |
| # Validate filename | |
| if [[ ! "$filename" =~ ^[a-zA-Z0-9_-]+$ ]]; then | |
| echo -e "\033[0;31mError: Filename can only contain letters, numbers, underscores, and hyphens\033[0m" | |
| return 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
| //#region: Markdown parsing utils | |
| import rehypeFormat from "rehype-format"; | |
| import rehypeStringify from 'rehype-stringify'; | |
| import remarkGfm from "remark-gfm"; | |
| import remarkParse from 'remark-parse'; | |
| import remarkRehype from 'remark-rehype'; | |
| import { unified } from 'unified'; | |
| export async function parseMarkdown(textToParseIntoMarkdown: string): Promise<unknown> { | |
| const markdownProcessor = unified() |
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
| { | |
| ... | |
| "importOrder": [ | |
| "^(.*).css$", | |
| "^react$", | |
| "<THIRD_PARTY_MODULES>", | |
| "^@components/(.*)$", | |
| "^@hooks/(.*)$", | |
| "^[./]" | |
| ], |
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
| { | |
| "compilerOptions": { | |
| "strict": true, | |
| "noUnusedLocals": true, | |
| "noUnusedParameters": true, | |
| "noImplicitAny": true | |
| } | |
| } |
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
| { | |
| "printWidth": 85, | |
| "arrowParens": "avoid", | |
| "tabWidth": 2, | |
| "singleQuote": false, | |
| "jsxSingleQuote": false, | |
| "trailingComma": "all", | |
| "bracketSpacing": true, | |
| "bracketSameLine": false | |
| } |
- API relevant changes
featCommits, that adds or remove a new featurefixCommits, that fixes a bug
refactorCommits, that rewrite/restructure your code, however does not change any API behaviourperfCommits are specialrefactorcommits, that improve performance
styleCommits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
NewerOlder