Skip to content

Instantly share code, notes, and snippets.

View gon250's full-sized avatar
๐Ÿ’ƒ
I may be slow to respond.

Gonzalo gon250

๐Ÿ’ƒ
I may be slow to respond.
View GitHub Profile
@gon250
gon250 / .bashrc
Created December 26, 2019 08:31
My personal .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@gon250
gon250 / ErrorBoundary.tsx
Created July 18, 2022 12:56
[Nextjs] ErrorBoundary
import React, {Component, ErrorInfo, ReactNode} from 'react';
import {CustomError} from '@components/error/custom.error';
interface Props {
children?: ReactNode;
}
interface State {
hasError: boolean;