Skip to content

Instantly share code, notes, and snippets.

View grafael's full-sized avatar

Rafael Antonio Ribeiro Gomes grafael

  • Uberaba ( Brazil )
View GitHub Profile

Keybase proof

I hereby claim:

  • I am grafael on github.
  • I am grafael (https://keybase.io/grafael) on keybase.
  • I have a public key ASCexLTjKUt3R9BZdrpxBra13JDGfYwG9uvIRWgoMw4KcAo

To claim this, I am signing this object:

@grafael
grafael / flatten.py
Created October 30, 2017 02:55
Flattening arrays in python
import collections
import unittest
def flatten(arr):
"""Returns a flattened list
Args:
(list): The list of elements
@grafael
grafael / designer.html
Last active August 29, 2015 14:07
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
@grafael
grafael / designer.html
Last active August 29, 2015 14:07
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<polymer-element name="my-element">
<template>
<style>
:host {