Skip to content

Instantly share code, notes, and snippets.

William Wiechorek wwiechorek

Block or report user

Report or block wwiechorek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wwiechorek / gist:944f886d316114d80742a42308fa5e2c
Created Nov 27, 2019
Mudar fonte padrão de um projeto React-native
View gist:944f886d316114d80742a42308fa5e2c
import { Text } from 'react-native'
let oldText = Text.render;
Text.render = function (...args) {
let origin =, ...args);
return React.cloneElement(origin, {
style: [{fontFamily: 'Open Sans'},]
View js
import React, { useState } from 'react'
function AppHooks() {
const [list, setList] = useState([])
function run() {
setInterval(() => {
wwiechorek / app.js
Last active Feb 25, 2019
Estrutura de botão em react
View app.js
import Button from './Button'
<Button inline>Inline</Button>
<Button inline primary>Primary</Button>
wwiechorek / index.js
Last active Jan 4, 2019
SSR - React com create-react-app
View index.js
import bodyParser from 'body-parser';
import compression from 'compression';
import express from 'express';
import cookieParser from 'cookie-parser';
import Loadable from 'react-loadable';
import render from './render';
const app = express();
const PORT = process.env.PORT || 3000;
wwiechorek /
Created Sep 14, 2016
Git add + commit + pull + push AUTO
git add -A
git commit -m "$0"
git pull
git push
wwiechorek /
Created Feb 19, 2016 — forked from erikhenrique/
Bin de cartões de crédito para validação

Validação para cartão de crédito.

Bin e padrões para validação de cartão de crédito.

Bandeira Começa com Máximo de número Máximo de número cvc
Visa 4 13,16 3
Mastercard 5 16 3
You can’t perform that action at this time.