- macOS
- ubuntu 18.04
- neovim
- iterm2
- GitHub – code repositories
#!/bin/bash | |
SUDO_USER=$(whoami) | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
fi | |
echo "Updateing homebrew..." |
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = lf | |
insert_final_newline = true |
#!/bin/bash | |
if [ "$#" -eq 0 ]; then | |
tmux new-session -d -s 'ide' | |
tmux attach -t ide | |
tmux split-window -v -p 30 | |
tmux split-window -h -p 66 | |
tmux split-window -h -p 50 | |
tmux select-pane -t 1 | |
else | |
case $1 in |
# $ chmode 755 deploy.sh | |
# $ ./deploy.sh | |
#!/bin/bash | |
set -e | |
CLONE_TO=/path/to/clone | |
REPO_URL=git@github.com:hiro08gh/repos.git | |
BRANCH=master |
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/node:10.13-browsers | |
working_directory: ~/repo | |
steps: | |
- checkout |
#!/bin/bash | |
DOT_FILES=( .zshrc .tmux.conf .vimrc ) | |
for file in ${DOT_FILES[@]} | |
do | |
ln -s $HOME/dotfiles/$file $HOME/$file | |
done |
import React, {useState} from 'react'; | |
import PhotoUpload from './PhotoUpload'; | |
import PhotoList from './PhotoList'; | |
const PhotoUploadContainer = () => { | |
const [image, setImage] = useState(''); | |
const handleUpload = () => { | |
...any | |
} |
import React from 'react'; | |
import { render } from 'react-dom'; | |
import { Router } from 'react-router-dom'; | |
import ReactGA from 'react-ga'; | |
import {hotjar} from 'react-hotjar'; | |
import * as Sentry from '@sentry/browser'; | |
import App from './App'; | |
const { NODE_ENV } = process.env; |