- Install node & npm
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
- Verify
node -v
npm -v
| .aboutCardHidden{ | |
| display: none; | |
| } | |
| .aboutCardWrapper { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100vh; | |
| display: flex; |
| .github-corner:hover .octo-arm { | |
| animation: octocat-wave 560ms ease-in-out | |
| } | |
| @keyframes octocat-wave { | |
| 0%, | |
| 100% { | |
| transform: rotate(0) | |
| } | |
| 20%, |
| import React from "react"; | |
| import Script from "react-load-script"; | |
| import Demo from "./Demo"; | |
| class App extends React.Component { | |
| state = { scriptLoaded: false }; | |
| handleScriptError() { | |
| console.log("Error while loading script"); | |
| } |
| function helloLife(msg) { | |
| console.log("LIFE: " + msg); | |
| } |
| import React from "react"; | |
| class Demo extends React.Component { | |
| render() { | |
| if (this.props.ready) { | |
| window.helloLife("Hey There"); | |
| } | |
| return <div>THis is a demo</div>; | |
| } | |
| } |
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v
npm -v
pip install virtualenv
cd project
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
then
container-name and container-id randomly by dockercontainer-id. just type the minimum chars to distiguish from other running containers.| "editor.insertSpaces": false, | |
| "editor.tabSize": 4, | |
| "editor.detectIndentation": false, | |
| "prettier.tabWidth": 4, | |
| "prettier.useTabs": true // This made it finally work for me |