git reflog
# you will see a list of every thing you've done in git, across all branches!
# each one has an index HEAD@{index}
# find the one before you broke everything
git reset HEAD@{index}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="Home"> | |
<div class="Grid"> | |
<div | |
v-for="i in (tiles*tiles)" | |
v-bind:key="i"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install Homebrew - Instructions: https://brew.sh | |
## Check brew is avaliable | |
which brew | |
# if it returns: /usr/local/bin/brew | |
# it means that homebrew is installed. | |
# if it returns: brew not found | |
# it means homebrew is not installed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 lines (61 sloc) 3.27 KB | |
## Start staks | |
echo Start | |
## Install devtools | |
xcode-select --install | |
## Install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
du -hs --apparent-size * | sort -h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Preview webp images | |
curl -L https://raw.github.com/emin/WebPQuickLook/master/install.sh | sh |
OlderNewer