Skip to content

Instantly share code, notes, and snippets.

View ConorSheehan1's full-sized avatar

Conor Sheehan ConorSheehan1

View GitHub Profile
@ConorSheehan1
ConorSheehan1 / fireworks.scss
Created August 20, 2022 14:13
firework effect with sass, from codepen with updated sass deprecations
// https://codepen.io/hmaw/pen/qBEMLxV
// sass fixes https://sass-lang.com/documentation/breaking-changes/color-units
// https://sass-lang.com/documentation/breaking-changes/slash-div
// // to use, add html like this:
// <div class="fireworks">
// <div class="beforeFireworks" v-if="showGameWonModal" />
// <div class="afterFireworks" v-if="showGameWonModal" />
@use "sass:math";
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Conor Sheehan",
"label": "Software Engineer",
"image": "https://s.gravatar.com/avatar/e5177f7635c1a7c51a50de6dc80052fe?s=300&r=g",
"email": "conor.sheehan.dev@gmail.com",
"summary": "I'm a full stack web developer who can build apps from the ground up.",
"website": "https://conorsheehan1.github.io",
"location": {
@ConorSheehan1
ConorSheehan1 / standup.sh
Last active July 7, 2023 14:17
bash script to show git commits for a standup.
# show commits from all branches for current git user.
function my-commits-since() {
git log --all --author=$(git config user.email) --since=$@
}
# show commits from yesterday.
# if none were found, assume it's Monday and show commits from Friday.
function standup() {
if [ -z "$(my-commits-since yesterday)" ]; then
my-commits-since last.friday.midnight $@;