brew update
brew install zsh
brew cask install iterm2
brew cask cleanup
# change shell from bash to zsh.
chsh -s /usr/local/bin/zsh
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
| tap "caskroom/cask" | |
| tap "caskroom/fonts" | |
| tap "homebrew/bundle" | |
| tap "homebrew/core" | |
| tap "homebrew/services" | |
| brew "cabextract" | |
| brew "elixir" | |
| brew "git" | |
| brew "mas" | |
| brew "mongodb", restart_service: true |
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-highlight.markRuler": false, | |
| "editor.dragAndDrop": false, | |
| "editor.fontFamily": "Consolas", | |
| "editor.fontSize": 18, | |
| "editor.formatOnSave": true, | |
| "editor.lineHeight": 24, | |
| "editor.minimap.enabled": false, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.snippetSuggestions": "top", |
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
| // The below is an example of writing a 'functional' component in React. | |
| // The notes I made for the Component API are very high-level and quick so read the docs | |
| // Since React@16 the docs have improved significantly!!! | |
| // https://reactjs.org/docs/components-and-props.html#functional-and-class-components | |
| // To better understand the component life-cycles use the following egghead.io tut | |
| // https://egghead.io/courses/start-learning-react (I believe it is free!) | |
| import React from 'react'; | |
| import { render } from 'react-dom' |
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
| # https://github.com/robbyrussell/oh-my-zsh | |
| # https://github.com/bhilburn/powerlevel9k | |
| # http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html | |
| # https://nerdfonts.com | |
| ################################################# | |
| #---------------- Variables --------------------# | |
| ################################################# | |
| CLOUDPATH="$HOME/Library/Mobile Documents/com~apple~CloudDocs/dotfiles" |
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
| version: 2 | |
| jobs: | |
| checkout_code: | |
| docker: | |
| - image: circleci/node:latest | |
| working_directory: ~/microauth-vkontakte | |
| steps: | |
| - checkout | |
| - attach_workspace: | |
| at: ~/microauth-vkontakte |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>{{ .Site.Title }}</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/evil-icons/1.9.0/evil-icons.min.css"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css"> |
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
| # https://github.com/robbyrussell/oh-my-zsh | |
| # https://github.com/bhilburn/powerlevel9k | |
| # http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html | |
| # https://nerdfonts.com | |
| ################################################# | |
| #---------------- ZSH Theme --------------------# | |
| ################################################# | |
| POWERLEVEL9K_MODE='nerdfont-complete' |
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
| /* eslint-disable no-return-assign, no-param-reassign */ | |
| import { Component } from 'react' | |
| import { | |
| FormWithConstraints, | |
| FieldFeedback, | |
| FieldFeedbacks | |
| } from 'react-form-with-constraints' | |
| import { styles } from '../../lib' | |
| import sendToBackend from './api' |
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, { Component } from 'react' | |
| import { Field, reduxForm } from 'redux-form' | |
| import PropType from 'prop-types' | |
| import { messages } from '../../lib' // ignore pertains to `react-intl` | |
| import validate from './validate' | |
| import Input from './Input' | |
| import TextArea from './TextArea' | |
| class BookingForm extends Component { |