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 { promisify } from 'util'; | |
import jwt from 'jsonwebtoken'; | |
import authConfig from '../../config/auth'; | |
export default async (req, res, next) => { | |
const authHeader = req.headers.authorization; | |
if (!authHeader) { | |
return res.status(401).json({ error: 'Não autenticado!' }); | |
} |
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 React, { Component } from 'react'; | |
import { render } from 'react-dom'; | |
export default class App extends Component { | |
constructor(props) { | |
super(props); | |
} | |
render() { | |
return <h1>Richelly Italo</h1>; |
git config --global alias.assume-unchanged 'update-index --assume-unchanged'
Pode ser utilizado "pasta/*" para todos os arquivos da pasta
adiciona = git update-index --assume-unchanged <file>
remove = git update-index --no-assume-unchanged <file>
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
/* VSCode keybindings for alternative HJLK navigation, when using non-vim mode | |
* and support for quick panel navigation with Tab/Shift+Tab. | |
* | |
* So basically I just tried to use everywhere in the editor these aliases: | |
* Alt+j = down | |
* Alt+k = up | |
* Alt+l = right | |
* Alt+h = left | |
* Alt+b = previous-word | |
* Alt+w = next-word |
Variáveis de ambiente no projeto
https://github.com/joke2k/django-environ
Dados fictícios https://github.com/gregmuellegger/django-autofixture
Login e cadastro https://django-allauth.readthedocs.io/en/latest/installation.html
NewerOlder