Skip to content

Instantly share code, notes, and snippets.

Avatar
🖥️
creating bugs

Gabrielle Lima gabizinha12

🖥️
creating bugs
View GitHub Profile
@takanuva
takanuva / agt.h
Last active Jul 14, 2021
Simple generic print() and scan() macros
View agt.h
#pragma once
#define print(...) _EVAL(_JOIN(_PRINT, PP_NARG(__VA_ARGS__))(__VA_ARGS__))
#define scan(x) _SCAN_ARG(x)
#define _EVAL(...) __VA_ARGS__
#define _JOIN(a, b) _JOIN2(a, b)
#define _JOIN2(a, b) a ## b
#define PP_NARG(...) \
PP_NARG_(0, ## __VA_ARGS__, PP_RSEQ_N())
#define PP_NARG_(...) \
@luisvonmuller
luisvonmuller / auto-invite-2021.js
Last active Apr 22, 2021
Simple auto invite code for LinkedIn.
View auto-invite-2021.js
var linkedinhoAutoInviter = class {
constructor(maxInvites, actionDelay, pageDelay, ScrollDelay) {
this.pageButtons = [];
this.alreadyInvited = 0;
this.maxInvites = maxInvites;
this.actionDelay = actionDelay;
this.pageDelay = pageDelay;
@alexilyaev
alexilyaev / . README.md
Last active Jul 11, 2021
Setup ESLint with Prettier
View . README.md

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 Dec 3, 2019
Criação de servidor Node.js
View README.md

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 Oct 29, 2019
Aprendendo a consumir API usando hooks no ReactJS
View UsandoHooks.js
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
Domeniqque / cloudSettings
Last active Oct 26, 2020
Configuração básica do eslint em projetos react, by @Rocketseat
View cloudSettings
{"lastUpload":"2020-03-06T12:31:17.554Z","extensionVersion":"v3.4.3"}
@diego3g
diego3g / settings.json
Last active Oct 22, 2021
VSCode Settings (Updated)
View settings.json
{
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"polacode.backgroundColor": "#6633CC",
"editor.tabSize": 2,
"editor.fontSize": 16,
@danielbonifacio
danielbonifacio / settings.json
Created Mar 13, 2019
Configuração do ESLint no Visual Studio Code
View settings.json
{
"eslint.autoFixOnSave": true,
"eslint.validate": [
{
"language": "vue",
"autoFix": true
},
{
"language": "html",
"autoFix": true
@hrmsk66
hrmsk66 / bulma-form.html
Created May 13, 2018
Bulma Simple Form
View bulma-form.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello Bulma!</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.0.7/js/all.js"></script>
</head>
<body>
View livros.md

Meus livro 2018

Este ano nao estou lendo nada portanto criei esse markdown pra organizar e voltar meu habito de leitura e parar de me tornar uma acumuladora igual eu fui em 2017

Done

  • O ciclo da procrastinacao
  • Apologia de socrátes - Platão
  • Biblia satanica
  • A cidade da luz - Asano Inio
  • Kafka a beira mar - Haruki Murakami
  • Adventure Time Encyclopaedia