- Ensure you have Windows 10 & The Fall Creators Update installed.
- Uninstall Virtualbox
- Enable Hyper-V
- Create a new Virtual Switch in Hyper-V that is type "External" (You'll use this whenever asked)
Add / edit these 2 lines in your Homestead.yaml
FROM python:2.7-alpine | |
MAINTAINER Nick Janetakis <[email protected]> | |
ENV INSTALL_PATH /bsawf | |
RUN mkdir -p $INSTALL_PATH | |
WORKDIR $INSTALL_PATH | |
COPY requirements.txt requirements.txt | |
RUN apk add --no-cache --virtual .build-deps \ |
import { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |
#!/bin/bash | |
# Add these functions to your ~/.bashrc file. | |
function mktunnel { | |
if [[ $* == '' ]] || [[ $1 == '-h' ]]; then | |
echo 'Usage: mktunnel LOCALPORT REMOTEPORT REMOTEHOST' | |
else | |
ssh -fCNL $1:localhost:$2 $3; | |
fi |