Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// .eslintrc.js | |
module.exports = { | |
root: true, | |
env: { | |
node: true, | |
es6: true, | |
}, | |
parserOptions: { ecmaVersion: 8 }, // to enable features such as async/await | |
extends: ['eslint:recommended', 'plugin:tailwind/recommended'], | |
overrides: [ |
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
{ | |
"semi": false, | |
"singleQuote": true, | |
"tabWidth": 2, | |
"useTabs": 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
#CANONICAL-URL | |
FRONT_END_URL=http://localhost:3000 | |
DOMAIN=localhost | |
... | |
#OTHER STUFF |
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 numpy as np | |
import pandas as pd | |
samples = 100000 | |
df = pd.DataFrame( | |
{ | |
'col1':np.random.randint(2,100,samples), | |
'col2':np.random.randint(2,100,samples), | |
'col3':np.random.rand(samples) | |
} |
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 sample_data = [{'_id': 'cc7b7a9d8b9642299e3657af08dc0e2a', | |
'name': 'zCKVZkcKvB', | |
'net_worth': 45000}, | |
{'_id': '0ec97c94bc654b3a84f47591169f75eb', | |
'name': 'LxfVwDeufE', | |
'net_worth': 39000}, | |
{'_id': '1e2ea336022142c3be60ba174433c3d7', | |
'name': 'ZjhiifKLCp', | |
'net_worth': 68000}, | |
{'_id': '37ba69d4661744cdb4e6d2f3b66734ec', |
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 uuid | |
import random | |
import string | |
# GENERATE SAMPLE DATA | |
sample_data = [{ | |
'_id': uuid.uuid4().hex, | |
'name': ''.join(random.choices( | |
[_ for _ in string.ascii_letters], | |
k=10 |
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
IN: | |
employees = [ | |
{ | |
"name": "John Don't", | |
"performance": "medium", | |
"salary": 10000 | |
}, | |
{ | |
"name": "Jane Does", | |
"performance": "high", |
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
IN: | |
const employees = [ | |
{ | |
"name": "John Don't", | |
"performance": "medium", | |
"salary": 10000 | |
}, | |
{ | |
"name": "Jane Does", | |
"performance": "high", |
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 { Container, Row, Col } from 'react-bootstrap'; | |
import { CardRefSteps, CardRefGifts, CardLowerPart } from './styles'; | |
import Link from 'next/link'; | |
const FAQReferral = () => { | |
return ( | |
<Container> | |
<Row | |
style={{ | |
marginTop: '5%', |