https://medium.com/@ssharizal/hyper-js-oh-my-zsh-as-ubuntu-on-windows-wsl-terminal-8bf577cdbd97
chsh -s $(which zsh)
[ignore] | |
default = [ | |
# System files | |
".DS_Store", | |
"._*", | |
# Vim files | |
"*~", | |
"*.sw[a-p]", |
version: 2 | |
options: | |
compose-file-path: 'docker-compose.yml' | |
compose-dev-file-path: 'docker-compose-dev.yml' | |
syncs: | |
admin-app-sync: | |
sync_strategy: 'native_osx' | |
src: './' | |
sync_args: |
FROM microsoft/aspnetcore-build:2.0 AS build-env | |
WORKDIR /app | |
# Copy csproj and restore as distinct layers | |
COPY *.csproj ./ | |
RUN dotnet restore | |
# Copy everything else and build | |
COPY . ./ | |
RUN rm -rf node_modules && npm install |
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
I think I'm definitely going hard on using the word "improper" but my justification is that you're going to write "client side" code either way. It's going to exist in blade templates, or web components. Where I see the react ecosystem moving is write-once components that can then actually be used cross-platform. I just can't justify to a client (or myself) tossing HTML in blade templates and tolerating postback page load times anymore. I look at it as a sort of separation of concerns on steroids, beyond just domain design -> into the full application desgin. I like (and real-world use has proven) the idea of two very cleanly separated contexts, one where I'm writing only an API, and one where I'm only writing client-related code. I can make sure either side has only the code they need, only the tests they need, and there's no mixing of code. I don't even need a web browser for my API, and for React with jest/enzyme I barely need one for writing clients now as well.
The middle ground I'm warming up to is hav
{ | |
"plugins": [ | |
"react" | |
], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
}, | |
"ecmaVersion": 6, |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
" Switch between relative and no relative number in command/insert | |
au FocusLost * :set norelativenumber | |
au FocusGained * :set relativenumber | |
autocmd InsertEnter * :set norelativenumber |
September 25, 2014