As configured in my dotfiles.
start new:
tmux
start new with session name:
import React from 'react' | |
export default class Icon extends React.Component { | |
render () { | |
const {type, className} = this.props | |
return ( | |
<i | |
className={`fa fa-${type} fa-fw ${className}`} | |
{...this.props} |
import React from 'react'; | |
import { shallow } from 'enzyme'; | |
const Item = text => <p>Item {text}</p>; | |
const Composition = ({ showB }) => ( | |
<p> | |
<Item text="A" /> | |
{showB && <Item text="B" />} | |
</p>); |
# Show Git Branch | |
git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
export PS1="[\u@\h \W]\[\033[00;32m\]\$(git_branch)\[\033[00m\]\$ " |
const webpack = require('webpack') | |
const path = require('path') | |
const cssnano = require('cssnano') | |
const BASE_PATH = '..' | |
const resolvePath = subPath => path.resolve(__dirname, `${BASE_PATH}/${subPath}`) | |
const env = process.env.NODE_ENV || 'development' | |
/* eslint-disable */ |
As configured in my dotfiles.
start new:
tmux
start new with session name:
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
var html = twig({ ref: "user-profile" }).render({ | |
list: ["a", "b", "c"] | |
}); |