Skip to content

Instantly share code, notes, and snippets.

View sidneyspe's full-sized avatar
🎯
Focusing

Sidney Pimentel sidneyspe

🎯
Focusing
  • Campina Grande - PB, Brasil
  • 00:01 (UTC -03:00)
  • LinkedIn in/sidneyspe
View GitHub Profile
@sidneyspe
sidneyspe / cmder_dracula_theme_custom.xml
Last active May 12, 2022 13:17
Cmder Dracula Theme Custom
<?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"/>
@sidneyspe
sidneyspe / .gitconfig
Last active July 21, 2023 05:00
alias for git
[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}..)
@leohmoraes
leohmoraes / .. Modulo01-Video06-ESLint, Prettier e EditorConfig.md
Last active September 25, 2023 14:22
Rocketseat - Modulo 02 - Video 06:ESLint, Prettier e EditorConfig

INSTALACAO

yarn add eslint -D

RUN

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

@diego3g
diego3g / settings.json
Last active July 12, 2025 02:34
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 16,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],
@kytulendu
kytulendu / install-opencl-amd.sh
Last active January 4, 2025 23:31
A shell script to install AMDGPU-PRO OpenCL driver.
#!/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.
@mayribeirofernandes
mayribeirofernandes / exemploloopsrobot.robot
Created September 19, 2018 15:53
Exemplo Loops Robot Framework
*** 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
@lucascnr
lucascnr / cpf_cnpj_generator.py
Created November 18, 2016 19:36
Gerador de CPF e CNPJ em Python
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)