apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: reviews
...
spec:
hosts:
- reviews
http:
# Install the Azure Service Fabric Mesh CLI extension module using following command.
$ az extension add --name mesh
# To update an existing Azure Service Fabric Mesh CLI module, run the following command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// $ cat Makefile | |
// ---------------------------------------- | |
// all: bin2hex | |
// su: | |
// gcc -O3 -o bin2hex bin2hex.c | |
// clean: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e -x | |
RESOURCE_GROUP="RG-apim" | |
REGION="southeastasia" | |
# REGION needs to be the following ACI available regions: | |
# westus,eastus,westeurope,westus2,northeurope,southeastasia,eastus2,centralus,australiaeast,southcentralus,centralindia,canadacentral | |
PREFIX="yoichika" | |
echo "Create Resource Group" |
$ az policy definition list -o table
Description DisplayName Mode Name PolicyType
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import http.client, urllib.parse, base64, json | |
import requests | |
import argparse | |
import configparser | |
import logging | |
import os,sys | |
import gensim.downloader as api | |
from gensim.models import Word2Vec |
According to this,
More precisely, a double dash (--) is used in bash built-in commands and many other commands to signify the end of command options, after which only positional parameters are accepted.
For example
# with -- you can grep for string -v like this
# normally -v will be considered the option to reverse the matching meaning
$ grep -- -v file
# -- signify the end of command options of kubectl, and kubectl simply