- rvm
- Ruby 2.3.4
- nvm
- Node 6.x
- yarn
- mysql 5.6.x
- ImageMagick 6.x
- Sencha Cmd 5.1.3 (Mac)
- Java >=6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _ from 'lodash/fp' | |
const response = { | |
"Title": "Pulp Fiction", | |
"Year": "1994", | |
"Rated": "R", | |
"Released": "14 Oct 1994", | |
"Runtime": "154 min", | |
"Genre": "Crime, Drama", | |
"Director": "Quentin Tarantino", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COLOR_OFF="\[\033[0m\]" | |
GREEN="\[\033[0;32m\]" | |
YELLOW="\[\033[0;33m\]" | |
function parse_git_branch { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /' | |
} | |
# export PS1="${GREEN}\w ${YELLOW}\$(parse_git_branch)${COLOR_OFF}\nλ " | |
export PS1="${GREEN}\w ${YELLOW}\$(parse_git_branch)${COLOR_OFF}$ " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import styled from 'styled-components' | |
const Base = ({ value = '' }) => <div>{value}</div> | |
type CSSProperties = { | |
'grid-gap': number | string, | |
} | |
type ObjectFrom<TProperty extends string, TResult> = { |
OlderNewer