Skip to content

Instantly share code, notes, and snippets.

View brunormferreira's full-sized avatar
:octocat:
coding and learning

Bruno Ramires brunormferreira

:octocat:
coding and learning
View GitHub Profile
@brunormferreira
brunormferreira / .prettier.config.js
Created January 31, 2020 00:18
prettier config
module.exports = {
arrowParens: 'avoid',
bracketSpacing: true,
endOfLine: 'auto',
htmlWhitespaceSensitivity: 'css',
jsxBracketSameLine: false,
jsxSingleQuote: false,
printWidth: 80, // default: 80
proseWrap: 'preserve',
semi: true,
@brunormferreira
brunormferreira / GitCommitEmoji.md
Created December 12, 2019 11:46 — forked from waahab/GitCommitEmoji.md
Git Commit message Emoji
@brunormferreira
brunormferreira / context-api.js
Created November 24, 2019 23:03
context-api
import React, { Component } from 'react'
// first we will make a new context
const MyContext = React.createContext()
// Then create a provider component
class MyProvider extends Component {
state = {
name: 'Bruno',
age: 23,
@brunormferreira
brunormferreira / box-shadow.html
Created October 4, 2019 13:16 — forked from ocean90/box-shadow.html
CSS3 Box Shadow, only top/right/bottom/left and all
<!DOCTYPE html>
<html>
<head>
<title>Box Shadow</title>
<style>
.box {
height: 150px;
width: 300px;
margin: 20px;
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
// Copied and Pasted from Harry Roberts Beutons -
// http://github.com/csswizardry/beautons/blob/master/beautons.css
// Base