- To do
- Blocked
- In progress
- To deploy
- Ready to test
- QA validating
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
import express, { Express, Request, Response } from 'express' | |
import bodyParser from 'body-parser' | |
import dotenv from 'dotenv-safe' | |
import prettyError from 'pretty-error' | |
import { handler } from './src/app' | |
import { SQSPayloadInterface } from './src/interfaces/PayloadInterface' | |
prettyError.start() | |
dotenv.config() |
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
import HttpService from './HttpService'; | |
export default class WitService { | |
constructor(private readonly httpService: HttpService) { | |
['WIT_API_URL', 'WIP_API_TOKEN'].forEach((environmentVar) => { | |
if (!process.env[environmentVar]) { | |
throw new Error(`Missing ${environmentVar} environment var`); | |
} | |
}); | |
} |
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
import HttpService from '../services/HttpService' | |
import { AxiosResponse } from 'axios' | |
import OrderInterface from '../interfaces/OrderInterface' | |
import * as AWS from 'aws-sdk' | |
export default class OrderRepository { | |
constructor( | |
private readonly httpService: HttpService, | |
private readonly sns: AWS.SNS, | |
) { |
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
import { Service, Inject } from 'typedi'; | |
import { | |
JsonController, | |
Post, | |
Body, | |
UnauthorizedError, | |
BadRequestError, | |
Get, | |
Param, | |
OnUndefined, |
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
{ | |
"singleQuote": true, | |
"trailingComma": "all", | |
"bracketSpacing": true, | |
"jsxBracketSameLine": true, | |
"printWidth": 80, | |
"tabWidth": 2, | |
"useTabs": false, | |
"semi": true, | |
"quoteProps": "as-needed" |
I hereby claim:
- I am gufranco on github.
- I am gufranco (https://keybase.io/gufranco) on keybase.
- I have a public key ASADXEi_OPbd2J6da5oELYgSuMmMtYR_GtVFQ7cACkeHJAo
To claim this, I am signing this object:
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
1- Quais tecnologias você já usou em projetos que foram para produção? Quais foram os desafios encontrados? | |
2- Se pudesse voltar no tempo, o que você faria diferente atualmente? Por qual motivo? | |
3- Você já configurou algum servidor Linux? Se sim, explique qual tipo de servidor, o que usou e o motivo de cada escolha. | |
4- Com quais bancos de dados relacionais você já trabalhou? Qual você prefere e por qual motivo? | |
5- Já trabalhou com alguma base de dados NoSQL? Quais? Explique o motivo da escolha de um banco NoSQL no projeto. |
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
/* | |
* Implement function verify(text) which verifies whether parentheses within text are | |
* correctly nested. You need to consider three kinds: (), [], <> and only these kinds. | |
*/ | |
function verify(string) { | |
string = string.replace(/[^\(\)\[\]\{\}\<\>]/g, ''); | |
let previousString = ''; | |
while (string.length !== previousString.length) { | |
previousString = string; |
I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:
Set my args as follows:
const run = (async () => {
const args = [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-infobars',
NewerOlder