Get the contexts:
$ kubectl config get-contexts
Switch between contexts:
$ kubectl config use-context [CONTEXT_NAME]
I used the reference below to make this simple tutorial!
sudo snap start docker
""" | |
This is an example on how to reload Flask app in runtime | |
It can be useful for the use case where you want to enable/disable blueprints/routes dynamically. | |
To run the app: | |
> pip install flask & python app.py | |
Then test it via curl |
"Gerenciadores de Plugin | |
call plug#begin() | |
Plug 'arcticicestudio/nord-vim' | |
call plug#end() | |
execute pathogen#infect() | |
"Tamanho da identacao | |
set tabstop=2 | |
"Desativa quebra de linha | |
set nowrap | |
"Apresenta numero de linhas |
<!doctype html> | |
<html> | |
<head> | |
<title>Flexbox example page</title> | |
<link href="teste.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<div class="container"> | |
<header> | |
<h1>Ink</h1> |
var express = require("express"); | |
var request = require("sync-request"); | |
var url = require("url"); | |
var qs = require("qs"); | |
var querystring = require('querystring'); | |
var cons = require('consolidate'); | |
var randomstring = require("randomstring"); | |
var __ = require('underscore'); | |
__.string = require('underscore.string'); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
.button { | |
border-radius: 4px; | |
text-align: center; | |
padding: 1em; | |
transition: all 0.5s; |