Skip to content

Instantly share code, notes, and snippets.

Brian Han hellobrian

Block or report user

Report or block hellobrian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hellobrian / example.css
Created Jan 2, 2019
Prettier: Badly Formatted Code for Demo
View example.css
html {
box-sizing: border-box;
font-size: 16px ;
*, *:before, *:after {
box-sizing: inherit ;
.banana > span:after {
hellobrian /
Last active Feb 26, 2018
Tokyo for Flemings by Brian

Tokyo for Flemings by Brian

Shinjuku Station

Ramen Nagi (must)

  • In Golden Gai, which has a bunch of small bars.
  • Mixes fish and pork based borths, huge portions
  • How to order: walk-in, go upstairs, get ticket from vending machine. If seats are full, go back outside and wait in the alley.
hellobrian / index.js
Last active Jan 9, 2019
HMR create-react-app
View index.js
* index.js
import React from 'react';
import ReactDOM from 'react-dom';
import App from 'App';
import { Provider } from 'react-redux';
import configureStore from 'state/store'; // see store.js in the gist below
import { BrowserRouter } from 'react-router-dom';
View .gitconfig
email =
name = Brian Han
# Each git user will have their own .gitconfig,
# The only difference between each .gitconfig file is the [user] email and name
# If working on a project in ~/dev, this will tell git to use the .gitconfig file specified by the path variable.
[includeIf "gitdir:~/dev/"]
path = ~/dev/.gitconfig
View index.js
const axios = require('axios');
const breakfastItems = {
coffee: '',
eggs: '🍳',
bacon: '🥓'
const makeCoffee = (cb) => {
return new Promise(resolve => {
hellobrian / _carousel.scss
Created Sep 5, 2017
carousel and lightbox
View _carousel.scss
View _css--body.scss
@import 'colors';
@import 'vars';
@import 'mixins';
@import 'typography';
@import 'import-once';
@mixin css-body {
body {
@include reset;
View foo.js
// prop callback
class Compoennt {
render() {
return (
<Thing onChange={(val) => {
this.setState({ val1: val })
<Thing onChange={(val) => {
this.setState({ val2: val })
You can’t perform that action at this time.