Skip to content

Instantly share code, notes, and snippets.

@adsguilherme
adsguilherme / comandos.txt
Created January 20, 2021 22:21 — forked from giosave/comandos.txt
Instrucciones y Comandos LINUX[Ubuntu]
############ INSTALAR NODEJS
sudo apt install nodejs
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install gcc g++ make
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
//npx create-react-app [NombreApp]
############## INSTALAR SQL SERVER
@adsguilherme
adsguilherme / .zshrc
Created January 10, 2021 01:00 — forked from diego3g/.zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export ANDROID_HOME=~/Android/Sdk
export PATH="$PATH:$ANDROID_HOME/tools"
export PATH="$PATH:$ANDROID_HOME/platform-tools"
# Path to your oh-my-zsh installation.
export ZSH="/Users/diegofernandes/.oh-my-zsh"
export PATH="$PATH:/usr/local/bin"
@adsguilherme
adsguilherme / commands.js
Created December 14, 2020 14:31 — forked from Dema/commands.js
Cypress recaptcha command
Cypress.Commands.add("clickRecaptcha", () => {
cy.window().then(win => {
win.document
.querySelector("iframe[src*='recaptcha']")
.contentDocument.getElementById("recaptcha-token")
.click();
});
});
@adsguilherme
adsguilherme / index.d.ts
Created December 10, 2020 04:47 — forked from samlucax/index.d.ts
Cypress Commands Intellisense
/**
* Crie um arquivo index.d.ts na pasta support.
* Copie o conteúdo abaixo dentro do arquivo index.d.ts criado.
* Importante: esse NÃO substitui o index.js existente. Eles possuem finalidades diferentes.
*/
/// <reference types="cypress" />
declare namespace Cypress {
@adsguilherme
adsguilherme / settings.json
Created December 9, 2020 02:45 — forked from diego3g/settings.json
VSCode Settings (Updated)
{
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"editor.tabSize": 2,
"editor.fontSize": 18,
"editor.lineHeight": 26,
"editor.fontFamily": "Fira Code",
// Instale essa biblioteca em seu projeto com o comando abaixo:
// npm install jwt-decode
// adicione essa linha no topo do arquivo sempre que precisar usar
import jwt_decode from "jwt-decode";
describe('Exemplo', () => {
it('Exemplo JWT Decode', () => {
@adsguilherme
adsguilherme / main.yml
Created November 13, 2020 13:15 — forked from samlucax/main.yml
Semana Agilizei 1.0 - Github Workflow criado na aula de CI
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
@adsguilherme
adsguilherme / .gitignore
Created November 13, 2020 13:05 — forked from samlucax/.gitignore
Semana Agilizei 1.0 - Git Ignore
# dependencias
node_modules/
# relatorios mocha
mochawesome-report
# relatorios cucumber
cypress/reports/index.html
cypress/reports/index.html.json
cypress/reports/cucumber-json/**
@adsguilherme
adsguilherme / git.md
Created September 15, 2020 02:02 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!