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
  • 17:47 (UTC -03:00)
View GitHub Profile
@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: *
* *
@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;
@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
@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.

@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
@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: '',
@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"}
@diego3g
diego3g / settings.json
Last active April 26, 2024 12:18
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": {
@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
@filipemansano
filipemansano / getcep.html
Created November 17, 2018 04:24
Exemplo básico de consulta de CEP consumindo uma API em jQuery
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Pesquisa CEP</title>
</head>
<body>