Skip to content

Instantly share code, notes, and snippets.

View pduartesilva2005's full-sized avatar
💻
coding

Pedro Duarte pduartesilva2005

💻
coding
View GitHub Profile
@pduartesilva2005
pduartesilva2005 / NewProduct.tsx
Created August 28, 2021 14:41
Feature de listar pedidos para criar
import { useState, useEffect } from 'react';
const productsView = [
{
internal_code: 'AP001',
bar_code: '7895720035356',
image:
'https://http2.mlstatic.com/D_NQ_NP_868055-MLB31128557025_062019-O.webp',
unity: '1',
st: '17,52',
@pduartesilva2005
pduartesilva2005 / NewProduct.tsx
Last active August 28, 2021 14:42
Adicionando vários produtos com preenchimento automático através da descrição do produto
import { useState } from 'react';
export function NewRequest() {
const [products, setProducts] = useState([
{
internal_code: '',
bar_code: '',
st: '',
unity: '',
description: '',
@pduartesilva2005
pduartesilva2005 / .hyper.js
Created June 28, 2021 14:10
Hyper Terminal Settings
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: "stable",
@pduartesilva2005
pduartesilva2005 / keybindings.json
Created June 26, 2021 15:26
Atalhos do VS Code
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+numpad_divide",
"command": "editor.foldAllBlockComments",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+oem_2",
"command": "-editor.foldAllBlockComments",
@pduartesilva2005
pduartesilva2005 / settings.json
Last active October 2, 2021 16:47
VS Code Settings
{
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "none",
"editor.tabSize": 2,
"editor.fontSize": 16,
"editor.lineHeight": 26,
"editor.fontFamily": "JetBrains Mono",
"editor.fontLigatures": true,