-
[MeetEcho](https://gce.conf.meetecho.com/conference/?group=httpapi=
-
Taking minutes? See our guide*
-
Chairs: Darrel Miller, Rich Salz
This file contains 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
# gh alias | |
_git_base(){ | |
local repo="$1" | |
if [[ "$repo" =~ '^https://' || "$repo" =~ 'git@' ]]; then | |
echo '' | |
return | |
fi | |
if [[ "$repo" =~ 'ioggstream' || "$repo" =~ 'teamdigitale' || "$repo" =~ 'par-tec' ]]; then | |
echo 'git@github.com:' |
This file contains 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
# | |
# Parses yaml files contained in https://github.com/OWASP/samm/tree/master/Supporting%20Resources/v2.0/Datamodel/Datafiles | |
# | |
from glob import glob | |
from pathlib import Path | |
import yaml | |
def read_yaml(f): |
This file contains 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
# | |
# Questo e' un progetto d'esempio in formato OpenAPI 3.0 API Starter Kit. | |
# | |
# Stai per sviluppare un API? Segui attentamente questo template e | |
# potrai integrarla facilmente in Developers Italia. | |
# | |
# Se usi componenti in modo ricorrente, yaml | |
# permette di definirle e riusarle. | |
# Puoi metterle nell'oggetto x-commons e rimuoverlo | |
# prima di pubblicarle. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
maps: | |
Asburgici: | |
Wien: | |
- AT | |
- ITH1 | |
- ITH2 # trentino alto adige | |
Istria: | |
- ITH4 | |
- SI | |
- HR # istria |
This file contains 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
openapi: 3.0.3 | |
info: | |
version: 1.0.0-rc.1 | |
title: GitHub v3 REST API | |
description: GitHub's v3 REST API. | |
license: | |
name: MIT | |
url: https://spdx.org/licenses/MIT | |
termsOfService: https://docs.github.com/articles/github-terms-of-service | |
contact: |
This file contains 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
import click | |
import ast | |
import astor | |
from pathlib import Path | |
import logging | |
log = logging.getLogger() | |
logging.basicConfig(level=logging.INFO) | |
This file contains 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
# azure cli, if you don't want to install node on your laptop | |
az(){ | |
# Prepend az if you run this function with parameters | |
if [ "$#" -gt "0" ]; then | |
set -- az "$@" | |
fi | |
docker run --rm -it -u $UID \ | |
-v $PWD:/code \ | |
-v $HOME/.kube-azure:/.kube \ | |
-v $HOME/.azure:/root/.azure \ |