Skip to content

Instantly share code, notes, and snippets.

View iaurg's full-sized avatar
☣️
Extreme Programming and Challenges

Italo A. iaurg

☣️
Extreme Programming and Challenges
View GitHub Profile
@iaurg
iaurg / activecampaign.js
Created January 24, 2020 18:17
A React component for Active Campaign Form using Ant Design
import fetch from 'isomorphic-unfetch';
import { notification } from 'antd';
import styled from 'styled-components';
import { Form, Input } from '@rocketseat/unform';
import * as Yup from 'yup';
import PropTypes from 'prop-types';
const FormStyled = styled(Form)`
display: flex;
justify-content: space-between;
@iaurg
iaurg / Docs.md
Created October 10, 2019 22:00
Extensions and configs for VScode

Extensions

Color Highlight DotEnv EditorConfig ESLint Markdown All in One Material Icon Theme or VStudio Icons

Theme

Dracula Official

@iaurg
iaurg / GeneratePdf.js
Created September 25, 2019 18:44
react-pdf PDFDownloadLink
import React, { Component } from 'react';
import { render, hydrate } from 'react-dom';
import { PDFDownloadLink } from '@react-pdf/renderer';
import { ModelCertificate } from './ModelCertificate';
export default class PDFLink extends Component {
state = {
loading: false,
};
@iaurg
iaurg / .editorconfig
Last active September 25, 2019 23:41
Commands for initial react app with eslint, editorconfig, transpiler, prettier...
root = true
[*]
end_of_line = lf
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@iaurg
iaurg / lista_estados_brasil.html
Created February 3, 2017 02:06
Lista estados brasileiros para copiar: extenso, siglas, option siglas, option extenso, li siglas, li extenso
--------------------------- SIGLAS ---------------------------
AC
AL
AP
AM
BA
CE
DF
ES
@iaurg
iaurg / media_queries_model_bootstrap.css
Last active February 3, 2017 02:08
Only media queries per model bootstrap, show and hide everything hehehe :D
/* Only media queries model bootstrap, show and hide everything hehehe :D */
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
display: none !important;
}
.visible-xs-block,
.visible-xs-inline,