This file contains hidden or 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
FROM mk-docker.jfrog.io/gold-images/nodejs:18 | |
ARG NPM_TOKEN | |
ARG ARTIFACTORY_USER | |
ARG ARTIFACTORY_PASS | |
ARG FE_ID | |
RUN apt-get install -y curl | |
RUN apt-get install -y unzip |
This file contains hidden or 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
{ | |
"name": "eximpe-frontend", | |
"version": "0.1.0", | |
"private": true, | |
"dependencies": { | |
"@chakra-ui/icons": "^1.1.1", | |
"@chakra-ui/react": "^1.7.2", | |
"@chakra-ui/theme": "^1.12.1", | |
"@chakra-ui/theme-tools": "^1.3.1", | |
"@emotion/react": "^11.7.0", |
This file contains hidden or 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
{ | |
"parser": "@typescript-eslint/parser", | |
"parserOptions": { | |
"jsx": true, | |
"useJSXTextNode": true, | |
"project": "tsconfig.json", | |
"sourceType": "module" | |
}, | |
"ignorePatterns": ["./mock-api/server.js", "*.config.js"], | |
"extends": [ |
This file contains hidden or 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 digitalRoot = (n) => { | |
let numToString = n.toString(); | |
let sum = 0; | |
for(let i = 0; i < numToString.length; i++){ | |
sum += parseInt(numToString[i]); | |
} | |
if(sum > 9) { | |
return digitalRoot(sum); |
This file contains hidden or 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 cheerio = require("cheerio"); | |
var fs = require("fs"); | |
const fetch = require("node-fetch"); | |
const writeStream = fs.createWriteStream("post.csv"); | |
var csvWriter = require("csv-write-stream"); | |
var writer = csvWriter(); //Instantiate var | |
var csvFilename = "./post.csv"; | |
writeStream.write(`No , First Name , Last Name, Company, City ,Zip, Phone,Address \n`) |
This file contains hidden or 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
(function () { | |
app.service('SlaService', function () { | |
var slaStatus = [ | |
{ | |
"status": "EXECUTED", | |
"responseColor": "#5cb85c", | |
"resolutionColor" : "#5cb85c", | |
"timeFormat": 1, |
This file contains hidden or 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> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://asista.com/blog/wp-content/themes/sydney-child/css/main.min.css"> | |
<link rel='stylesheet' id='sydney-bootstrap-css' href='https://asista.com/blog/wp-content/themes/sydney/css/bootstrap/bootstrap.min.css?ver=1' type='text/css' media='all' /> | |
<link rel='stylesheet' id='sydney-style-css' href='https://asista.com/blog/wp-content/themes/sydney-child/style.css?ver=20180710' type='text/css' media='all' /> | |
</head> | |
<body> |
This file contains hidden or 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> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://asista.com/blog/wp-content/themes/sydney-child/css/main.min.css"> | |
<link rel='stylesheet' id='sydney-bootstrap-css' href='https://asista.com/blog/wp-content/themes/sydney/css/bootstrap/bootstrap.min.css?ver=1' type='text/css' media='all' /> | |
<link rel='stylesheet' id='sydney-style-css' href='https://asista.com/blog/wp-content/themes/sydney-child/style.css?ver=20180710' type='text/css' media='all' /> | |
</head> | |
<body> |
This file contains hidden or 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
(function () { | |
app.service('SlaService', function () { | |
var slaStatus = [ | |
{ | |
"status": "EXECUTED", | |
"responseColor": "#5cb85c", | |
"resolutionColor" : "#5cb85c", | |
"timeFormat": 1, |
This file contains hidden or 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 Post = props => { ---> is it possible to destructure ths to /*** const Post = props => { ****/ ? Just becoz am using props.history.push am not able to desctructure this :( | |
const post = props.post; | |
return ( | |
<div className="post-container" key={post.id}> | |
{post.companyName ? <CompanyInfo companyName={post.companyName} /> : ""} | |
<UserInfo post={post} /> | |
<div | |
className="cursor-pointer post-title" |
NewerOlder