View App.js
import React from "react"; | |
import { render } from "react-dom"; | |
import { StepList } from "./StepList"; | |
import { Step } from "./Step"; | |
const PageTwo = () => ( | |
<h2>We have a second page.</h2> | |
) | |
const PageThree = () => ( |
View AppCombined.js
import React from "react"; | |
import { render } from "react-dom"; | |
import { StepList } from "./StepList"; | |
import { Step } from "./Step"; | |
const PageTwo = () => ( | |
<h2>We have a second page.</h2> | |
) | |
const PageThree = () => ( |
View tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet
start new:
tmux
start new with session name:
tmux new -s myname
View dockfile.md
Install iTerm
- Change iterm2 theme to solarized
Install oh-my-zsh
Install agoster theme on .zshrc
- https://github.com/robbyrussell/oh-my-zsh/issues/4756
- https://github.com/powerline/fonts
- change the fonts in iterm
View Dockerfile
# Dockerfile | |
# using debian:jessie for it's smaller size over ubuntu | |
# FROM debian:jessie | |
FROM ubuntu:xenial | |
# Replace shell with bash so we can source files | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
# Set environment variables | |
ENV appDir /var/www/app/current |
View smartcar
swagger: '2.0' | |
info: | |
title: RVI HTTP API Spec | |
version: '0.0.5' | |
schemes: | |
- http | |
- https | |
consumes: | |
- application/json | |
produces: |
View video.jsx
var React = require('react'); | |
var cx = require('classnames'); | |
var vjs = require('video.js'); | |
var _forEach = require('lodash/collection/forEach'); | |
var _debounce = require('lodash/function/debounce'); | |
var _defaults = require('lodash/object/defaults'); | |
var DEFAULT_HEIGHT = 800; | |
var DEFAULT_WIDTH = 600; | |
var DEFAULT_ASPECT_RATIO = (9 / 16); |