text:
// Package crds Code generated by go-bindata. (@generated) DO NOT EDIT.
// sources:
// installer.kubedb.com_kubedboperators.yaml
package crds

import (
	"bytes"
	"compress/gzip"
	"fmt"
	"io"
	"io/ioutil"
	"os"
	"path/filepath"
	"strings"
	"time"
)

func bindataRead(data []byte, name string) ([]byte, error) {
	gz, err := gzip.NewReader(bytes.NewBuffer(data))
	if err != nil {
		return nil, fmt.Errorf("read %q: %v", name, err)
	}

	var buf bytes.Buffer
	_, err = io.Copy(&buf, gz)
	clErr := gz.Close()

	if err != nil {
		return nil, fmt.Errorf("read %q: %v", name, err)
	}
	if clErr != nil {
		return nil, err
	}

	return buf.Bytes(), nil
}

type asset struct {
	bytes []byte
	info  os.FileInfo
}

type bindataFileInfo struct {
	name    string
	size    int64
	mode    os.FileMode
	modTime time.Time
}

// Name return file name
func (fi bindataFileInfo) Name() string {
	return fi.name
}

// Size return file size
func (fi bindataFileInfo) Size() int64 {
	return fi.size
}

// Mode return file mode
func (fi bindataFileInfo) Mode() os.FileMode {
	return fi.mode
}

// ModTime return file modify time
func (fi bindataFileInfo) ModTime() time.Time {
	return fi.modTime
}

// IsDir return file whether a directory
func (fi bindataFileInfo) IsDir() bool {
	return fi.mode&os.ModeDir != 0
}

// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
	return nil
}

