What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-28 18:24:02
ubuntu install composer
sudo apt update sudo apt install php-cli unzip cd ~ curl -sS https://getcomposer.org/installer -o composer-setup.php HASH=`curl -sS https://composer.github.io/installer.sig` echo $HASH php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH... 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 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-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