Skip to content

Instantly share code, notes, and snippets.

View andrewlazenka's full-sized avatar
🇨🇦

Andrew Lazenka andrewlazenka

🇨🇦
View GitHub Profile
@andrewlazenka
andrewlazenka / node-clean.sh
Created January 10, 2022 17:21
Remove node_modules & lockfiles
function node-clean() {
if test -f ./yarn.lock; then
rm ./yarn.lock
echo "Removed Yarn Lock"
fi
if test -f ./package-lock.json; then
rm ./package-lock.json
echo "Removed Package Lock"
fi
@andrewlazenka
andrewlazenka / git-current-branch.sh
Created January 10, 2022 17:15
Get the active git branch in a repo
# https://stackoverflow.com/a/12142066
git rev-parse --abbrev-ref HEAD
@andrewlazenka
andrewlazenka / ModernJavascriptOnboardingResources.md
Last active March 7, 2022 19:23
Modern Javascript Onboarding Resources
@andrewlazenka
andrewlazenka / cloudSettings
Last active May 27, 2020 19:32
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-05-27T19:32:27.370Z","extensionVersion":"v3.4.3"}