$ ssh [email protected]
ssh -i "react-counter-app.pem" [email protected]
$ logout
| const express = require('express') | |
| const imageToBase64 = require('image-to-base64') | |
| const app = express() | |
| const fs = require('fs') | |
| const Axios = require('axios') | |
| const sharp = require('sharp') | |
| app.use(express.json()) | |
| app.use((r, res, next) => { |
| require("http").createServer(function(request, response){ | |
| response.writeHeader(200, {"Content-Type": "text/plain"}); | |
| response.write("Hello World!"); | |
| response.end(); | |
| }).listen(8080); |
$ ssh [email protected]
ssh -i "react-counter-app.pem" [email protected]
$ logout
Debugger for Chrome extension in vscodeF9 to add breakpoint"sourceMap": true, in tsconfig.jsonRun > Start DebuggingChrome (it won't appear with chrome extention)launch.json file set url to specefic port where developemnt server is running e.g. (http://localhost:3000)webRoot is correct| import React from 'react' | |
| import './App.css' | |
| function App() { | |
| const [isOpnnedAlready, setIsOpnnedAlready] = React.useState(false) | |
| const channel = React.useMemo(() => new BroadcastChannel('couldBeAnything'), []) | |
| React.useEffect(() => { | |
| channel.postMessage({ |
mongo
If
mongois not recognized as an internal or external command, operable program or batch file, then do the followings from this blog