ssh-add --apple-use-keychain ~/.ssh/id_ed25519
The Snippets page is a curated of useful code snippets gathered from various sources.
git log --graph --pretty="%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset"
git rm -rf --cached .git add .
code { counter-reset: step; counter-increment: step 0;}
code .line::before { /* Style individual code line */ content: counter(step); counter-increment: step; margin-right: 1.5rem; /* Margin between line number and actual code element */}
code { counter-reset: step; counter-increment: step 0;}
code .line::before { /* Style individual code line */ content: counter(step); counter-increment: step; margin-right: 1.5rem; /* Margin between line number and actual code element */}
const ProgressStep = (step: Step) => ({ current: <CurrentComponent step={step} />, complete: <CompleteComponent step={step} />, upcoming: <UpcomingComponent step={step} />,})
const ProgressNav = ({ steps }) => { return ( <nav aria-label="Progress"> <ol role="list"> {steps.map((step, index) => ( <li key={index}>{ProgressStep(step)[step.status]}</li> ))} </ol> </nav> )}