var _installerKubedbCom_kubedboperatorsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5d\x6d\x8f\xdc\x38\x72\xfe\xee\x5f\x51\x98\x04\x98\x99\xa0\xbb\xc7\xce\x06\x87\xa4\x77\xb1\xc1\x9c\xed\x3d\x18\x7e\x59\xc3\xe3\xec\x06\x59\x5c\x00\xb6\x54\xad\xe6\x8d\x44\xca\x24\xd5\xe3\xde\x20\xff\x3d\xe0\x8b\xde\x45\x89\x6a\x8f\x77\xef\x72\xe2\x17\x7b\x24\x75\xb1\x58\x2c\x16\x8b\x4f\x3d\xea\x26\x39\xfd\x09\x85\xa4\x9c\x6d\x81\xe4\x14\x3f\x2b\x64\xfa\x2f\xb9\xb9\xff\x57\xb9\xa1\xfc\xe6\xf8\x6c\x87\x8a\x3c\x7b\x72\x4f\x59\xbc\x85\xe7\x85\x54\x3c\xfb\x80\x92\x17\x22\xc2\x17\xb8\xa7\x8c\x2a\xca\xd9\x93\x0c\x15\x89\x89\x22\xdb\x27\x00\x91\x40\xa2\x2f\x7e\xa4\x19\x4a\x45\xb2\x7c\x0b\xac\x48\xd3\x27\x00\x29\xd9\x61\x2a\xf5\x33\x00\x24\xcf\xb7\x70\x5f\xec\x30\xde\x3d\x01\x60\x24\xc3\xf2\x4f\x9e\xa3\x20\x8a\x0b\xb9\xa1\x4c\x2a\x92\xa6\x28\x36\xf6\xce\x26\xe2\xd9\x13\x99\x63\xa4\x45\x24\x82\x17\xf9\x16\x06\x9f\xb1\x02\x5d\x4f\x11\x51\x98\x70\x41\xcb\xbf\xd7\x75\xb7\xfa\x0f\x92\xe7\x32\xe2\x31\x9a\x3f\xed\x30\x5f\x17\x3b\x7c\xf1\xc7\x1f\x9d\x1e\xe6\x46\x4a\xa5\x7a\x3d\x70\xf3\x0d\x95\xca\x3c\x90\xa7\x85\x20\x69\x6f\x0c\xe6\x9e\xa4\x2c\x29\x52\x22\xba\x77\x9f\x00\xe4\x02\x25\x8a\x23\xfe\x07\xbb\x67\xfc\x81\xfd\x40\x31\x8d\xe5\x16\xf6\x24\x95\x5a\x23\x19\xf1\x1c\xb7\xf0\x4e\x8f\x26\x27\x11\xc6\x4f\x00\x8e\x24\xa5\xb1\xb1\xb0\x1d\x0f\xcf\x91\xdd\xbe\x7f\xf5\xd3\x37\x77\xd1\x01\x33\x62\x2f\x6a\xc9\xba\x1b\x55\x0d\xdb\x1a\xbd\x9a\xee\xea\x1a\x40\x8c\x32\x12\x34\x37\x12\xe1\x52\x8b\xb2\xcf\x40\xac\x27\x18\x25\xa8\x03\xc2\xd1\x5e\xc3\x18\xa4\xe9\x06\xf8\x1e\xd4\x81\x4a\x10\x68\xc6\xc0\x94\x51\xa9\x21\x16\xf4\x23\x84\x01\xdf\xfd\x05\x23\xb5\x81\x3b\x3d\x4e\x21\x41\x1e\x78\x91\xc6\x10\x71\x76\x44\xa1\x40\x60\xc4\x13\x46\x7f\xad\x24\x4b\x50\xdc\x74\x99\x12\x85\xce\xba\x65\xa3\x4c\xa1\x60\x24\xd5\x46\x28\x70\x05\x84\xc5\x90\x91\x13\x08\xd4\x7d\x40\xc1\x1a\xd2\xcc\x23\x72\x03\x6f\xb9\x40\xa0\x6c\xcf\xb7\x70\x50\x2a\x97\xdb\x9b\x9b\x84\xaa\xd2\xc1\x23\x9e\x65\x05\xa3\xea\x74\x13\x71\xa6\x04\xdd\x15\x7a\xda\x6e\x62\x3c\x62\x7a\x23\x69\xb2\x26\x22\x3a\x50\x85\x91\x2a\x04\xde\x90\x9c\xae\x8d\xe2\x4c\x99\x55\x92\xc5\xff\x20\xdc\x6a\x90\x97\x0d\x4d\xd5\x49\x4f\x9b\x54\x82\xb2\xa4\xba\x6c\x9c\xcb\x6b\x77\xed\x5d\x40\x25\x10\xf7\x31\xab\x7f\x6d\x5e\x7d\x49\x5b\xe5\xc3\xcb\xbb\x8f\x50\x76\x6a\xa6\xa0\x6d\x73\x63\xed\xfa\x63\xb2\x36\xbc\x36\x14\x65\x7b\x14\x76\xe2\xf6\x82\x67\x46\x22\xb2\x38\xe7\x94\x29\xf3\x47\x94\x52\x64\x6d\xa3\xcb\x62\x97\x51\xa5\x67\xfa\x53\x81\x52\xe9\xf9\xd9\xc0\x73\xc2\x18\x57\xb0\x43\x28\xf2\x98\x28\x8c\x37\xf0\x8a\xc1\x73\x92\x61\xfa\x9c\x48\xfc\xea\x66\xd7\x16\x96\x6b\x6d\xd2\x69\xc3\x37\xa3\x53\xd9\x86\x96\x87\x6e\x26\x12\xb5\xae\x00\x64\xe4\xf3\x1b\x64\x89\x3a\x6c\xe1\x0f\xdf\x74\xee\xe5\x44\x69\x97\xdc\xc2\x7f\xff\x42\xd6\xbf\xfe\xf9\xea\x97\x35\x59\xff\xfa\x74\xfd\x6f\x7f\xfe\xa7\x5f\xdc\x7f\xae\xff\xfd\x1f\x3b\x9f\x19\x54\xb2\xbc\x6c\x27\xb0\xba\x5c\x86\xbb\x41\xa7\x69\xc7\xa2\xbb\x1c\x23\xed\x41\x7a\x1a\xf5\xc7\x60\xcf\x05\x08\x8c\xa9\x2c\x57\x6f\xc0\xf8\x49\x1c\x9b\x90\x4e\xd2\xf7\x3c\xbe\xc3\xa8\x10\x54\x9d\xde\xf3\x94\x46\xbd\x47\x01\xa8\xc2\xac\x77\xd1\x3b\xbe\xfa\x16\x11\x82\x9c\xda\xdd\xee\xcd\x5e\x72\xea\x0a\x6b\x0d\xf7\xd5\xde\x8c\x8b\xee\x29\xc6\x2b\x33\xcc\x9c\xc7\x97\xd2\xc4\x8d\xb8\x48\xf5\x0a\x89\x38\x93\x4a\x10\xca\x94\xec\x4e\x94\x67\xc0\xba\x31\x1e\xe3\xad\x47\x83\x9e\x16\x2f\xcc\x1f\x3b\x94\xe6\x63\x95\xe6\x4d\x2d\x44\x91\xa2\x34\xe6\x77\x4a\x6e\x06\x84\x8e\x29\x64\xef\xe3\x1e\x85\xc0\xf8\x45\xa1\x0d\x79\x57\x89\x7f\x95\x30\x5e\x5d\x7e\xf9\x19\xa3\x42\x75\x22\xba\x57\xf7\x8f\xda\x35\xac\x20\x14\xf0\x40\xd3\xd4\x75\xa3\x63\x6e\x79\x43\x2b\x6c\x82\xb0\x1e\x5f\xd7\x8c\x75\x53\x07\xa2\x40\x12\x45\xe5\xfe\x64\xc6\x59\x59\x02\x3f\xeb\xe0\x63\xf2\x88\x7a\xc2\x60\x77\x72\x71\x47\xef\x71\x2b\xaf\xd8\x5d\xa1\x80\x2a\x13\xac\xa2\x03\xe7\x12\x81\x58\x43\x9b\xfe\x8e\x94\x9b\x6d\x01\x38\x43\xe0\x02\x32\x1d\x65\xcc\x56\x84\x5e\x89\x0d\x75\x36\xc6\x02\xb5\x38\x2a\x21\xe3\x52\xd5\xb6\x2e\xd7\x8f\x16\xff\x40\xd5\x61\x64\xf4\x08\x89\xce\x74\x50\x2a\x90\x45\xa6\x95\x78\x40\x9a\x1c\x94\x5c\x01\xdd\xe0\xc6\x4c\x3f\x92\xe8\xd0\xe8\x2e\x43\xec\xf9\x65\xdd\x48\x9a\xba\xa1\xb4\x7c\x09\x3f\x15\x54\x60\xa6\x63\x39\x5c\x55\x81\xdf\x05\xe3\x55\x79\xbf\xe7\x25\xfe\x6e\x06\xa6\x69\x05\xa8\xa2\xcd\xf5\x0a\x22\x9e\xe5\x85\xd2\x36\xd7\x63\xda\x9d\xf4\x12\x17\xc4\x6d\x3e\x82\x17\xc9\xb8\x45\x30\x75\x8a\x96\xd9\x81\x99\x6c\xb3\x4d\xeb\xc0\xc2\x12\xb8\xb0\x46\xba\x28\x37\x79\x59\x64\x5e\x89\xd4\x1a\xc3\xd8\x2f\x23\x2a\x3a\xb8\x5c\x24\xe2\x42\xa0\xcc\x39\x33\x12\xcd\x9d\x97\xf5\x58\xbe\x1d\x75\x06\x2d\xec\x4a\x5e\x9b\xc9\x35\xc2\x0e\x34\x39\x94\x73\x48\x04\x9a\x6b\x6d\x9f\x18\x5a\xbc\xe0\x8f\x7e\x65\x6b\x2d\xbc\x5b\x06\x98\xe5\xea\xd4\xf0\xb4\xc6\x1c\x2b\x14\x59\x35\x42\x62\x72\x65\x5f\xb3\xdb\x83\xb4\xfa\xd3\x2c\xd7\x81\x59\x39\xcf\x83\xa7\x70\x65\x5c\x8f\xaa\x4b\x69\x96\xcd\x9a\xe7\xd7\x1b\xb8\x2d\x13\x70\x5f\x9b\x56\x8a\xf1\xaa\x67\xd7\x85\x56\x54\xf2\x11\xa1\x55\xff\xde\x67\xa6\x22\x60\x53\x39\x64\x51\x6f\x5f\x6e\xb7\xb6\xbd\xad\xd7\x48\x4c\x31\x52\x3a\x0e\xa3\xc8\x56\x40\xa4\xe4\x11\xd5\xd9\x4a\x35\xff\xa3\x22\xa1\xe3\x6a\xd6\xcc\xfe\x01\x85\x0f\x0a\x4c\x5a\xd1\x76\xdc\xa9\xe7\x7b\x43\xd4\x87\x12\xbd\xd2\xda\x43\x6d\x06\x8c\x49\x89\xa0\xd7\xb8\xfe\xfc\xa5\x74\xc7\xb3\xf1\xd1\xc1\xb4\xdf\x7b\xd5\xf5\xaa\xe9\xd2\x5e\x77\x27\x40\xb0\xdb\x7c\x74\xea\x48\x28\x93\x2e\xd5\x5f\x01\x81\x7b\x3c\xd9\x53\x81\x3e\x78\xb8\xbc\xc8\x3c\x1c\x24\x55\xa0\xdd\x5c\x74\x0c\xb8\xc7\x93\x11\xe4\x8e\x11\x01\x9f\x0f\x9f\x79\xdb\xee\x71\x30\xd9\x18\x6a\xbd\x4d\xdc\xcc\x95\xd1\xd1\x58\xc2\x44\xd2\x39\xf6\x03\x7b\x04\x4f\x29\x9a\x74\x3e\xf0\x33\x23\x89\xdd\x70\x2b\xa7\xe0\xac\x71\x7e\xa8\xce\x30\x76\x62\x2f\xa5\x9d\x20\xbd\x56\x0e\x34\x0f\x1e\xa7\xe2\xc6\xbb\xcc\x52\x29\x0f\x85\x3f\xe9\x43\x74\xa5\x9e\x34\x91\xff\x15\xf3\x67\x25\xdd\xf6\x8e\xab\x57\x6c\x05\x2f\x3f\x53\xa9\x37\xfc\x17\x1c\xe5\x3b\xae\xcc\x9f\x1b\xf8\x93\xb2\x3e\xf8\x66\x22\x54\x34\x54\x9c\x6b\x58\x3b\x8e\xb3\xcc\x7a\xcb\x6c\xfe\xad\xcd\xd1\x3c\x6a\xca\x8d\x4e\xb0\xa7\x43\x62\xdd\xaa\x05\x46\xa5\x3e\xfc\x71\x51\x9a\xc5\x00\x06\x46\xe6\x40\xaa\x3f\xd6\xb2\x42\x9a\x33\x25\xe3\x6c\x6d\xf6\xcb\x52\xa7\x56\x5f\xd6\xea\xe1\x6a\x8a\xd6\xfc\xf4\xd5\x2b\xbb\x0d\x96\xe8\x57\xed\x4f\x4a\x77\xf7\xa6\xd5\x49\xf8\x82\xac\x95\x39\x90\xa3\x49\xc2\x28\x4b\xd2\x2a\xad\x5a\xc1\xc3\x81\x46\x07\x93\xb7\x07\x0b\xdd\xa1\x45\x4d\x72\x81\x7a\xdf\x23\x52\x87\x46\x7d\x25\x41\xa1\xd3\x61\x5a\x1a\x81\x86\x2b\x2a\x30\x4f\x49\x84\x31\xc4\x26\xe9\xb4\x98\x05\x51\x98\xd0\x08\x32\x14\x09\xea\x63\x71\x74\x08\xf5\xfe\xe0\x0d\xc5\xb6\xd9\x8b\xc5\x7f\xec\x1c\x6e\x65\x4a\x1d\xa2\xd2\x5a\x47\xa6\xa0\xe7\x78\x13\x4f\x0c\x51\xb7\x83\x04\x8c\x3f\x1c\x32\x36\x93\x70\x38\x88\xf1\x77\xce\x35\xcc\xb9\x60\xc9\x35\x96\x5c\xc3\xdb\x96\x5c\xa3\x6c\x4b\xae\xb1\xe4\x1a\x4b\xae\xb1\xe4\x1a\x7f\x43\xb9\x46\xa0\x50\x8b\xa7\xcc\x80\x75\x7e\xb6\x38\x57\x17\xc7\x31\x89\x4d\x59\x20\x6b\x41\x36\x13\x23\xd2\x69\xc2\x9d\xdb\xcb\x3e\x1a\x88\x88\x32\x23\x44\x10\x96\x20\x3c\x5b\x3f\x7b\xfa\x74\xdc\xb3\xf6\x5c\x64\x44\x6d\xb5\x97\x7f\xf3\xcf\x01\x36\x71\xab\xc1\xfb\xe4\xb4\x3f\xac\x1b\x88\xd8\xc8\x43\xd6\xb6\x7e\xb4\x76\x7a\x86\xa6\x26\xdb\x87\x3c\x7f\x41\x7d\xc2\x45\xb9\x0a\xa2\x6e\x81\xdf\xbd\x52\x82\x77\x70\x0e\x75\x16\x3a\xb8\x2b\xc8\x50\x01\x51\x2d\x68\x93\x66\x58\x15\x90\x6c\x19\xc4\x16\x33\xbd\x12\xcb\xda\x48\x0c\x9c\x39\xe4\x5a\xfb\xce\x26\x50\x63\x7f\xb5\xa3\x59\x14\x81\x08\x89\x44\x9d\x43\xec\xb0\xd2\x9a\x67\x5a\x4b\xca\x54\x19\x00\xb5\xca\x58\x5a\xd5\x2b\xf8\x0a\x37\xc9\x06\xe2\xc2\x88\x23\xcc\x55\x69\xaf\xed\xa8\xe5\x49\x2a\xcc\x4c\x8d\x85\x0b\xf3\x8f\x1e\xbe\x12\x27\x50\x7e\x44\x17\x8f\xc8\x54\x41\xd2\xf4\x04\x78\xa4\x91\xaa\xec\x67\x0a\xc9\x54\xd9\x7a\x98\x6f\xb5\x84\x24\xac\xdd\xd5\x38\x1a\xa7\x3b\xe9\x9b\x75\xc5\x8d\xf7\xa4\xa2\xb4\x3c\x53\xfe\x19\x5f\xa4\xfa\x31\xe3\x39\x3f\x7e\xf0\x23\xff\x10\xb6\x91\x74\xcf\x24\x45\x9a\x6a\x7b\xdb\x42\x40\x5f\xbd\x12\x6c\x9f\x8c\x59\x25\x14\x6f\xab\x59\x2d\x8f\xb3\xf5\x23\x5b\xc9\xb8\x7d\xf7\x42\x5b\x64\x6a\xc8\x00\x1f\x79\xce\x53\x9e\x9c\x9a\xb6\x37\xab\xdf\x14\x18\x9c\x64\x02\xb2\xd8\xb9\xcc\x76\x3a\x71\x7b\xd7\x99\xca\x05\x33\x5f\xce\xb1\x43\x6d\x39\xc7\xf6\xda\x72\x8e\x0d\x54\x71\x39\xc7\x9a\xb6\x9c\x63\x97\x73\xec\x64\x5b\xce\xb1\x03\x0f\x2f\x98\xf9\x92\x6b\x8c\xb4\x25\xd7\xe8\xb5\x25\xd7\x58\x72\x8d\x25\xd7\x58\x72\x8d\xd1\xb6\xe4\x1a\x03\x0f\x3f\x1a\x66\x3e\x2d\x6e\xca\x3c\xeb\x3e\xd0\x36\x8a\x00\x7b\x55\x1a\xbd\x9d\xf3\xf8\x0c\x4a\x7d\xce\xe3\x11\x46\xbd\x05\x35\x23\xbe\x4e\x79\x44\xd4\x70\x3c\x30\x70\xaa\x16\xe3\x90\x7c\x49\x32\x8b\xd5\xae\xe0\x57\xce\xd0\x32\x9d\xf5\x32\x33\xc8\x2a\x57\x07\x14\xfa\xf1\x2b\x79\x3d\xc8\x54\x5d\x58\xfa\x83\x6d\x61\xe9\x2f\x2c\x7d\xd7\x9a\x2c\xfd\x03\x91\xd6\x2f\xed\x46\xe8\x27\xed\x37\xa2\x83\x0e\x40\xdf\x8e\xea\xfb\x3b\x71\xf6\xb5\x13\x3a\x67\x31\xaf\x32\xd6\x13\x6f\xc7\x15\xbb\x72\x24\xc6\xef\xdb\xa3\x19\x89\xde\xf6\x0c\x67\x94\x26\x71\x8c\x31\xe4\x28\xd6\xd6\xf5\x38\xec\x29\x8b\x07\xc6\x52\x8e\xdf\x2b\x36\x90\x47\xdf\x56\x72\x46\xe9\xa2\x59\x5d\x69\x05\xe8\x2e\xab\x7e\x62\x2f\xac\xe6\xef\x6b\xb2\xea\xcd\xc9\xab\xdc\xdc\xe6\x1f\xd9\xcd\xb9\xed\x53\x81\xe2\x04\xfc\x88\xa2\x3e\x99\x54\xef\x79\x86\x1c\x42\xcc\xde\x43\x25\x44\x44\xda\x40\x3d\x9d\x6a\xcd\x3b\x9d\xce\xaf\x83\xf4\x06\xdb\x15\x61\x4f\xf9\x25\x66\x61\x0c\x11\x98\xbd\x0d\x42\x1b\x03\xc5\x29\x22\x42\x53\x78\x5b\xba\x0a\x7a\x78\x56\x72\x3a\x38\xdb\x1e\xc8\x23\xfc\x58\xd0\x28\xe3\x4d\xc0\x1e\xe1\x32\x3b\xf0\xc8\x17\x42\x1f\x70\x06\xfc\x01\xf3\x20\x10\xe8\x9a\x57\x6b\xe9\xf6\xe9\x3e\x1a\x32\x43\x68\xc3\xbf\xe6\x23\x22\x70\xde\x79\x64\x3e\x32\x02\xdd\xe1\x57\xd3\x27\x7a\x30\xc9\xac\xc1\x37\x21\x15\x3f\x54\x32\x4b\x64\x0f\x56\x69\xc3\x25\xc6\xb7\x5a\x88\xc9\xd7\x36\xf6\x3c\xb4\x04\xba\xa6\x76\x58\x01\x35\x47\xe7\x0e\x76\x32\xcb\x30\x6d\x9c\xc5\x8b\x9f\xcc\x92\xe9\x03\x33\xda\x18\xca\x6c\x91\x7d\xbc\xa5\x87\xa3\x3c\x8e\x9a\x4e\xc5\x1a\x88\x98\x25\xd6\x7e\x41\xc4\x63\x82\x11\x30\x1f\x90\x80\x73\xfd\x72\x2e\x30\x01\x33\xc1\x09\x98\x01\x50\xc0\x5c\x90\x02\xe6\x02\x15\x30\x7b\xbc\x26\x85\x78\xd3\xf8\x56\x97\xa9\xd6\xf8\x76\x81\xd9\xbb\xd1\xec\x19\xec\x67\x3b\x56\x55\x9b\xe8\x64\x24\xd7\x51\xe2\x7f\xf4\xd6\x6c\x1c\xff\x7f\x43\xf7\x51\x42\x85\xd4\xa9\xb0\x03\xff\x1a\x12\x4a\xcc\xa1\xd1\x59\xa0\x50\xad\x0d\x95\xa0\x7d\xe7\x48\x52\x9d\x80\x58\xda\x96\x3b\xaa\x69\x4d\xbb\xf9\x5a\xe8\xfa\x7e\x38\xe8\xe3\xb9\xde\x7c\xed\x31\x8f\x4a\xb8\xb8\xc7\xd3\xc5\xaa\x17\x47\x2e\x5e\xb1\x8b\x50\xa9\xc4\x1d\x55\x5a\x31\xa3\xca\x7c\x38\x4b\x4f\x70\x61\xee\x5d\x84\x2e\xec\xa1\x74\x71\x4e\x22\x78\x06\x28\x17\xf4\x30\x2b\xbf\x7c\x67\x6e\x01\xb0\xfe\x60\x85\xaf\x94\x07\xe3\xfa\x56\x08\xda\x58\x66\x50\x77\xfd\x3c\x08\xae\xaa\xd7\xc6\x13\x6d\x79\x75\xed\x3f\x4a\x37\x86\xd4\x62\xa2\x99\x94\x3f\x43\xc2\x24\x5c\x94\xe8\xd9\xa5\xac\x75\xbc\x78\xbc\x8a\xe3\xac\x35\x1c\x1e\x8b\x94\x23\xb0\xbd\x0e\x49\x57\x3b\x67\x7c\x87\x16\xba\x6f\x25\xda\x61\x0d\x2f\xc6\x70\x55\x9e\x74\xfd\x67\xef\xba\x71\x61\x58\x94\xad\x8f\x33\x45\xd7\x95\x8c\xfa\xfc\xab\x4f\x84\xa1\xe1\xb5\xa4\x35\xb7\x3d\xa0\x04\x37\x2b\xdc\xae\xf6\xa8\x90\x15\xfc\x70\x40\xd1\x1a\x29\x95\xee\xdb\x9e\x4c\x05\x42\x14\x8c\xe9\x7e\x39\x73\xb0\x5e\x90\x48\x1d\x66\xec\x97\x16\x39\x98\xc4\xa6\xfd\x66\xd4\x26\xf7\xaf\x67\x29\x90\xea\x08\x25\x80\x69\xbe\x49\xca\x71\x26\x39\x73\x8b\x48\x5f\x29\x91\x38\x63\x17\x8c\x43\x2d\x4b\xab\x31\x6e\xe0\xa5\x59\x04\x4d\xe5\xa8\x34\x33\x49\xd2\x94\x3f\x84\x44\x9f\x60\xaf\x0e\xcb\x0d\xd6\x4d\x65\x1e\xa3\x64\x30\x9b\x66\xff\xf0\xc8\x34\xfb\x0e\xf4\xf4\x37\xc2\xb2\x0f\x04\xf5\x16\xaa\xfd\x42\xb5\x6f\x50\xed\xcd\x87\x6c\xe4\x9b\xe6\xdc\xfb\x7d\xc6\x70\xf1\x43\x39\xf7\xf0\xf3\x01\xcd\x8a\x1a\x01\xd8\xf4\x14\x65\x45\xaa\x68\x5e\x17\xac\xa5\x55\x2d\xb5\xc7\x47\x4b\x54\x92\x1d\x74\x76\xec\x8d\x00\x12\x1d\xba\xcb\xc4\xf4\x63\x0a\xda\xd2\x44\x64\x57\x66\x21\x69\xea\xb8\xf5\xfa\x5c\xe9\x9f\x23\x74\xb5\x2a\xfa\x38\x10\xfe\x0b\xf7\x0d\x86\x15\x68\x62\x8a\x13\x57\x7a\xb3\x4c\xb5\x3b\xe8\x2d\xab\x8c\x6a\x63\x35\xd7\xde\xfe\x6b\x51\x99\x23\x96\x05\x92\x84\x1e\x91\xd5\x9b\xf0\x95\xbc\xbe\x9e\xa2\x35\xa9\xc0\xd4\xa3\x9f\x58\x8c\x08\x1d\x4a\x39\x56\x81\xdb\xfd\x88\xd8\x2a\x11\x08\xd8\xe6\xbf\x6b\xec\x5e\xdf\x8f\xc8\xac\x8b\x43\xde\x0d\xde\x98\xa7\xda\xe2\xab\x09\x1c\x11\x4a\xa7\x47\x13\x86\x83\xce\x28\x23\x9c\x51\x42\x00\xea\x0f\x27\xb6\xcd\x29\x1f\xfc\x66\xaf\x4f\x04\x94\x0c\xe6\xd0\xdc\xa6\xcb\x05\xa1\xe7\xbf\x73\x29\x8f\xa3\x05\x80\x85\xf3\x38\xda\xc2\xc1\xfe\xff\x7f\xd4\xc7\x11\x70\xff\xaf\x94\x03\x79\x36\xa8\xff\x5b\x52\x1f\xc7\x80\xfc\x99\xd5\x2e\x98\x02\xf1\xbf\x90\x00\x38\x45\x82\x0c\x96\xe9\x01\xef\x87\x01\xf9\x60\xa9\x43\xc0\xfd\x20\x18\x1f\x2c\x71\x61\x10\x4e\x3e\xf7\x7b\x33\x08\x67\x02\xf2\xe7\x82\xf1\xb3\x66\x67\x2e\x08\xef\xe0\xf5\x00\x35\x02\x01\xf8\x3e\xb4\x1e\x32\xc4\x49\xf0\xbd\x0b\xab\x87\x81\x4e\x63\xc0\xfb\x20\xa4\x1e\x20\x76\x18\x74\xff\xa2\x74\x2a\xd8\x3b\x03\x1f\x0c\x85\xd0\xe7\xc3\xe7\x01\x5c\x82\x19\xd0\x79\x09\x8c\x4f\x48\x7c\x0c\xd8\x3c\x28\x22\x06\xaf\xb4\xb0\x08\x11\x0c\x93\x7f\x0d\x88\x7c\x26\x3c\x1e\x72\x2c\x87\xc1\xa3\xf9\x18\x34\x6e\x4f\xc2\x13\x22\xc3\x61\xf1\xe6\x69\x78\x6a\xf8\xa1\x90\x78\xf3\x3c\x3c\x55\x99\x0a\x82\xc3\xfb\x60\x77\x78\x35\x65\x16\x14\x1e\xe4\xad\x21\xc8\x6b\x08\xfc\xfd\xc5\xa0\xea\x24\x79\x9d\x29\x7a\x2e\x81\xbd\xe9\xd7\x1e\x16\xfb\xa0\xce\xe4\xc8\x69\x0c\x79\xa1\x1c\x95\x77\x36\x93\x7d\x50\xea\xdf\x15\xbb\xbd\x65\xfa\x51\x8a\xfb\x38\xa4\xbd\x3a\x83\xe2\xee\x95\xe8\x96\xe5\x19\x14\x77\xbf\x48\x47\x7d\x3f\x8b\xe2\xee\x95\x6a\xa8\xef\xe7\x51\xdc\x27\x57\x7c\xd7\x85\xfc\x73\x55\xf2\xdc\xbd\x22\xa7\xf9\xef\x23\x3c\x77\x3f\x42\x3e\xca\x7f\x1f\xe1\xb9\xfb\xcd\x19\xcc\x7f\xef\xf1\xdc\x47\x5c\x7e\xe1\xbf\x77\xda\xc2\x7f\x6f\xb4\x85\xff\x1e\x38\xd8\x85\xff\xbe\xf0\xdf\xa7\xda\xc2\x7f\x5f\xf8\xef\x0b\xff\x7d\xe1\xbf\x2f\xfc\xf7\x85\xff\x3e\xd0\x16\xfe\xfb\xc2\x7f\x5f\xf8\xef\x8d\xb6\xf0\xdf\x27\x86\xb2\xf0\xdf\x17\xfe\xfb\xc2\x7f\x5f\xf8\xef\x0b\xff\x7d\xe0\x91\xdf\x85\xff\xde\x02\xa1\xbd\x24\xf8\x11\x38\xb6\xfe\xfe\x94\x99\x24\x78\xaf\xcc\x1d\x4e\x93\xe0\xbd\x6a\x7b\xa5\x7a\xbe\xe3\x27\x88\x09\xef\x87\x5e\x9b\x0c\xf9\x59\x4c\xf8\x11\xd0\x7c\xe0\x5b\xe9\xbf\xf0\xdb\xe7\xa1\xc1\x90\x3f\x97\x09\xef\x77\x01\xbe\x30\xe1\x17\x26\xfc\xc2\x84\x5f\x98\xf0\x0b\x13\xde\xb6\x85\x09\xbf\x30\xe1\x17\x26\xfc\xc2\x84\x5f\x98\xf0\xbd\xb6\x30\xe1\x07\xd5\x5d\x98\xf0\x0b\x13\x7e\x61\xc2\xd7\x6d\x61\xc2\xb7\xdb\xc2\x84\x5f\x98\xf0\x23\x6d\x61\xc2\x7f\x1d\x26\xbc\xf7\x16\x61\x8c\x2b\x9b\xdc\x77\xf5\x0f\xdb\x4c\x47\x4c\xe4\xef\x34\xa7\x12\xc5\x11\x7b\x27\x95\xb1\xb3\xdd\xee\x94\x13\x29\xcd\x09\xc2\x30\x84\x7f\xc6\xdd\x81\xf3\xfb\xff\x14\x64\x70\xe9\xdb\xce\x77\x9c\xa7\x48\xfa\xc8\x44\x44\xfc\x9f\xf1\x4c\x37\x32\xb2\x4b\xf1\x6d\xa1\x9a\xbd\xcf\xef\xd9\x8a\xe9\x0d\x63\xbe\xa0\x44\xf0\x22\x7f\x2f\x28\x17\x54\x9d\xde\x52\x46\xb3\x62\x90\x0b\x3b\x55\x72\x18\x2f\x34\x1c\x90\xa4\xea\x10\x1d\x30\x1a\x54\x71\xea\x30\x6e\x47\xeb\x5d\x1a\xe3\x23\x9c\x7c\xb7\x43\x0c\xd6\x82\xbe\x6c\xc0\x85\xc4\xd7\xc5\x0e\x2b\x17\xfd\xe1\x53\xcc\x7e\xe0\xe2\xf6\x7e\x70\x84\xe3\x03\x38\xa2\xd0\xa9\x55\x39\x49\x8f\xad\xac\x2f\xf0\xac\x21\xea\x1e\x82\xd6\xc3\xee\xeb\x79\xaa\xe7\x9d\xbd\xe7\x86\x9c\xaf\xf7\x50\xc3\x77\x7a\xf7\xf4\xe4\xf5\x2e\xfa\x6d\xdf\x7b\xb4\x63\xda\xd0\xc8\x13\xe9\x79\x9a\x17\x77\x04\x26\x54\x2a\x31\x12\x64\x3c\x01\x43\x60\xce\x25\x55\xfc\x8c\x8f\x2a\x92\xcc\xfc\x8c\xdf\x17\x4a\xfd\x07\x6e\x94\xfa\xf5\x6e\x29\x12\x1c\xcb\x23\x41\x15\x8d\x48\x7a\x1b\xc7\xfd\x82\x9d\x7f\x79\x58\x47\xbb\x65\x24\x3d\x29\x1a\xf5\xcc\xee\xff\x20\xcd\x48\x82\xef\x8b\x34\x7d\xcf\x53\x1a\xf5\x4c\xeb\x35\xd1\x7d\xb1\xc3\x78\xb7\x4c\xfc\xa3\x4d\x7c\xca\x93\x37\x78\xc4\xb4\xdb\xf1\x58\x44\xf3\x47\xb3\x8c\x33\xad\x11\x65\xbd\xf1\x8f\x4d\x11\x49\x90\x0d\xee\x01\x01\x3b\xf9\xe0\xa6\x34\x1e\xcf\x73\xc1\x33\x54\x07\x2c\x06\xf7\x82\xa9\xbd\xb0\x4a\xda\xc7\x77\x43\x6f\xb6\x39\x96\x67\xae\x6b\xe9\x73\xb7\x51\x1d\x6a\x69\x84\x6f\xed\x04\x9c\x33\xb0\x74\x14\x9d\x99\x87\xc9\x04\x64\xdc\x13\x79\xf2\xb8\x99\x52\x1f\x99\x71\x44\xaa\x7f\x89\x19\xff\xf3\x6c\xa2\x5d\xfc\x64\xdd\x70\x9f\xde\xad\xf6\x24\x84\x2e\xc1\xe6\xcf\x3f\xfd\x76\xd9\xbb\xc0\x3c\xa5\x11\x79\xce\x8b\xfe\xda\x3b\x6f\xf1\x57\x55\xc4\xae\xb8\xd6\xa9\xfd\xb9\x7b\x59\xf0\x43\xf9\x74\x35\x31\x96\x08\x81\x20\x69\x8c\x11\x11\x25\x7e\x84\xa2\x7b\xba\x1b\xf3\xe4\x94\x66\x54\x0d\x7a\x66\xb8\x07\x4f\x78\x6f\x6b\x38\x97\x6f\x4c\x87\xee\xe2\xce\xd5\xc3\x32\xf2\x59\xe7\x52\x40\x32\x6d\x5e\x7d\xfa\x2d\xdf\x91\xac\x8c\x34\xd8\x73\x79\x9c\x85\xb7\xdc\xb0\x15\xf6\x7c\x0b\x07\xa5\x72\xb9\xbd\xb9\xd1\x5b\x9f\x60\xa8\x50\x6e\x28\xbf\x89\x79\x24\x6f\x22\xce\x22\xcc\x95\xf9\xcf\x9e\x26\x85\x30\x47\xc0\x9b\x8c\x30\x92\xe0\xda\x75\xb9\xae\xba\x5c\x57\x16\xbd\xb9\x9c\x1b\x5f\xdc\x7b\xa5\xbf\xa5\x65\x3f\xb8\x2e\xbb\xb6\xb5\x79\xea\x6c\xdb\x8a\xea\xb5\xc1\x57\x7b\xa8\x64\x53\x09\x3c\xa3\x4a\x61\x6c\x5e\xcc\x25\xb5\xd7\xad\x80\x2a\x88\x71\x4f\x8a\xd4\x43\xe3\x51\x1c\xdc\xec\x9b\x97\x51\xed\x7b\xc3\xf8\x59\xaf\x2b\xaa\xd2\x53\x8d\xf4\xac\xec\xeb\xe0\x0f\xd4\x32\x7b\x08\xab\x7f\xc9\xdf\xcc\xd8\xda\x61\x39\x83\xbd\x18\x10\xe7\xaf\xce\x23\xbc\xb7\x5c\x0c\xbc\x8d\xa2\xa1\xc8\x32\xb6\x74\x23\xf3\xda\xf4\xfc\xfd\x5c\xef\x99\x8f\x96\x6e\x59\x25\x7a\x97\x75\x1f\xa1\x16\x50\x3c\x45\x31\x0c\xc6\x74\x29\x6f\x0d\x0f\x71\xf8\xe2\xa5\x6c\x7e\xbe\x1b\xf9\x3c\xe0\x6c\xef\x3d\xe1\x9c\xc7\x96\xa8\xf1\xb1\x92\x65\xea\x1a\x4a\x11\xf3\xa6\xb0\xe2\x65\x2f\x28\x3d\x78\x9e\x76\x0b\xe5\x7e\x81\xad\xf1\xde\xb4\x12\x86\xa7\xf5\x5d\x55\xda\x58\xe1\x7e\x8f\x91\xfa\x1e\x0a\x59\x72\x31\x47\x10\xd2\xaa\xb8\xf0\x5d\xf9\xbf\xef\xfb\xd8\xdd\x78\xa6\x62\xfb\x1b\x8e\x2f\x2d\x43\xbc\x34\x0f\x02\x65\x31\x8d\x2a\xa6\x82\x1d\x96\x95\xa1\xcd\x60\x74\x1d\x87\x1f\x2d\x94\x6e\x1e\xb4\x74\xb1\x86\x08\xe9\xbe\xec\xb5\x31\x91\x2e\x86\x8f\x97\x70\x89\x40\x78\xc7\x1d\x73\x12\x57\xf0\xde\xbc\x5d\x5d\x5f\x31\x35\x97\x77\xdc\x72\x28\x3d\x3c\xba\x89\x60\xea\x65\x4c\xb4\x8c\xf4\xba\xe6\x47\xd8\x71\xb5\xf8\x11\xb5\x2b\x96\xf5\x09\x5f\x36\xc7\x4b\xe6\xf2\xb0\xb5\xee\xf1\x54\xbf\xc8\xe6\x38\x19\xa6\x5a\xb1\x9a\x2a\x4e\x96\x45\x6d\x5b\x8e\xfe\xd6\xf1\x8f\x78\xb6\xa3\xcc\x2a\x66\x3b\x2c\xa7\xd2\xf4\x59\x16\xaa\xbc\x6f\xb8\xea\x87\x8c\x4a\xe7\x18\x76\x9c\xa0\xd1\xb2\xee\x8f\x81\x74\x8c\x92\xad\x67\x63\xbd\x47\xe9\x21\xda\x45\x83\x43\xf1\xf2\x53\x41\xd2\x0d\xbc\x70\x3b\x96\x16\xe9\x2e\x8d\xfe\x00\x70\xef\x35\x9f\x07\x9a\xc6\x11\x11\x76\x3f\xb4\x4b\x1c\x24\xb7\x3e\x61\x89\x6f\x11\x61\x55\xf8\x18\x31\xb0\x99\x79\xfb\x5d\x05\x90\x13\xa1\x68\x54\xa4\x3a\xad\x23\x0a\x13\x2e\x4e\x67\xd9\xbe\x76\xc8\x3b\x8c\x38\xf3\xfd\x0a\x7c\x3b\x20\x76\x3f\xd3\x9c\x0d\x13\x76\x51\x50\xc7\xe7\xa3\x19\x8e\x54\xee\x1a\xcb\xe1\xca\xfd\xa4\xa2\xf3\x4e\xbe\x2f\x63\x4a\xb5\x68\x5b\x9b\xbe\xff\x0b\x4e\xaa\xb7\xa0\xa8\x25\x4f\x5f\x37\x22\x73\xb5\x2a\x37\xf0\xc7\x53\x99\x8b\x98\xbc\xc4\x96\x3f\x3c\x22\x25\x56\xbf\x7d\x5c\x2e\x0e\x2b\xb1\xb1\xcc\xf7\x5c\xe0\x11\x05\x5c\xc5\xdc\x14\x52\x0c\x8b\x77\xf0\x4b\x69\x74\xfb\x2f\x14\xdc\x38\x19\xc3\xc4\xd2\x4b\xdd\x12\x33\xe4\xe9\x9d\xde\x16\x90\xb8\xdf\x4b\x7e\x0a\x57\x96\x12\x4c\xb3\x0c\x63\x4a\x14\xa6\xde\x1a\x5c\x99\xf1\x1b\x0a\xf2\x70\xe7\x8d\xb3\xc8\x1f\xfe\x65\xc4\x65\xfc\x1c\x7b\xa3\x6a\x80\x9f\xfc\x64\xb8\xa3\xad\x60\x68\xe9\xa4\x9d\x48\x58\x6d\x87\x5e\x0e\x98\xf7\x47\xb8\x1b\xec\x99\x46\xd5\xb2\x0c\x84\xa5\xbb\x78\xa4\xfe\x45\xfb\x1a\x01\x81\x89\x59\x47\x76\x8d\x9c\xb1\x8a\x26\xb3\xba\x6e\x65\x6a\x28\x5b\x5a\x37\xb3\x7e\x1e\xdf\x61\x54\x08\xaa\x4e\x06\xce\x6b\x6f\x13\xeb\xba\x50\xd4\xba\xea\x40\xdc\xd6\xb5\x0e\x9e\xd8\xba\xd7\x81\x0c\x5b\xf7\x2c\x2c\xd8\xba\x54\x02\x5b\xad\x8b\x35\x3e\xd5\xba\xdc\x3c\x0b\xb7\x6e\xb4\x93\xd9\x27\xa3\x36\xec\x5c\x72\xd0\xf6\x16\x8e\xcf\x48\x9a\x1f\xc8\xb3\xfa\x9a\x09\x5a\x36\xa7\x6c\xdd\xb6\xc9\x33\xc6\x5b\x50\xc2\xd5\x6d\xa5\xe2\x82\x24\xe8\xae\xfc\x5f\x00\x00\x00\xff\xff\xdd\xe9\x95\x6d\x20\xb0\x00\x00")

