This file contains hidden or 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
#!/bin/bash | |
cd ~ | |
mkdir -p ~/.npm-global | |
npm config set prefix '~/.npm-global' | |
touch .profile | |
if ! grep '~/.npm-global' ~/.profile | |
then | |
echo 'export PATH=~/.npm-global/bin:$PATH' >> .profile | |
fi | |
source ~/.profile |
This file contains hidden or 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 iTerm https://www.iterm2.com/downloads.html (Stable release) | |
# Open and install and run this: | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Then install git | |
brew install git | |
# Then run this: | |
brew install node |
This file contains hidden or 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
const chalk = require('chalk') | |
/* | |
( Open parantheses | |
) Close parantheses | |
[ Open bracket | |
] Close bracket | |
{ Open brace | |
} Close brace | |
/ (Forward) Slash |
This file contains hidden or 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
[...$('.like-button:not(.active)')].forEach(el => el.click()) |
OlderNewer