Skip to content

Instantly share code, notes, and snippets.

View berniefitz82's full-sized avatar
🏡
Coding

Bernie FitzGerald berniefitz82

🏡
Coding
View GitHub Profile
@berniefitz82
berniefitz82 / PlayingCard.jsx
Created February 28, 2023 00:34
Playing Card React Functional Component
import { useState, useEffect, useRef } from "react";
import {
BsFillSuitHeartFill,
BsFillSuitClubFill,
BsFillSuitSpadeFill,
BsFillSuitDiamondFill,
} from "react-icons/bs";
import { GiCardJoker } from "react-icons/gi";
import CardBack from "../images/card-back.png";
@berniefitz82
berniefitz82 / CommonGitCommands.txt
Last active October 12, 2021 23:50
Common git commands
git stash - to stash your work
git stash pop - to re-apply stashed changes
git stash apply - applies your stash to current branch and keeps changes in your stash (so you use on multiple branches)
git pull origin develop - merge develop into feature branch
git reset --hard HEAD~1 - if you've merged and want to roll back