func installerKubedbCom_kubedboperatorsYamlBytes() ([]byte, error) {
	return bindataRead(
		_installerKubedbCom_kubedboperatorsYaml,
		"installer.kubedb.com_kubedboperators.yaml",
	)
}

func installerKubedbCom_kubedboperatorsYaml() (*asset, error) {
	bytes, err := installerKubedbCom_kubedboperatorsYamlBytes()
	if err != nil {
		return nil, err
	}

	info := bindataFileInfo{name: "installer.kubedb.com_kubedboperators.yaml", size: 45088, mode: os.FileMode(420), modTime: time.Unix(1573722179, 0)}
	a := &asset{bytes: bytes, info: info}
	return a, nil
}

// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	if f, ok := _bindata[cannonicalName]; ok {
		a, err := f()
		if err != nil {
			return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
		}
		return a.bytes, nil
	}
	return nil, fmt.Errorf("Asset %s not found", name)
}

// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
	a, err := Asset(name)
	if err != nil {
		panic("asset: Asset(" + name + "): " + err.Error())
	}

	return a
}

// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	if f, ok := _bindata[cannonicalName]; ok {
		a, err := f()
		if err != nil {
			return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
		}
		return a.info, nil
	}
	return nil, fmt.Errorf("AssetInfo %s not found", name)
}

