This file contains 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
# FORGE CONFIG (DOT NOT REMOVE!) | |
include forge-conf/moxtree-l5.adamklein.io/before/*; | |
server { | |
listen 80 ssl; | |
server_name moxtree-l5.adamklein.io; | |
root /home/forge/moxtree-l5.adamklein.io/laravel5/public; | |
return 301 https://moxtree-l5.adamklein.io$request_uri; |
This file contains 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
{ | |
"name": "redux-live-class-recipe-app", | |
"version": "1.0.0", | |
"description": "An MVP of a React+Redux-based Recipe management app for a live class.", | |
"scripts": { | |
"api": "NODE_ENV=development nodemon --exec babel-node -- api.js", | |
"start": "NODE_ENV=development node server.js", | |
"test": "tape -r babel-register 'src/**/*spec.js' | faucet", | |
"cover": "nyc -x '**/*spec.js' -r text -r html -r lcov npm test", | |
"lint": "eslint src" |
This file contains 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
38019 verbose addNameRange registry:https://registry.npmjs.org/camelcase not in flight; fetching | |
38020 silly cache add parsed spec Result { | |
38020 silly cache add raw: 'lodash.assign@^4.0.6', | |
38020 silly cache add scope: null, | |
38020 silly cache add name: 'lodash.assign', | |
38020 silly cache add rawSpec: '^4.0.6', | |
38020 silly cache add spec: '>=4.0.6 <5.0.0', | |
38020 silly cache add type: 'range' } | |
38021 silly addNamed lodash.assign@>=4.0.6 <5.0.0 | |
38022 verbose addNamed ">=4.0.6 <5.0.0" is a valid semver range for lodash.assign |
This file contains 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
{ | |
"name": "redux-live-class-recipe-app", | |
"version": "1.0.0", | |
"description": "An MVP of a React+Redux-based Recipe management app for a live class.", | |
"scripts": { | |
"api": "NODE_ENV=development nodemon --exec babel-node -- api.js", | |
"start": "set NODE_ENV=development && node server.js", | |
"test": "tape -r babel-register 'src/**/*spec.js' | faucet", | |
"cover": "nyc -x '**/*spec.js' -r text -r html -r lcov npm test", | |
"lint": "eslint src" |
This file contains 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 { AppContainer } from 'react-hot-loader'; | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import App from './components/app'; | |
ReactDOM.render( | |
<App />, | |
document.getElementById( 'app' ) | |
); |
This file contains 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
var path = require( 'path' ); | |
var webpack = require( 'webpack' ); | |
var env = process.env.NODE_ENV || 'production'; | |
var dev = [ 'development', 'testing' ].indexOf( env.toLowerCase() ) !== -1 ? true : false; | |
module.exports = { | |
devtool: dev ? 'inline-source-map' : 'eval', | |
entry: [ |
This file contains 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
let &runtimepath.=',$HOME/.vim' | |
set nocompatible "we want latest vim settings and options | |
so ~/.vim/plugins.vim | |
"-------------General Settings--------------" | |
set directory+=$HOME | |
set directory+=$TEMP |
This file contains 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' | |
services: | |
nginx: | |
image: shippingdocker/nginx:latest | |
ports: | |
- "80:80" | |
volumes: | |
- /srv/application:/var/www/html | |
networks: | |
- appnet |
This file contains 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
#!/bin/bash | |
trap '[ "$?" -eq 0 ] || read -p "Looks like something went wrong in step ´$STEP´... Press any key to continue..."' EXIT | |
# TODO: I'm sure this is not very robust. But, it is needed for now to ensure | |
# that binaries provided by Docker Toolbox over-ride binaries provided by | |
# Docker for Windows when launching using the Quickstart. | |
export PATH="/c/Program Files/Docker Toolbox:$PATH" | |
VM=${DOCKER_MACHINE_NAME-default} | |
DOCKER_MACHINE=./docker-machine.exe |
This file contains 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
context('Currency Converter Test', () => { | |
it('', () => { | |
cy.visit('https://www.xe.com/') | |
cy.get('#amount').type(100) | |
cy.get('button[data-test-id=converter-submit-button]').click() | |
cy.get('.converterresult-toAmount').invoke('text').then(parseFloat).should('be.gt', 84) |