Skip to content

Instantly share code, notes, and snippets.

View paulinhapenedo's full-sized avatar
🦉

Paula Penedo paulinhapenedo

🦉
View GitHub Profile
@bgromov
bgromov / git-reset-author.sh
Created June 23, 2016 17:50
Git: reset author for ALL commits
#!/bin/sh
# Credits: http://stackoverflow.com/a/750191
git filter-branch -f --env-filter "
GIT_AUTHOR_NAME='Newname'
GIT_AUTHOR_EMAIL='new@email'
GIT_COMMITTER_NAME='Newname'
GIT_COMMITTER_EMAIL='new@email'
" HEAD
@renatogalvones
renatogalvones / gist:09365a994e06f41967d7c448c87e4567
Last active September 1, 2016 13:51
Slides palestras BrazilJS 2016
@fdaciuk
fdaciuk / lazy-img.jsx
Last active December 8, 2022 18:38
React Lazy img load component
'use strict'
import React, { Component } from 'react'
import PropTypes from 'prop-types'
class LazyImg extends Component {
constructor () {
super()
this.state = { loaded: false }
this.img = {}