// AssetNames returns the names of the assets.
func AssetNames() []string {
	names := make([]string, 0, len(_bindata))
	for name := range _bindata {
		names = append(names, name)
	}
	return names
}

// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
	"installer.kubedb.com_kubedboperators.yaml": installerKubedbCom_kubedboperatorsYaml,
}

// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
//     data/
//       foo.txt
//       img/
//         a.png
//         b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
	node := _bintree
	if len(name) != 0 {
		cannonicalName := strings.Replace(name, "\\", "/", -1)
		pathList := strings.Split(cannonicalName, "/")
		for _, p := range pathList {
			node = node.Children[p]
			if node == nil {
				return nil, fmt.Errorf("Asset %s not found", name)
			}
		}
	}
	if node.Func != nil {
		return nil, fmt.Errorf("Asset %s not found", name)
	}
	rv := make([]string, 0, len(node.Children))
	for childName := range node.Children {
		rv = append(rv, childName)
	}
	return rv, nil
}

type bintree struct {
	Func     func() (*asset, error)
	Children map[string]*bintree
}

var _bintree = &bintree{nil, map[string]*bintree{
	"installer.kubedb.com_kubedboperators.yaml": {installerKubedbCom_kubedboperatorsYaml, map[string]*bintree{}},
}}

// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
	data, err := Asset(name)
	if err != nil {
		return err
	}
	info, err := AssetInfo(name)
	if err != nil {
		return err
	}
	err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
	if err != nil {
		return err
	}
	err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
	if err != nil {
		return err
	}
	err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
	if err != nil {
		return err
	}
	return nil
}

// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
	children, err := AssetDir(name)
	// File
	if err != nil {
		return RestoreAsset(dir, name)
	}
	// Dir
	for _, child := range children {
		err = RestoreAssets(dir, filepath.Join(name, child))
		if err != nil {
			return err
		}
	}
	return nil
}

func _filePath(dir, name string) string {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}

repository: monotek/kubedb-installer

repo_name: monotek/kubedb-installer


text:
@article{Allem052017TheCharlieSheen,
 author = {Jon-Patrick Allem and Eric C. Leas and Theodore L. Caputi and Mark Dredze and Benjamin M. Althouse and Seth M. Noar and John W. Ayers},
 doi = {10.1007/s11121-017-0792-2},
 journal = {Prevention Science},
 month = {may},
 number = {5},
 pages = {541--544},
 publisher = {Springer Science and Business Media {LLC}},
 title = {The Charlie Sheen Effect on Rapid In-home Human Immunodeficiency Virus Test Sales},
 url = {https://doi.org/10.1007%2Fs11121-017-0792-2},
 volume = {18},
 year = {2017}
}

license: MIT

repository: yesiknowjava/theodorecaputihugo

license_type: permissive

repo_name: yesiknowjava/theodorecaputihugo

branch_name: refs/heads/master

extension: bib


text:
package oscaplogger

import (
	"github.com/stretchr/testify/assert"
	"testing"
)

func TestLoggerSetLogLevelVerifyTrue(t *testing.T) {
	loglevel := "info"
	allowedlevel := &AllowedLevel{}
	err := allowedlevel.Set(loglevel)

	assert.NoError(t, err)
	assert.Equal(t, allowedlevel.s, loglevel, "The loglevel should be the same")
}

func TestLoggerSetLogLevelVerifyFalse(t *testing.T) {
	loglevel := "test"
	allowedlevel := &AllowedLevel{}
	err := allowedlevel.Set(loglevel)

	assert.Error(t, err)
	assert.EqualError(t, err, "unrecognized log level "+loglevel)
	assert.Equal(t, allowedlevel.s, "", "The loglevel should be the same")
}

repository: SotirisAlfonsos/oscap-report-exporter

repo_name: SotirisAlfonsos/oscap-report-exporter

gha_license_id: MIT

gha_language: Go

extension: go


text:
inherit esw_examples features_check

REQUIRED_DISTRO_FEATURES = "v-mix"

ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_mix/examples/"

repository: fullstackfpga/meta-xilinx

repo_name: fullstackfpga/meta-xilinx

extension: bb


text:
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License.  You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.  See the License for the
// specific language governing permissions and limitations
// under the License.
//

package cloudstack

import (
	"encoding/json"
	"net/url"
	"strconv"
)

type UploadCustomCertificateParams struct {
	p map[string]interface{}
}

func (p *UploadCustomCertificateParams) toURLValues() url.Values {
	u := url.Values{}
	if p.p == nil {
		return u
	}
	if v, found := p.p["certificate"]; found {
		u.Set("certificate", v.(string))
	}
	if v, found := p.p["domainsuffix"]; found {
		u.Set("domainsuffix", v.(string))
	}
	if v, found := p.p["id"]; found {
		vv := strconv.Itoa(v.(int))
		u.Set("id", vv)
	}
	if v, found := p.p["name"]; found {
		u.Set("name", v.(string))
	}
	if v, found := p.p["privatekey"]; found {
		u.Set("privatekey", v.(string))
	}
	return u
}

func (p *UploadCustomCertificateParams) SetCertificate(v string) {
	if p.p == nil {
		p.p = make(map[string]interface{})
	}
	p.p["certificate"] = v
}

func (p *UploadCustomCertificateParams) SetDomainsuffix(v string) {
	if p.p == nil {
		p.p = make(map[string]interface{})
	}
	p.p["domainsuffix"] = v
}

func (p *UploadCustomCertificateParams) SetId(v int) {
	if p.p == nil {
		p.p = make(map[string]interface{})
	}
	p.p["id"] = v
}

func (p *UploadCustomCertificateParams) SetName(v string) {
	if p.p == nil {
		p.p = make(map[string]interface{})
	}
	p.p["name"] = v
}

func (p *UploadCustomCertificateParams) SetPrivatekey(v string) {
	if p.p == nil {
		p.p = make(map[string]interface{})
	}
	p.p["privatekey"] = v
}

// You should always use this function to get a new UploadCustomCertificateParams instance,
// as then you are sure you have configured all required params
func (s *CertificateService) NewUploadCustomCertificateParams(certificate string, domainsuffix string) *UploadCustomCertificateParams {
	p := &UploadCustomCertificateParams{}
	p.p = make(map[string]interface{})
	p.p["certificate"] = certificate
	p.p["domainsuffix"] = domainsuffix
	return p
}

// Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself.
func (s *CertificateService) UploadCustomCertificate(p *UploadCustomCertificateParams) (*UploadCustomCertificateResponse, error) {
	resp, err := s.cs.newRequest("uploadCustomCertificate", p.toURLValues())
	if err != nil {
		return nil, err
	}

	var r UploadCustomCertificateResponse
	if err := json.Unmarshal(resp, &r); err != nil {
		return nil, err
	}

	// If we have a async client, we need to wait for the async result
	if s.cs.async {
		b, err := s.cs.GetAsyncJobResult(r.JobID, s.cs.timeout)
		if err != nil {
			if err == AsyncTimeoutErr {
				return &r, err
			}
			return nil, err
		}

		b, err = getRawValue(b)
		if err != nil {
			return nil, err
		}

		if err := json.Unmarshal(b, &r); err != nil {
			return nil, err
		}
	}

	return &r, nil
}

type UploadCustomCertificateResponse struct {
	JobID     string `json:"jobid"`
	Jobstatus int    `json:"jobstatus"`
	Message   string `json:"message"`
}

repository: xanzy/go-cloudstack

repo_name: xanzy/go-cloudstack


text:
#include<bits/stdc++.h>

using namespace std;

int v[20], d[100100];
set<int> t;
int x, y, z;

int main(){

    int ans = 0;
    for (int i = 0; i < 6; i++){
        scanf("%d", &v[i]);
        d[v[i]]++;
        t.insert(v[i]);
    }

    for(int l : t){
        if(!x){
            x = l;
            continue;
        }
        if(!y){
            y = l;
            continue;
        }
        if(!z){
            z = l;
            continue;
        }
    }

    if(t.size() == 2){
        while((x||y)){

            int sum = !!x + !!y;

            ans += 3*(x+y) - (x-1 + y-1)*(sum);

            printf("%d\n", sum);

            if(x) x--;
            if(y) y--;
        }
        printf("%d\n", ans);

        return 0;
    }

    if(t.size() == 1){
        y = x;
        z = x;
    }

    while((x||y)&&(x||z)&&(y||z)){

        int sum = !!x + !!y + !!z;

        ans += 4*(x+y+z)-2*(sum);

        printf("%d\n", sum);

        if(x) x--;
        if(y) y--;
        if(z) z--;
    }

    printf("%d\n", ans );

    return 0;
}

repository: medeiroslucas/lo-and-behold-pp

repo_name: medeiroslucas/lo-and-behold-pp

extension: cpp


text:
/*
 * Copyright © 2019 Hedzr Yeh.
 */

package impl

//
// import (
// 	"github.com/hedzr/cmdr"
// 	"github.com/hedzr/consul-tags"
// 	"github.com/hedzr/consul-tags/objects/consul"
// )
//
// var (
// 	rootCmd = &cmdr.RootCommand{
// 		Command: cmdr.Command{
// 			BaseOpt: cmdr.BaseOpt{
// 				Name: "consul-tags",
// 				Flags: []*cmdr.Flag{
// 					// global options here.
// 				},
// 			},
// 			PreAction:  Pre,
// 			PostAction: Post,
// 			SubCommands: []*cmdr.Command{
// 				// dnsCommands,
// 				// playCommand,
// 				// generatorCommands,
// 				// serverCommands,
// 				msCommands,
// 				kvCommands,
// 			},
// 		},
//
// 		AppName:    "consul-tags",
// 		Version:    consul_tags.Version,
// 		VersionInt: consul_tags.VersionInt,
// 		Copyright:  "consul-tags is an effective devops tool",
// 		Author:     "Hedzr Yeh <hedzrz@gmail.com>",
// 	}
//
// 	serverCommands = &cmdr.Command{
// 		BaseOpt: cmdr.BaseOpt{
// 			// Name:        "server",
// 			Short:       "s",
// 			Full:        "server",
// 			Aliases:     []string{"serve", "svr",},
// 			Description: "server ops: for linux service/daemon.",
// 		},
// 		SubCommands: []*cmdr.Command{
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "s",
// 					Full:        "start",
// 					Aliases:     []string{"run", "startup",},
// 					Description: "startup this system service/daemon.",
// 					// Action:impl.ServerStart,
// 				},
// 				// PreAction: impl.ServerStartPre,
// 				// PostAction: impl.ServerStartPost,
// 			},
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "t",
// 					Full:        "stop",
// 					Aliases:     []string{"stp", "halt", "pause",},
// 					Description: "stop this system service/daemon.",
// 					// Action:impl.ServerStop,
// 				},
// 			},
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "r",
// 					Full:        "restart",
// 					Aliases:     []string{"reload",},
// 					Description: "restart this system service/daemon.",
// 					// Action:impl.ServerRestart,
// 				},
// 			},
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Full:        "status",
// 					Aliases:     []string{"st",},
// 					Description: "display its running status as a system service/daemon.",
// 				},
// 			},
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "i",
// 					Full:        "install",
// 					Aliases:     []string{"setup",},
// 					Description: "install as a system service/daemon.",
// 				},
// 			},
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "u",
// 					Full:        "uninstall",
// 					Aliases:     []string{"remove",},
// 					Description: "remove from a system service/daemon.",
// 				},
// 			},
// 		},
// 	}
//
// 	kvCommands = &cmdr.Command{
// 		BaseOpt: cmdr.BaseOpt{
// 			Name:        "kvstore",
// 			Full:        "kv",
// 			Aliases:     []string{"kvstore",},
// 			Description: "consul kv store operations...",
// 			Flags:       *cmdr.Clone(&consulConnectFlags, &[]*cmdr.Flag{}).(*[]*cmdr.Flag),
// 		},
// 		SubCommands: []*cmdr.Command{
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "b",
// 					Full:        "backup",
// 					Aliases:     []string{"bk", "bf", "bkp",},
// 					Description: "Dump Consul's KV database to a JSON/YAML file",
// 					Action:      kvBackup,
// 					Flags: []*cmdr.Flag{
// 						{
// 							BaseOpt: cmdr.BaseOpt{
// 								Short:                   "o",
// 								Full:                    "output",
// 								Description:             "Write output to a file (*.json / *.yml)",
// 								DefaultValuePlaceholder: "FILE",
// 							},
// 							DefaultValue: "consul-backup.json",
// 						},
// 					},
// 				},
// 			},
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "r",
// 					Full:        "restore",
// 					Description: "restore to Consul's KV store, from a a JSON/YAML backup file",
// 					Action:      kvRestore,
// 					Flags: []*cmdr.Flag{
// 						{
// 							BaseOpt: cmdr.BaseOpt{
// 								Short:                   "i",
// 								Full:                    "input",
// 								Description:             "read the input file (*.json / *.yml)",
// 								DefaultValuePlaceholder: "FILE",
// 							},
// 							DefaultValue: "consul-backup.json",
// 						},
// 					},
// 				},
// 			},
// 		},
// 	}
//
// 	msCommands = &cmdr.Command{
// 		BaseOpt: cmdr.BaseOpt{
// 			Name:        "microservices",
// 			Full:        "ms",
// 			Aliases:     []string{"microservice", "micro-service",},
// 			Description: "micro-service operations...",
// 			Flags: []*cmdr.Flag{
// 				{
// 					BaseOpt: cmdr.BaseOpt{
// 						Short:                   "n",
// 						Full:                    "name",
// 						Description:             "name of the service",
// 						DefaultValuePlaceholder: "NAME",
// 					},
// 					DefaultValue: "",
// 				},
// 				{
// 					BaseOpt: cmdr.BaseOpt{
// 						Short:                   "i",
// 						Full:                    "id",
// 						Description:             "unique id of the service",
// 						DefaultValuePlaceholder: "ID",
// 					},
// 					DefaultValue: "",
// 				},
// 				{
// 					BaseOpt: cmdr.BaseOpt{
// 						Short:       "a",
// 						Full:        "all",
// 						Description: "all services",
// 					},
// 					DefaultValue: false,
// 				},
// 			},
// 		},
// 		SubCommands: []*cmdr.Command{
// 			tagsCommands,
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "l",
// 					Full:        "list",
// 					Aliases:     []string{"ls", "lst", "dir",},
// 					Description: "list services.",
// 					Action:      msList,
// 				},
// 			},
// 		},
// 	}
//
// 	tagsCommands = &cmdr.Command{
// 		BaseOpt: cmdr.BaseOpt{
// 			// Short:       "t",
// 			Full:        "tags",
// 			Aliases:     []string{},
// 			Description: "tags op.",
// 			Flags:       *cmdr.Clone(&consulConnectFlags, &[]*cmdr.Flag{}).(*[]*cmdr.Flag),
// 		},
// 		SubCommands: []*cmdr.Command{
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "ls",
// 					Full:        "list",
// 					Aliases:     []string{"l", "lst", "dir",},
// 					Description: "list tags.",
// 					Action:      msTagsList,
// 				},
// 			},
// 			// {
// 			// 	BaseOpt: cmdr.BaseOpt{
// 			// 		Short:       "a",
// 			// 		Full:        "add",
// 			// 		Aliases:     []string{"create", "new",},
// 			// 		Description: "add tags.",
// 			// 		Action:      msTagsAdd,
// 			// 		Flags: []*cmdr.Flag{
// 			// 			{
// 			// 				BaseOpt: cmdr.BaseOpt{
// 			// 					Short:                   "ls",
// 			// 					Full:                    "list",
// 			// 					Aliases:                 []string{"l", "lst", "dir",},
// 			// 					Description:             "a comma list to be added",
// 			// 					DefaultValuePlaceholder: "LIST",
// 			// 				},
// 			// 				DefaultValue: []string{},
// 			// 			},
// 			// 		},
// 			// 	},
// 			// },
// 			// {
// 			// 	BaseOpt: cmdr.BaseOpt{
// 			// 		Short:       "r",
// 			// 		Full:        "rm",
// 			// 		Aliases:     []string{"remove", "erase", "delete", "del",},
// 			// 		Description: "remove tags.",
// 			// 		Action:      msTagsRemove,
// 			// 		Flags: []*cmdr.Flag{
// 			// 			{
// 			// 				BaseOpt: cmdr.BaseOpt{
// 			// 					Short:                   "ls",
// 			// 					Full:                    "list",
// 			// 					Aliases:                 []string{"l", "lst", "dir",},
// 			// 					Description:             "a comma list to be added.",
// 			// 					DefaultValuePlaceholder: "LIST",
// 			// 				},
// 			// 				DefaultValue: []string{},
// 			// 			},
// 			// 		},
// 			// 	},
// 			// },
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "m",
// 					Full:        "modify",
// 					Aliases:     []string{"mod", "update", "change",},
// 					Description: "modify tags.",
// 					Action:      msTagsModify,
// 					Flags: append(*cmdr.Clone(&modifyFlags, &[]*cmdr.Flag{}).(*[]*cmdr.Flag),
// 						&cmdr.Flag{
// 							BaseOpt: cmdr.BaseOpt{
// 								Short:                   "a",
// 								Full:                    "add",
// 								Aliases:                 []string{"add-list"},
// 								Description:             "a comma list to be added.",
// 								DefaultValuePlaceholder: "LIST",
// 								Group:                   "List",
// 							},
// 							DefaultValue: []string{},
// 						},
// 						&cmdr.Flag{
// 							BaseOpt: cmdr.BaseOpt{
// 								Short:                   "r",
// 								Full:                    "rm",
// 								Aliases:                 []string{"remove", "rm-list"},
// 								Description:             "a comma list to be removed.",
// 								DefaultValuePlaceholder: "LIST",
// 								Group:                   "List",
// 							},
// 							DefaultValue: []string{},
// 						}),
// 				},
// 			},
// 			{
// 				BaseOpt: cmdr.BaseOpt{
// 					Short:       "t",
// 					Full:        "toggle",
// 					Aliases:     []string{"tog", "switch",},
// 					Description: "toggle tags for ms.",
// 					Action:      msTagsToggle,
// 					Flags: append(*cmdr.Clone(&modifyFlags, &[]*cmdr.Flag{}).(*[]*cmdr.Flag),
// 						&cmdr.Flag{
// 							BaseOpt: cmdr.BaseOpt{
// 								Short:                   "x",
// 								Full:                    "address",
// 								Description:             "the address of the service (by id or name)",
// 								DefaultValuePlaceholder: "HOST:PORT",
// 							},
// 							DefaultValue: "",
// 						},
// 						&cmdr.Flag{
// 							BaseOpt: cmdr.BaseOpt{
// 								Short:                   "s",
// 								Full:                    "set",
// 								Description:             "set to `tag` which service specified by --address",
// 								DefaultValuePlaceholder: "LIST",
// 								Group:                   "List",
// 							},
// 							DefaultValue: []string{},
// 						},
// 						&cmdr.Flag{
// 							BaseOpt: cmdr.BaseOpt{
// 								Short:                   "u",
// 								Full:                    "unset",
// 								Aliases:                 []string{"reset",},
// 								Description:             "and reset the others service nodes to `tag`",
// 								DefaultValuePlaceholder: "LIST",
// 								Group:                   "List",
// 							},
// 							DefaultValue: []string{},
// 						},
// 					),
// 				},
// 			},
// 		},
// 	}
//
// 	modifyFlags = []*cmdr.Flag{
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:       "d",
// 				Full:        "delim",
// 				Description: "delimitor char in `non-plain` mode.",
// 			},
// 			DefaultValue: "=",
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:       "c",
// 				Full:        "clear",
// 				Description: "clear all tags.",
// 				Group:       "Operate",
// 			},
// 			DefaultValue: false,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:       "g",
// 				Full:        "string",
// 				Aliases:     []string{"string-mode"},
// 				Description: "In 'String Mode', default will be disabled: default, a tag string will be split by comma(,), and treated as a string list.",
// 				Group:       "Mode",
// 			},
// 			DefaultValue: false,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:       "m",
// 				Full:        "meta",
// 				Aliases:     []string{"meta-mode"},
// 				Description: "In 'Meta Mode', service 'NodeMeta' field will be updated instead of 'Tags'. (--plain assumed false)",
// 				Group:       "Mode",
// 			},
// 			DefaultValue: false,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:       "2",
// 				Full:        "both",
// 				Aliases:     []string{"both-mode"},
// 				Description: "In 'Both Mode', both of 'NodeMeta' and 'Tags' field will be updated.",
// 				Group:       "Mode",
// 			},
// 			DefaultValue: false,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:       "p",
// 				Full:        "plain",
// 				Aliases:     []string{"plain-mode"},
// 				Description: "In 'Plain Mode', a tag be NOT treated as `key=value` or `key:value`, and modify with the `key`.",
// 				Group:       "Mode",
// 			},
// 			DefaultValue: false,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:       "t",
// 				Full:        "tag",
// 				Aliases:     []string{"tag-mode"},
// 				Description: "In 'Tag Mode', a tag be treated as `key=value` or `key:value`, and modify with the `key`.",
// 				Group:       "Mode",
// 			},
// 			DefaultValue: true,
// 		},
// 	}
//
// 	consulConnectFlags = []*cmdr.Flag{
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "a",
// 				Full:                    "addr",
// 				Description:             "Consul ip/host and port: HOST[:PORT] (No leading 'http(s)://')",
// 				DefaultValuePlaceholder: "HOST[:PORT]",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: consul.DEFAULT_CONSUL_HOST,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "p",
// 				Full:                    "port",
// 				Description:             "Consul port",
// 				DefaultValuePlaceholder: "PORT",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: consul.DEFAULT_CONSUL_PORT,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "K",
// 				Full:                    "insecure",
// 				Description:             "Skip TLS host verification",
// 				DefaultValuePlaceholder: "PORT",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: true,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "",
// 				Full:                    "prefix",
// 				Description:             "Root key prefix",
// 				DefaultValuePlaceholder: "ROOT",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: "/",
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "",
// 				Full:                    "cacert",
// 				Description:             "Client CA cert",
// 				DefaultValuePlaceholder: "FILE",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: "",
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "",
// 				Full:                    "cert",
// 				Description:             "Client cert",
// 				DefaultValuePlaceholder: "FILE",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: "",
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "",
// 				Full:                    "scheme",
// 				Description:             "Consul connection scheme (HTTP or HTTPS)",
// 				DefaultValuePlaceholder: "SCHEME",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: consul.DEFAULT_CONSUL_SCHEME,
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "u",
// 				Full:                    "username",
// 				Description:             "HTTP Basic auth user",
// 				DefaultValuePlaceholder: "USERNAME",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: "",
// 		},
// 		{
// 			BaseOpt: cmdr.BaseOpt{
// 				Short:                   "pw",
// 				Full:                    "password",
// 				Aliases:                 []string{"passwd", "pwd",},
// 				Description:             "HTTP Basic auth password",
// 				DefaultValuePlaceholder: "PASSWORD",
// 				Group:                   "Consul",
// 			},
// 			DefaultValue: "",
// 		},
// 	}
// )

repository: hedzr/consul-tags

repo_name: hedzr/consul-tags


text:
package bot

import (
	"fmt"
	"github.com/bwmarrin/discordgo"
	"github.com/flohero/Spongebot/database/model"
	"github.com/starlight-go/starlight"
)

func (b *Bot) execScript(message string, cmd *model.Command, session *discordgo.Session, msg *discordgo.MessageCreate) (string, error) {
	s := &scriptResult{
		Message:  message,
		GuildId:  msg.GuildID,
		AuthorId: msg.Author.ID,
	}
	globals := map[string]interface{}{
		"s":        s,
		"kickUser": session.GuildMemberDeleteWithReason,
	}
	_, err := starlight.Eval([]byte(cmd.Response), globals, nil)
	if err != nil {
		return "", err
	}
	return s.Result, nil
}

func (b *Bot) respondToMessage(session *discordgo.Session, msg *discordgo.MessageCreate, content string) {
	sendingMessageError(session.ChannelMessageSend(msg.ChannelID, content))
}

func sendingMessageError(msg *discordgo.Message, err error) {
	if err != nil {
		fmt.Printf("Error sending message: %s\n%s", msg.Content, err)
	}
}

repository: fweingartshofer/Spongebot

repo_name: fweingartshofer/Spongebot


text:
#include<bits/stdc++.h>
#define boost ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define ll long long
#define deb(x) cout << #x << "=" << x << endl
using namespace std;
bool areAnagram(string a,string b)
{
    int cta[256]={0};
    int ctb[256]={0};

    if(a.size()!=b.size())
        return false;

    if(a.empty() || b.empty())
        return false;

    for(int i=0;i<a.size();i++)
    {
        cta[int(a[i])]++;
        ctb[int(b[i])]++;
    }

    for(int i=0;i<256;i++)
    {
        if(cta[i]!=ctb[i])
            return false;
    }

return true;
}

int main()
{
    boost;
return 0;
}

branch_name: refs/heads/main


text:
DESCRIPTION = "Qt/Embedded terminus font"
HOMEPAGE = "http://www.is-vn.bg/hamster/jimmy-en.html"
SECTION = "opie/fonts"
PRIORITY = "optional"
LICENSE = "GPL"
PACKAGE_ARCH = "all"
PR = "r2"

#SRC_URI = "http://www.mn-solutions.de/downloads/mnci/terminus-fonts.tar.bz2" -> 404 error
SRC_URI = "http://openzaurus.linuxtogo.org/download/3.5.4/sources/terminus-fonts.tar.bz2"
S = "${WORKDIR}/terminus-fonts"

do_install() {
	mkdir -p ${D}${palmqtdir}/lib/fonts
	cp *.qpf ${D}${palmqtdir}/lib/fonts
}

inherit qpf

repository: jdegges/gumstix-pip-oe

repo_name: jdegges/gumstix-pip-oe


text:
// Code generated by go-swagger; DO NOT EDIT.

package quota

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"github.com/go-openapi/runtime"

	strfmt "github.com/go-openapi/strfmt"
)

