Add these lines in your ~/.bashrc
file
# Show git branch name
force_color_prompt=yes
color_prompt=yes
parse_git_branch() {
# Where is the location of your current shall. Useful if we need to revert | |
echo $0 | |
# Install ZSH | |
sudo apt-get install zsh | |
# Instal GIT | |
sudo apt-get install git-core | |
# Install OhMyZSH |
// Redux action | |
export function uploadSuccess({ data }) { | |
return { | |
type: 'UPLOAD_DOCUMENT_SUCCESS', | |
data, | |
}; | |
} | |
export function uploadFail(error) { | |
return { |
import express from 'express'; | |
import axios from 'axios'; | |
import multer from 'multer'; | |
const app = express(); | |
/** | |
... express.js boilerplate | |
routes, middlewares, helpers, loggers, etc | |
**/ |