Skip to content

Instantly share code, notes, and snippets.

View BlakeCampbells's full-sized avatar
🏠
Working from home

Blake Campbell BlakeCampbells

🏠
Working from home
View GitHub Profile
@AlexVipond
AlexVipond / README.md
Last active August 24, 2022 03:29
Levels of Reusability cheatsheet

Levels of Reusability cheatsheet

In the "Reusable Components" course, Michael Thiessen teaches six levels of reusability for Vue components.

I started to understand these levels more deeply once I noticed that each level relies on a specific Vue feature to unlock new possibilities.

Here's a cheatsheet:

Level of Reusability Description Vue feature
@xeoncross
xeoncross / gitstats.sh
Created November 5, 2012 21:35
Git - calculate how many lines of code were added/changed by someone
# Run this in the project repo from the command-line
# http://stackoverflow.com/a/4593065/99923
git log --shortstat --author "Xeoncross" --since "2 weeks ago" --until "1 week ago" | grep "files changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed", files, "lines inserted:", inserted, "lines deleted:", deleted}'