// New creates a new quota API client.
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client {
	return &Client{transport: transport, formats: formats}
}

/*
Client for quota API
*/
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}

/*
GetQuotas lists quotas

List quotas
*/
func (a *Client) GetQuotas(params *GetQuotasParams, authInfo runtime.ClientAuthInfoWriter) (*GetQuotasOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewGetQuotasParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetQuotas",
		Method:             "GET",
		PathPattern:        "/quotas",
		ProducesMediaTypes: []string{"application/json", "text/plain"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https"},
		Params:             params,
		Reader:             &GetQuotasReader{formats: a.formats},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetQuotasOK), nil

}

/*
GetQuotasID gets the specified quota

Get the specified quota
*/
func (a *Client) GetQuotasID(params *GetQuotasIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetQuotasIDOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewGetQuotasIDParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetQuotasID",
		Method:             "GET",
		PathPattern:        "/quotas/{id}",
		ProducesMediaTypes: []string{"application/json", "text/plain"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https"},
		Params:             params,
		Reader:             &GetQuotasIDReader{formats: a.formats},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetQuotasIDOK), nil

}

/*
PutQuotasID updates the specified quota

Update hard limits of the specified quota
*/
func (a *Client) PutQuotasID(params *PutQuotasIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutQuotasIDOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewPutQuotasIDParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "PutQuotasID",
		Method:             "PUT",
		PathPattern:        "/quotas/{id}",
		ProducesMediaTypes: []string{"application/json", "text/plain"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https"},
		Params:             params,
		Reader:             &PutQuotasIDReader{formats: a.formats},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*PutQuotasIDOK), nil

}

