yarn add eslint -D
yarn eslint --init
3 > To check syntax, find problems, and enforce code style
2 > Javascript modules (import/export)
3 > None of these
2 > Apenas NODE
| <?xml version="1.0" encoding="utf-8"?> | |
| <key name="Software"> | |
| <key name="ConEmu"> | |
| <key name=".Vanilla" modified="2021-10-04 11:30:41" build="210912"> | |
| <value name="Language" type="string" data="en"/> | |
| <value name="StartType" type="hex" data="02"/> | |
| <value name="CmdLine" type="string" data=""/> | |
| <value name="StartTasksFile" type="string" data=""/> | |
| <value name="StartTasksName" type="string" data="{git bash}"/> | |
| <value name="StartFarFolders" type="hex" data="00"/> |
| [user] | |
| email = [email protected] | |
| name = Your Name | |
| [credential] | |
| helper = store | |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| ui = auto |
| [alias] | |
| ci = commit | |
| co = checkout | |
| cm = checkout master | |
| cb = checkout -b | |
| st = status -sb | |
| sf = show --name-only | |
| lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30 | |
| incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u}) | |
| outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..) |
| { | |
| "workbench.startupEditor": "newUntitledFile", | |
| "editor.fontSize": 16, | |
| "editor.lineHeight": 1.8, | |
| "javascript.suggest.autoImports": true, | |
| "javascript.updateImportsOnFileMove.enabled": "always", | |
| "editor.rulers": [ | |
| 80, | |
| 120 | |
| ], |
| #!/bin/bash | |
| # This script will install AMDGPU-PRO OpenCL and Vulkan support. | |
| # | |
| # For Ubuntu and it's flavor, just install the package using this command | |
| # in extracted driver directory instread. | |
| # | |
| # ./amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms | |
| # | |
| # For Arch Linux or Manjaro, use the opencl-amd or rocm-opencl-runtime on AUR instread. |
| *** Settings *** | |
| Documentation Suíte para exemplificar o uso de LOOPS nos testes | |
| ... Os LOOPS devem ser pouco utilizados, mas tem hora que não tem jeito | |
| ... e precisamos dele mesmo, então vamos ver como é! | |
| ... LOOPS: use com moderação! | |
| ... Infelizmente o Loop FOR ainda não tem uma estrutura keyword-driven | |
| ... Mas o criador do Robot já disse que estão estudando uma solução! | |
| *** Variable *** | |
| @{FRUTAS} maça banana uva abacaxi |
| def generate_cpf(self): | |
| cpf = [random.randint(0, 9) for x in range(9)] | |
| for _ in range(2): | |
| val = sum([(len(cpf) + 1 - i) * v for i, v in enumerate(cpf)]) % 11 | |
| cpf.append(11 - val if val > 1 else 0) | |
| return '%s%s%s.%s%s%s.%s%s%s-%s%s' % tuple(cpf) |