Skip to content

Instantly share code, notes, and snippets.

View cnaa97's full-sized avatar

Junho Park cnaa97

View GitHub Profile
@stevecastaneda
stevecastaneda / CSSTransition.tsx
Last active August 9, 2022 21:54
CSSTransition component (Typescript). This one allows you use TransitionGroup with Tailwind, animating in a list of items.
import React, { ReactNode } from "react";
import { CSSTransition as ReactTransition } from "react-transition-group";
interface TransitionProps {
in?: boolean;
timeout: number;
enter?: string;
enterFrom?: string;
enterTo?: string;
leave?: string;

LCHF

저탄수화물 고지방 식이요법 - 저탄고지

세줄요약

  1. 탄단지 비율은 1:2:7 (1500kcal 기준, 37g:73g:113g)
  2. 배가 고플때 배부르게 먹는다.
  3. 좋은 지방을 챙겨먹는다.
@niksumeiko
niksumeiko / git.migrate
Last active April 25, 2024 04:04
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
### Step 1. Make sure you have a local copy of all "old repo"
### branches and tags.