// SetTransport changes the transport on the client
func (a *Client) SetTransport(transport runtime.ClientTransport) {
	a.transport = transport
}

repository: sandhose/terraform-provider-harbor

repo_name: sandhose/terraform-provider-harbor


text:
list(APPEND KRAKEN_TEST_SOURCE
        include/kraken_bridge_test.h
        kraken_bridge_test.cc
        polyfill/dist/testframework.cc
        )

if ($ENV{KRAKEN_JS_ENGINE} MATCHES "jsc")
  list(APPEND KRAKEN_TEST_SOURCE
    bridge_test_jsc.cc
    bridge_test_jsc.h
  )
endif()

add_library(kraken_test SHARED ${KRAKEN_TEST_SOURCE})

### kraken_test
target_link_libraries(kraken_test PRIVATE ${BRIDGE_LINK_LIBS} kraken)
target_include_directories(kraken_test PRIVATE
  ${BRIDGE_INCLUDE}
  ${CMAKE_CURRENT_SOURCE_DIR} PUBLIC ./include)

if ($ENV{KRAKEN_JS_ENGINE} MATCHES "jsc")
  set_target_properties(kraken_test PROPERTIES OUTPUT_NAME kraken_test_jsc)
elseif($ENV{KRAKEN_JS_ENGINE} MATCHES "v8")
  set_target_properties(kraken_test PROPERTIES OUTPUT_NAME kraken_test_v8)
