In your command-line run the following commands:
brew doctorbrew update
| @font-face { | |
| font-family: SegoeUI; | |
| src: | |
| local("Segoe UI Light"), | |
| url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"), | |
| url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"), | |
| url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype"); | |
| font-weight: 100; | |
| } |
| //I like to use zsh(with oh-my-zsh) as my default shell. | |
| //First define your default distro for wsl | |
| //run this on cmd.exe | |
| //wslconfig /l | |
| //wslconfig /s Ubuntu | |
| //use this options on preferences of Hyper.js termina to use it as default. | |
| { | |
| shell: 'C:\\Windows\\System32\\bash.exe', |
In your command-line run the following commands:
brew doctorbrew update| #!/bin/bash | |
| usage() { echo "usage: --coursename [--coursename \"build-a-react-app-with-redux\"] --type [--type \"courses|lessons\"]" 1>&2; exit 1; } | |
| OPTS=$(getopt -o c:t: --long coursename:,type: -n 'download_egghead_videos.sh' -- "$@") | |
| if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi | |
| eval set -- "$OPTS" |
| .ReactTable { | |
| position: relative; | |
| display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| -webkit-box-orient: vertical; | |
| -webkit-box-direction: normal; | |
| -ms-flex-direction: column; | |
| flex-direction: column; | |
| border: 1px solid rgba(0, 0, 0, 0.1); |
| # Use hyper.is or iTerm2 as terminal emulators | |
| # Install ohmyzsh | |
| # https://github.com/robbyrussell/oh-my-zsh | |
| # Copy over configs from ~/.bash_profile | |
| # For example, it may have the nvm setup or any aliases like exa=ls and cat=bat | |
| # ~/.hyper.js configuration: | |
| copyOnSelect: true |
C02STG51GTFM:localstack mpandit$ make infra
. .venv/bin/activate; exec localstack/mock/infra.py
Starting local dev environment. CTRL-C to quit.
Starting local Elasticsearch (port 4571)...
Starting mock ES service (port 4578)...
Starting mock S3 server (port 4572)...
Starting mock SNS server (port 4575)...
| // Add a 401 response interceptor | |
| window.axios.interceptors.response.use(function (response) { | |
| return response; | |
| }, function (error) { | |
| if (401 === error.response.status) { | |
| swal({ | |
| title: "Session Expired", | |
| text: "Your session has expired. Would you like to be redirected to the login page?", | |
| type: "warning", | |
| showCancelButton: true, |
| import React, { Component } from 'react' | |
| import { Redirect } from 'react-router' | |
| export default class ContactForm extends Component { | |
| constructor () { | |
| super(); | |
| this.state = { | |
| fireRedirect: false | |
| } | |
| } |
| /* | |
| * See LICENSE for licensing and NOTICE for copyright. | |
| */ | |
| package edu.vt.middleware.app; | |
| import java.io.File; | |
| import java.security.*; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.function.Predicate; |