Skip to content

Instantly share code, notes, and snippets.

View hugogrochau's full-sized avatar

Hugo Grochau hugogrochau

View GitHub Profile
export default {
white: '#FFFFFF',
black: '#000000',
primary: '#FF0048',
secondary: '#960830'
}
import React from 'react'
import { Text as RNText, StyleSheet } from 'react-native'
import colors from '~/constants/colors'
const styles = StyleSheet.create({
base: {
fontFamily: 'open-sans-regular',
backgroundColor: 'transparent',
color: colors.black,
fontSize: 16

Keybase proof

I hereby claim:

  • I am hugogrochau on github.
  • I am hugogrochau (https://keybase.io/hugogrochau) on keybase.
  • I have a public key whose fingerprint is 121E 0526 300E 36FA 2604 035F 3B46 D589 50CF 8443

To claim this, I am signing this object:

@hugogrochau
hugogrochau / scraper.py
Created June 17, 2013 02:17
JSM info scraper
#!/usr/bin/env python2
import argparse
from BeautifulSoup import BeautifulSoup
import urllib2
import unicodedata
import json
def get_page(city):
@hugogrochau
hugogrochau / brinquedos.c
Created May 28, 2013 02:09
Solução da P2 de brinquedos
#include <stdio.h>
#include <stdlib.h>
#define ARQ_F "FORNECEDORES.TXT"
#define ARQ_B "BRINQUEDOS.TXT"
#define FORNECEDORES 40
#define BRINQUEDOS 300
#define CONSULTAS 10
void preenche_fornecedores(int[]);
@hugogrochau
hugogrochau / qualidade-gerador.py
Created May 27, 2013 04:50
Gerador de QUALIDADE.TXT
#!/usr/bin/env python
import random
min = 25
max = 44
tamanhos = open("QUALIDADE.TXT", mode="w")
for i in range(min, max + 1):
@hugogrochau
hugogrochau / QUALIDADE.TXT
Created May 27, 2013 04:38
Numeros de qualidade para testar
38.923894829744164 39.942208267651665
22.5975439302874 38.330010004836105
33.31267805577762 39.9090137787373
26.3828578343269 28.70896911625905
32.53377481417875 32.7209607331024
39.7890630028386 39.800964019436215
38.27783618821795 38.71172787070596
22.470591965630934 33.3273192922732
26.17267995311451 35.221476753261754
26.939366710751116 26.968992932633
@hugogrochau
hugogrochau / sapatos.c
Created May 27, 2013 03:54
Questão 2 da P2 antiga
#include <stdio.h>
#include <stdlib.h>
#define ARQUIVO "QUALIDADE.TXT"
#define TAM_MIN 25
#define TAM_MAX 44
#define TAM (TAM_MAX - TAM_MIN + 1)
void preenche_vetores(float[], float[], int);
@hugogrochau
hugogrochau / stylesheet.css
Created April 21, 2012 04:21
futurology CSS - based off r/minimalism
body {
font-family: Helvetica, Arial, sans-serif;
line-height: 1.4;
color: black;
}
.side {
padding-left: 10px;
padding-right: 4px;
margin-left: 0;
width: 300px
@hugogrochau
hugogrochau / stylesheet.css
Created April 21, 2012 04:03
futurology CSS
div.titlebox span.word {
display: block
}
div.titlebox span.number:after {
content: " Learned Doctors."
}
/*Makes header image*/
#header-bottom-left {
background: url(http://c.thumbs.redditmedia.com/lCi5aNeBS749d0Tn.jpg);
font-size: 20px;