endif()

if (DEFINED ENV{LIBRARY_OUTPUT_DIR})
  set_target_properties(kraken_test
    PROPERTIES
    LIBRARY_OUTPUT_DIRECTORY "$ENV{LIBRARY_OUTPUT_DIR}"
    )
endif()

add_subdirectory(./third_party/googletest)

set(TEST_LINK_LIBRARY
        ${BRIDGE_LINK_LIBS}
        kraken_test
        kraken
        bridge
        gtest
        gtest_main
        gmock
        gmock_main
        )

set(TEST_INCLUDE_DIR
        ./third_party/googletest/googletest/include
        ./third_party/googletest/googlemock/include
        ${BRIDGE_INCLUDE}
        )

repository: starriver-zhaoziyu/kraken

repo_name: starriver-zhaoziyu/kraken

extension: cmake


text:
/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package configuration_test

import (
	"os"
	"testing"

	"github.com/iter8-tools/etc3/configuration"
)

func TestNoInterpolation(t *testing.T) {
	os.Setenv("ITER8_NAMESPACE", "namespace")
	os.Setenv("ITER8_ANALYTICS_ENDPOINT", "endpoint")
	os.Setenv("HANDLERS_DIR", "dir")

	cfg := configuration.Iter8Config{}
	err := configuration.ReadConfig(&cfg)
	if err != nil {
		t.Error("Unable to read configuration")
	}

	// verify values
	if cfg.Namespace != "namespace" {
		t.Errorf("cfg.Namespace incorrect. Expected: %s, got: %s", "namespace", cfg.Namespace)
	}
	if cfg.HandlersDir != "dir" {
		t.Errorf("cfg.HandlersDir incorrect. Expected: %s, got: %s", "dir", cfg.HandlersDir)
	}
	if cfg.Analytics.Endpoint != "endpoint" {
		t.Errorf("cfg.Analytics.Endpoint incorrect. Expected: %s, got: %s", "endpoint", cfg.Analytics.Endpoint)
	}
}

func TestInterpolation(t *testing.T) {
	os.Setenv("ITER8_NAMESPACE", "namespace")
	os.Setenv("ITER8_ANALYTICS_ENDPOINT", "ITER8_NAMESPACE/endpoint")
	os.Setenv("HANDLERS_DIR", "dir")

	cfg := configuration.Iter8Config{}
	err := configuration.ReadConfig(&cfg)
	if err != nil {
		t.Error("Unable to read configuration")
	}

	// verify values
	if cfg.Namespace != "namespace" {
		t.Errorf("cfg.Namespace incorrect. Expected: %s, got: %s", "namespace", cfg.Namespace)
	}
	if cfg.HandlersDir != "dir" {
		t.Errorf("cfg.HandlersDir incorrect. Expected: %s, got: %s", "dir", cfg.HandlersDir)
	}
	if cfg.Analytics.Endpoint != "namespace/endpoint" {
		t.Errorf("cfg.Analytics.Endpoint incorrect. Expected: %s, got: %s", "namespace/endpoint", cfg.Analytics.Endpoint)
	}
}


text:
#pragma once

#include <string>
#include <fstream>

class BatchNormalization {
private:
	void WeightLoad(CpuMat* weightName, std::string& filename);

public:
	BatchNormalization(int resultRows, int resultCols, bool useBias = true);

	void Load(std::string& betaFilename, std::string& gammaFilename, std::string& movMeanFilename, std::string& movVarFilename);
	void Apply(CpuMat* resultMat);

	float epsilon = 0.001F;
	CpuMat beta;
	CpuMat gamma;
	CpuMat movingMean;
	CpuMat movingVariance;
};

repository: fbasatemur/KerasToCpp

repo_name: fbasatemur/KerasToCpp

extension: h


text:
DESCRIPTION = "Base task package for GPE Palmtop Environment"
PR = "r9"
LICENSE = "MIT"

inherit task

RDEPENDS_${PN} = "\
    bluez-utils-dbus \
    matchbox \
    xcursor-transparent-theme \
    rxvt-unicode \
    gtk2-theme-angelistic \
    matchbox-themes-gtk \
    xst \
    xhost \
    xrdb \
    gpe-soundserver \
    gpe-dm \
    gpe-login \
    gpe-session-scripts \
    gpe-icons \
    gpe-confd \
    gpe-autostarter \
    startup-monitor \
    libgtkstylus \
    libgpewidget-bin \
    suspend-desktop \
    teleport \
    xauth \
    gdk-pixbuf-loader-png \
    gdk-pixbuf-loader-xpm \
    gdk-pixbuf-loader-jpeg \
    pango-module-basic-x \
    pango-module-basic-fc \
    ttf-bitstream-vera"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
package cmd

import (
	"github.com/spf13/cobra"
	"sshfortress/fssh"
)

var fsshCmd = &cobra.Command{
	Use:   "fssh",
	Short: "运行sshfortress自定义的ssh:fssh服务",
	Long:  `默认端口:88`,
	Run: func(cmd *cobra.Command, args []string) {
		fssh.Run()
	},
}

func init() {
	rootCmd.AddCommand(fsshCmd)
}

repository: YoshieraHuang/sshfortress

repo_name: YoshieraHuang/sshfortress


text:
package storage

import "os"

import "github.com/aws/aws-sdk-go/aws"
import "github.com/aws/aws-sdk-go/service/s3"
import "github.com/aws/aws-sdk-go/service/s3/s3manager"

func (s3c *S3Storage) ListObjects(bname string) ([]string, error) {

    var objects []string

    opts := &s3.ListObjectsInput{Bucket: aws.String(bname)}
    res, err := s3c.client.ListObjects(opts)
    if err != nil {
        return nil, err
    }

    for _, obj := range res.Contents {
        objects = append(objects, aws.StringValue(obj.Key))
    }

    return objects, nil
}

func (s3c *S3Storage) CopyTo(src, bucket, dst string) (error) {

    fd, err := os.Open(src)
    if err != nil {
        return err
    }
    defer fd.Close()

    uploader := s3manager.NewUploaderWithClient(s3c.client)
    upParams := &s3manager.UploadInput{
        Bucket: aws.String(bucket),
        Key:    aws.String(dst),
        Body:   fd,
    }

    _, err = uploader.Upload(upParams)
    return err
}

func (s3c *S3Storage) CopyFrom(bucket, src, dst string) (error) {

    fd, err := os.Create(dst)
    if err != nil {
        return err
    }

    downloader := s3manager.NewDownloaderWithClient(s3c.client)
    downParams := &s3.GetObjectInput{
        Bucket: aws.String(bucket),
        Key:    aws.String(src),
    }

    if _, err := downloader.Download(fd, downParams); err != nil {
        return err
    }

    if err = fd.Close(); err != nil {
        return err
    }

    return nil
}

func (s3c *S3Storage) DeleteObject(bucket, obj string) (error) {

    delobj := &s3.DeleteObjectInput{
        Bucket: aws.String(bucket),
        Key:    aws.String(obj),
    }
    _, err := s3c.client.DeleteObject(delobj)
    return err
}

repository: owensgl/haploblocks

repo_name: owensgl/haploblocks


text:
// Copyright 2018 GRAIL, Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.

package recordiozstd

import (
	"strconv"
	"sync"

	"github.com/grailbio/base/compress/zstd"
	"github.com/grailbio/base/recordio"
	"github.com/grailbio/base/recordio/recordioiov"
)

// Name is the registered name of the zstd transformer.
const Name = "zstd"

func parseConfig(config string) (level int, err error) {
	level = -1
	if config != "" {
		level, err = strconv.Atoi(config)
	}
	return
}

var tmpBufPool = sync.Pool{New: func() interface{} { return &[]byte{} }}

// As of 2018-03, zstd.{Compress,Decompress} is much faster than
// io.{Reader,Writer}-based implementations, even though the former incurs extra
// copying.
//
// Reader/Writer impl:
// BenchmarkWrite-56             20         116151712 ns/op
// BenchmarkRead-56              30          45302918 ns/op
//
// Compress/Decompress impl:
// BenchmarkWrite-56    	      50	  30034396 ns/op
// BenchmarkRead-56    	      50	  23871334 ns/op
func flattenIov(in [][]byte) []byte {
	totalBytes := recordioiov.TotalBytes(in)

	// storing only pointers in sync.Pool per https://github.com/golang/go/issues/16323
	slicePtr := tmpBufPool.Get().(*[]byte)
	tmp := recordioiov.Slice(*slicePtr, totalBytes)
	n := 0
	for _, inbuf := range in {
		copy(tmp[n:], inbuf)
		n += len(inbuf)
	}
	return tmp
}

func zstdCompress(level int, scratch []byte, in [][]byte) ([]byte, error) {
	if len(in) == 0 {
		return zstd.CompressLevel(scratch, nil, level)
	}
	if len(in) == 1 {
		return zstd.CompressLevel(scratch, in[0], level)
	}
	tmp := flattenIov(in)
	d, err := zstd.CompressLevel(scratch, tmp, level)
	tmpBufPool.Put(&tmp)
	return d, err
}

func zstdUncompress(scratch []byte, in [][]byte) ([]byte, error) {
	if len(in) == 0 {
		return zstd.Decompress(scratch, nil)
	}
	if len(in) == 1 {
		return zstd.Decompress(scratch, in[0])
	}
	tmp := flattenIov(in)
	d, err := zstd.Decompress(scratch, tmp)
	tmpBufPool.Put(&tmp)
	return d, err
}

var once = sync.Once{}

// Init installs the zstd transformer in recordio.  It can be called multiple
// times, but 2nd and later calls have no effect.
func Init() {
	once.Do(func() {
		recordio.RegisterTransformer(
			Name,
			func(config string) (recordio.TransformFunc, error) {
				level, err := parseConfig(config)
				if err != nil {
					return nil, err
				}
				return func(scratch []byte, in [][]byte) ([]byte, error) {
					return zstdCompress(level, scratch, in)
				}, nil
			},
			func(string) (recordio.TransformFunc, error) {
				return zstdUncompress, nil
			})
	})
}

repository: jcharum/base

repo_name: jcharum/base