What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-27 18:23:02
install node js using nvm ubuntu
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$... Add solution -
Shell/Bash 2021-08-27 09:26:02
create a repo using github api
#On your Github account: go to Settings -> Developer Settings -> Personal Access Token Under OAuth Apps. #Now, Generate a New Access token with Required privileges enabled. Ignore This if you already have one. #Replace ACCESS_TOKEN with Token and ... Add solution -
Shell/Bash 2021-08-27 08:46:01
Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!
For what it's worth, before installing Homebrew you will need to install Rosetta2 emulator for the new ARM silicon (M1 chip). I just installed Rosetta2 via terminal using: /usr/sbin/softwareupdate --install-rosetta --agree-to-license This will install r... Add solution -
Shell/Bash 2021-08-26 23:09:02
upload react project to github
Make sure you have already created a repo in github. In "package.json" file of project add - "homepage": "https://username.github.io/reponame" Run Install - "yarn add gh-pages" In "package.json/scripts" ad... Add solution -
Shell/Bash 2021-08-26 16:50:02
nvm
## Ubuntu curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash ## Set in your .bashrc or .zshrc export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XD... Add solution