- have fun with them
- projections
- filters
- resource-keys
- scripting-gcloud
- gcloud alpha interactive
- https://medium.com/@Joachim8675309/getting-started-with-gcloud-sdk-part-1-114924737
- https://medium.com/@Joachim8675309/getting-started-with-gcloud-sdk-part-2-4d049a656f1a
- https://gist.github.com/bborysenko/97749fe0514b819a5a87611e6aea3db8
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
alias k='kubectl' | |
alias ksys='kubectl --namespace=kube-system' | |
alias ka='kubectl apply --recursive -f' | |
alias ksysa='kubectl --namespace=kube-system apply --recursive -f' | |
alias ke='kubectl edit' | |
alias kex='kubectl exec -i -t' | |
alias ksysex='kubectl --namespace=kube-system exec -i -t' | |
alias klo='kubectl logs -f' | |
alias ksyslo='kubectl --namespace=kube-system logs -f' | |
alias klop='kubectl logs -f -p' |
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
shasum -a 256 gradle-2.4-all.zip |
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
@resources.register('project-iam-policy') | |
class ProjectIAMRole(QueryResourceManager): | |
"""GCP resource: https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy | |
""" | |
class resource_type(TypeInfo): | |
service = 'cloudresourcemanager' | |
version = 'v1' | |
component = 'projects' | |
scope = 'project' |
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
@ECHO off | |
:top | |
CLS | |
ECHO Choose a shell: | |
ECHO [1] git-bash | |
ECHO [2] PowerShell | |
ECHO [3] cmd | |
ECHO [4] Linux bash | |
ECHO [5] Python | |
ECHO. |
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
{ | |
"users":[ | |
{ | |
"name": "guest", | |
"password_hash": "o2MJjT8UKSRM7eoLDMWvm4LxqaFvDxd2wLg1KQQQ2jXfG5UE", | |
"hashing_algorithm": "rabbit_password_hashing_sha256", | |
"tags": "administrator" | |
} | |
], | |
"vhosts": [ |
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
version: '3' | |
services: | |
rabbitmq: | |
image: rabbitmq:3.7.14-management-alpine | |
hostname: "rabbit" | |
environment: | |
RABBITMQ_DEFAULT_VHOST: "/" | |
ports: | |
- "15672:15672" | |
- "5672:5672" |
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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 12, | |
// font family with optional fallbacks | |
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.8)', |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha All", | |
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | |
"args": [ | |
"--timeout", |
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Mocha - Current", | |
"type": "shell", | |
"command": ".\\node_modules\\.bin\\mocha -r .\\node_modules\\ts-node\\register", | |
"args": [ | |
"${relativeFile}" | |
], |
NewerOlder