KIND development workflow
- Create your kind cluster (suit yourself https://kind.sigs.k8s.io/docs/user/configuration/)
cat <<EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
cat <<EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
Git sees every file in your working copy as one of three things:
Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be committed. Some common examples are:
// For all the confusing Prometheus configuration and | |
// regular expressions, | |
// explained in examples. | |
// Remember, there are default values for each item if it's missing. | |
// regex is (.*), | |
// replacement is $1, | |
// separator is ; | |
// ,and action is replace |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"rds-db:connect" | |
], | |
"Resource": [ | |
"arn:aws:rds-db:region:account-id:dbuser:dbi-resource-id/database-user-name" |
#!/bin/zsh | |
################### | |
# Mac version | |
################### | |
CUR_DIR=$(pwd) | |
# If you come from bash you might have to change your $PATH. | |
# Path to your oh-my-zsh installation. |
#!/bin/zsh | |
################### | |
# Mac version | |
################### | |
CUR_DIR=$(pwd) | |
# If you come from bash you might have to change your $PATH. | |
# Path to your oh-my-zsh installation. |
This cheat sheet provides a detailed overview of the exposed lifecycle events and available commands (and entrypoints) of the Serverless framework, that can be hooked by plugins (internal and external ones). The document is structured by the commands invoked by the user.
Lifecycle events are shown as the globally available outer events (all providers) and sub lifecycle events that are provider specific in the called order. Currently only the AWS provider is shown. If you have information about the other provider,
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBQkaB5rQXDDIgxSQKs16gbfzmpSK774B892qI9VkOL6CDIXWbpeuX8mU+r7FWZtBEK10BuOBe4dRz59ucGCjnkQ50j/u9pzl+XHcBDS9MtdwVN07rrUwUrIh+GyUV6G+oFvYO7cJ2fJxSIr6ulehEvWwyUkQpKnqtdBczeChmfCGDz9wMK1EKWRRRU6sqAu5uElNU0HZ+KqLdbS7KS0g9axqbF6mk5851GNzOQGk9P7xXKSiaqgTDSBfaxYKRf08gT6udhidKn4evhF8VYWKCU5gzKmcWXEaHaL9RAd3wRgIOpJQQqwDijKRvZ1aMSUn5hurCYTBJ+m/7Mg6FGr8J antho@NY-ACheng |
#! /usr/bin/env python3.5 | |
""" | |
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5. | |
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
This will be only fixes the bluez5 problem mentioned above . |