Skip to content

Instantly share code, notes, and snippets.

View diegorodriguesvieira's full-sized avatar
🏠
Working from home

Diego Rodrigues Vieira diegorodriguesvieira

🏠
Working from home
View GitHub Profile
@diegorodriguesvieira
diegorodriguesvieira / git_create_orphan.sh
Created May 4, 2020 20:59 — forked from seanbuscay/git_create_orphan.sh
Create an orphan branch in a repo.
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" > README.md
git add README.md
git commit -a -m "Initial Commit"
git push origin orphan_name
import { connect } from 'react-redux';
import { Formik } from 'formik';
import { Image, StyleSheet, Keyboard, Alert } from 'react-native';
import * as AppAuth from 'expo-app-auth';
import * as Yup from 'yup';
import jwtDecode from 'jwt-decode';
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import * as api from './api';
$(window).on('resize', function (e) {
var viewportHeight = window.innerHeight;
// set CSS variable
document.documentElement.style.setProperty('--viewportHeight', viewportHeight + 'px');
}).trigger('resize');
import React, { useState, useEffect } from "react"
import styled from "@emotion/styled"
import Logo from "./logo"
import MenuItem from "./menu-icon"
import Nav from "./nav"
const ContainerStyled = styled.div`
background: linear-gradient(
330deg,
import { withTheme } from 'react-native-paper';
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import styled from 'styled-components/native';
import { toString } from '../utils/text';
const handleGutter = (gutter) => {
const keyName = Object.keys(gutter)[0];
const value = gutter[keyName];
import { withTheme } from 'react-native-paper';
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import styled from 'styled-components/native';
import { capitalizeChildrens } from '../utils/text';
const variants = {
h1: {
font: 'light',
import {
Colors, withTheme, Surface, TouchableRipple, Text,
} from 'react-native-paper';
import { View, StyleSheet, ActivityIndicator } from 'react-native';
import color from 'color';
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
const { white, black } = Colors;
@diegorodriguesvieira
diegorodriguesvieira / styled-components.js
Last active November 13, 2018 16:30
styled-components
import {
Colors, withTheme, Surface, TouchableRipple,
} from 'react-native-paper';
import { StyleSheet, ActivityIndicator } from 'react-native';
import color from 'color';
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import styled from 'styled-components/native';
const { white, black } = Colors;
$ cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../
$ cd node_modules/react-native/third-party/glog-0.3.5/ && ../../scripts/ios-configure-glog.sh && cd ../../../../

Now Xcode builds fine.

Originally posted by @mattijsf in facebook/react-native#21168 (comment)

Teste para vaga Front-End

Regras

  • Deve-se utilizar obrigatóriamente os seguintes recursos: material-ui, reactjs, redux, redux-form e react-router, além destes, é permitido utilizar qualquer outra biblioteca.

  • Implementar as telas responsivas.

  • Inserir validações no formulário.