Skip to content

Instantly share code, notes, and snippets.

View gabizinha12's full-sized avatar
🖥️
creating bugs

Gabrielle Lima gabizinha12

🖥️
creating bugs
  • São Paulo
  • 09:48 (UTC -03:00)
View GitHub Profile
@danielbonifacio
danielbonifacio / settings.json
Created March 13, 2019 12:33
Configuração do ESLint no Visual Studio Code
{
"eslint.autoFixOnSave": true,
"eslint.validate": [
{
"language": "vue",
"autoFix": true
},
{
"language": "html",
"autoFix": true
@diego3g
diego3g / settings.json
Last active May 3, 2024 14:09
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [80, 120],
"extensions.ignoreRecommendations": true,
"typescript.tsserver.log": "off",
"files.associations": {
@domeniqque-pereira-deel
domeniqque-pereira-deel / cloudSettings
Last active October 26, 2020 21:36
Configuração básica do eslint em projetos react, by @Rocketseat
{"lastUpload":"2020-03-06T12:31:17.554Z","extensionVersion":"v3.4.3"}
@rafabarbosa
rafabarbosa / UsandoHooks.js
Created October 29, 2019 04:00
Aprendendo a consumir API usando hooks no ReactJS
import React, { useState } from 'react';
import axios from 'axios';
export default function Lista () {
const [cep, setCep] = useState({ cep: '' });
const [informacoes, setInformacoes] = useState({
cep: '',
logradouro: '',
complemento: '',
@diego3g
diego3g / README.md
Created December 3, 2019 19:15
Criação de servidor Node.js

Configuração do servidor

  1. Configurar chave SSH
  2. Criar Droplet
  3. Realizar update e upgrade
  4. Crua usuário adduser deploy e usermod -aG sudo deploy
  5. Cria pasta .ssh pro deploy
  6. cp ~/.ssh/authorized_keys /home/deploy/.ssh/authorized_keys
  7. chown -R deploy:deploy .ssh/
  8. chmod 700 .ssh
@alexilyaev
alexilyaev / . README.md
Last active May 18, 2022 15:16
Setup ESLint with Prettier

ESLint with Prettier Setup

Basically, when using Prettier, all ESLint styling rules should be disabled.
This can be done with eslint-config-prettier.

See .eslintrc.js example below.
In prettier.config.js you can use anything you want (see example below).

Now the tricky part is how to run them...
Usually ESLint should run first, then Prettier.

@alexandreaquiles
alexandreaquiles / _README.md
Created March 29, 2021 18:04
Como usar JSP com Spring Boot?

Como usar JSP com Spring Boot?

Passo a passo

No pom.xml, adicione as seguintes dependências:

<!-- JSP-->
<dependency>
 org.apache.tomcat.embed
@luisvonmuller
luisvonmuller / auto-invite-2021.js
Last active April 22, 2021 03:32
Simple auto invite code for LinkedIn.
var linkedinhoAutoInviter = class {
constructor(maxInvites, actionDelay, pageDelay, ScrollDelay) {
this.pageButtons = [];
this.alreadyInvited = 0;
this.maxInvites = maxInvites;
this.actionDelay = actionDelay;
this.pageDelay = pageDelay;
@takanuva
takanuva / agt.h
Last active July 25, 2022 19:57
Simple generic print() and scan() macros
/*******************************************************************************
* Copyright 2022 Paulo Torrens *
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy *
* of this software and associated documentation files (the "Software"), to *
* deal in the Software without restriction, including without limitation the *
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or *
* sell copies of the Software, and to permit persons to whom the Software is *
* furnished to do so, subject to the following conditions: *
* *