What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 10:50:02
install 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-26 10:49:03
install docker nvidia 2
# Setting up Docker curl https://get.docker.com | sh \ && sudo systemctl --now enable docker # Setting up NVIDIA Container Toolkit distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \ && curl -s -L https://nvidia.github.io/nvidi... Add solution -
Shell/Bash 2021-08-26 10:48:02
create github repo without browser
winpty curl -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/user/repos -d '{"name":"[REPO_NAME_YOU_WANT]"}' # follow steps here to generate token: https://help.github.com/en/github/authenticating-to-github/creating-... Add solution -
Shell/Bash 2021-08-25 15:10:34
hosting spa on github pages
### Notes on client-side routing: ### GitHub Pages doesn’t support routers that use the HTML5 `pushState` history API under the hood ### (for example, React Router using `browserHistory`). ### This is because when there is a fresh page load for a ... Add solution