Skip to content

Instantly share code, notes, and snippets.

View diegomura's full-sized avatar

Diego Muracciole diegomura

View GitHub Profile
@diegomura
diegomura / hypher.json
Created August 28, 2019 20:11
Env setup
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 13,
// font family with optional fallbacks
fontFamily: 'Hack, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.75)',
import React from 'react'
import { Document, Page, Text, View, StyleSheet, PDFDownloadLink } from '@react-pdf/renderer'
const styles = StyleSheet.create({
toolbar: {
padding: 20
},
page: {
padding: 30
}

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@diegomura
diegomura / .babelrc
Created June 23, 2017 21:44
react-pdf test project
{
"presets": ["es2015", "stage-0", "react"]
}
@diegomura
diegomura / .hyper.js
Created April 19, 2017 12:24
My Hyper setup
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@diegomura
diegomura / flatten-test.js
Last active December 6, 2016 02:40
flatten.js
import expect from 'expect';
import flatten from './flatten';
expect(flatten()).toThrow(TypeError);
expect(flatten(null)).toThrow(TypeError);
expect(flatten(1)).toThrow(TypeError);
expect(flatten(true)).toThrow(TypeError);
expect(flatten('1')).toThrow(TypeError);
expect(flatten({one: 1})).toThrow(TypeError);
expect(flatten([1, [null]])).toThrow(TypeError);