A guide to setup your WSL with Hyper and zsh
- Follow the very thorough instructions here
- Download Hyper.js here - I went with the 'hyperblue' theme.
/* eslint-disable @typescript-eslint/unified-signatures */ | |
/* eslint-disable @typescript-eslint/naming-convention */ | |
interface ZendeskWidgetCommander { | |
/** @see https://developer.zendesk.com/embeddables/docs/widget/core#clear */ | |
(type: 'webWidget', command: 'clear'): void; | |
/** @see https://developer.zendesk.com/embeddables/docs/widget/core#close */ | |
(type: 'webWidget', command: 'close'): void; | |
/** @see https://developer.zendesk.com/embeddables/docs/widget/core#get-display */ |
// depends on fetch, async/await (node 8.2.1+) | |
require('isomorphic-fetch'); | |
const getAllPlatforms = async apiKey => { | |
const rawResponse = await fetch(`http://www.giantbomb.com/api/platforms?api_key=${apiKey}&format=json&field_list=name,id`); | |
const response = await rawResponse.json(); | |
// check response.error === "OK" && repsonse.status_code === 1 | |
return response.results; | |
} |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
#cloud-config | |
coreos: | |
etcd2: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3 | |
# specify the initial size of your cluster with ?size=X | |
discovery: https://discovery.etcd.io/<token> | |
# multi-region and multi-cloud deployments need to use $public_ipv4 | |
advertise-client-urls: http://$private_ipv4:2379,http://$private_ipv4:4001 | |
initial-advertise-peer-urls: http://$private_ipv4:2380 |
# Add Docker PPA and install latest version | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" | |
sudo apt-get update | |
sudo apt-get install lxc-docker -y | |
# Install fig | |
sudo sh -c "curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig" | |
sudo chmod +x /usr/local/bin/fig |
found at: http://fascinated.fm/post/2379188731/getting-a-motorola-sbg6580-into-bridge-mode-on
Getting a Motorola SBG6580 into “Bridge” mode on TimeWarner Wideband