This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stage 1: Build the React app | |
FROM node:18 AS build | |
# Set working directory | |
WORKDIR /usr/src/app | |
COPY package*.json ./ | |
RUN npm install --legacy-peer-deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
id: 'TP-1', | |
from: 'Jane Smith', | |
subject: 'Waiting for Customer', | |
description: 'Test Add Issue Again to make sure I did not break it.', | |
date: '23-07-07', | |
status: 'Open', | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker logs 4c56a4d589e7 | |
> [email protected] start | |
> webpack serve --config config/webpack.dev.js | |
<i> [webpack-dev-server] Project is running at: | |
<i> [webpack-dev-server] Loopback: http://localhost:8080/ | |
<i> [webpack-dev-server] On Your Network (IPv4): http://172.17.0.3:8080/ | |
<i> [webpack-dev-server] Content not from webpack is served from '/app/public' directory | |
<i> [webpack-dev-server] 404s will fallback to '/index.html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data1 = 'Jordan Smith'; | |
const data2 = [].filter.call(data1, function(elem, index) { | |
return index > 6; | |
}); | |
// Що ми отримаємо в data2? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState, useEffect, useRef } from 'react'; | |
// import { HideUntilLoaded } from 'react-animation'; | |
import PropTypes from 'prop-types'; | |
import Spinner from '../spinner/Spinner'; | |
import ErrorMessage from '../errorMessage/ErrorMessage'; | |
import MarvelServices from '../services/MarvelServices'; | |
import './charlist.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
POWERLEVEL9K_COLOR_SCHEME='dark' | |
# Prompts | |
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir virtualenv vcs) | |
else | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(root_indicator dir virtualenv vcs) | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// SETTINGS | |
"workbench.settings.editor": "json", | |
// EDITOR | |
"editor.fontSize": 17, | |
"editor.fontLigatures": true, | |
// "editor.fontFamily": "Fira Code", | |
"editor.copyWithSyntaxHighlighting": false, | |
"editor.multiCursorModifier": "alt", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// SETTINGS | |
"workbench.settings.editor": "json", | |
// EDITOR | |
"editor.formatOnSave": true, | |
// "prettier.eslintIntegration": true, | |
"editor.fontSize": 17, | |
"editor.fontLigatures": true, | |
// "editor.fontFamily": "Fira Code", | |
"editor.copyWithSyntaxHighlighting": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>JavaScript</title> | |
<link rel="stylesheet" href="myCSS.css" /> | |
<script src="http://code.jquery.com/jquery-3.1.1.min.js"></script> | |
</head> | |
<body> | |
<div id="page"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Events - Event Delegation</title> | |
<link rel="stylesheet" href="./event.css"> | |
</head> | |
<body> |
NewerOlder