dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
# --------------------------------------------------------------------------------------------------------------------- | |
# ENVIRONMENT VARIABLES | |
# Define these secrets as environment variables | |
# --------------------------------------------------------------------------------------------------------------------- | |
# AWS_ACCESS_KEY_ID | |
# AWS_SECRET_ACCESS_KEY | |
# --------------------------------------------------------------------------------------------------------------------- | |
# REQUIRED PARAMETERS |
<h1 id="awesome-kubernetes">Awesome-Kubernetes</h1> | |
<h2 id="awesome-kubernetes-annotations">Copy from https://github.com/ramitsurana/awesome-kubernetes, used for learning</h2> | |
<p><a href="https://github.com/sindresorhus/awesome"><img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome"></a> | |
<a href="https://travis-ci.org/ramitsurana/awesome-kubernetes"><img src="https://travis-ci.org/ramitsurana/awesome-kubernetes.svg?branch=master" alt="Build Status"></a> | |
<a href="https://semaphoreci.com/ramitsurana/awesome-kubernetes"><img src="https://semaphoreci.com/api/v1/ramitsurana/awesome-kubernetes/branches/master/badge.svg" alt="Build Status"></a> | |
<a href="http://creativecommons.org/licenses/by-nc/4.0/"><img src="https://img.shields.io/badge/License-CC%204.0-brightgreen.svg?style=flat-square" alt="License"></a> | |
<a href="https://hub.docker.com/r/ramitsurana/awesome-kubernetes"><img src="https://img.shields.io/docker/build/ramitsurana/awesome-kubernet |
Hello! This gist goes with this video, which covers shortcuts and strategies for working with the K8s command line. You can see all of my videos on YouTube at https://adrian.goins.tv.
I use Fish as my shell, but I know that a lot of people are using Bash. Here are two ways to concatenate config files for kubectl
into the KUBECONFIG
environment variable. If you're using zsh
or tcsh
you'll know how to convert these to your shell's format.
You can call these from your shell init file, or if you want to temporarily disable a script, append .bak
or .disabled
to its extension and run the script manually.
You can even hotkey it on something like the Elgato Stream Deck.
# Name: ansible-aws-inventory-worker.yml | |
# Description: this is the worker file that called the main file (ansible-aws-inventory-main.yml) to to create an inventory of all the | |
# specific aws resources. This file, the worker file and the ansible inventory file must be placed in the same folder | |
# Prerequisites: | |
# - the worker file (ansible-aws-inventory-worker.yml) and the ansible hosts file must be present in the same folder as this file (ansible-aws-inventory-main.yml) | |
# - this script requires read access to all resources it will be querying. An AWS IAM user account must be created with the necessary permissions and with access keys enabled. | |
# At a minimum, to query all the resources mentioned above, the following permissions are required | |
# - AmazonVPCReadOnlyAccess | |
# - AmazonEC2ReadOnlyAccess | |
# - ElasticLoadBalancingReadOnly |
--- | |
# Name: ansible-aws-inventory-main.yml | |
# Description: this is the main file that calls the worker file (ansible-aws-inventory-worker.yml) to create an inventory of all the | |
# specific aws resources. | |
# Below are the resources that will be inventoried | |
# - vpc | |
# - subnet | |
# - igw | |
# - cgw | |
# - vgw |
Please refer to this blogpost to get an overview.
Replace *-INSTANCE
with one of the public instances listed in the scrapers section. Replace CAPITALIZED
words with their corresponding identifiers on the website.
Keyboard Control | |
LEFT and RIGHT | |
Seek backward/forward 5 seconds. Shift+arrow does a 1 second exact seek (see --hr-seek). | |
UP and DOWN | |
Seek forward/backward 1 minute. Shift+arrow does a 5 second exact seek (see --hr-seek). | |
Ctrl+LEFT and Ctrl+RIGHT | |
Seek to the previous/next subtitle. Subject to some restrictions and might not always work; see sub-seek command. | |
Ctrl+Shift+Left and Ctrl+Shift+Right | |
Adjust subtitle delay so that the next or previous subtitle is displayed now. This is especially useful to sync subtitles to audio. | |
[ and ] |
## docker-compose para correr wordpress con una base de datos en mysql | |
## by PeladoNerd https://youtu.be/eoFxMaeB9H4 | |
version: '3.1' | |
services: | |
wordpress: | |
image: wordpress:php7.1-apache | |
ports: |