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
| --- | |
| # Source: uistio/templates/metrics.yaml | |
| apiVersion: config.istio.io/v1alpha2 | |
| kind: metric | |
| metadata: | |
| name: uistio | |
| labels: | |
| app.kubernetes.io/name: uistio | |
| helm.sh/chart: uistio-1.0.0 | |
| app.kubernetes.io/managed-by: Tiller |
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
| { | |
| "host_groups": [ | |
| { | |
| "name": "master", | |
| "components": [ | |
| { | |
| "name": "NAMENODE" | |
| }, | |
| { | |
| "name": "SECONDARY_NAMENODE" |
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
| # List the blobs in an Azure storage container. | |
| echo "usage: ${0##*/} <storage-account-name> <container-name> <access-key>" | |
| storage_account="$1" | |
| container_name="$2" | |
| access_key="$4" | |
| blob_store_url="blob.core.windows.net" | |
| http="https" |
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
| -----BEGIN EC PRIVATE KEY----- | |
| MHcCAQEEIJUMlsSlXqCZmCjlN4kV7hzP+p9pu0fwJ8r4m1qle58SoAoGCCqGSM49 | |
| AwEHoUQDQgAE4RBy+jCJXeKB1E7uso+tmtqjWEJCucLi2CzGpIl1AJsAEj68et1s | |
| lF9Zk25KTjxoC0BEnMlWaSf+vrcQ8mCSHw== | |
| -----END EC PRIVATE KEY----- |
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
| //export AZURE_STORAGE_ACCOUNT | |
| //export AZURE_STORAGE_ACCESS_KEY="" | |
| var azure = require('./node_modules/azure-storage'); | |
| var blobSvc = azure.createBlobService(); | |
| blobSvc.breakLease('<container-name>', '<blob-name>', {}, function(error, result, response){ | |
| if(!error) { | |
| console.log(result); |
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
| ################# | |
| # set your custom network here: | |
| ################# | |
| B2D_NETWORK=172.20.0.1 | |
| ################# | |
| # install bridge-utils extension into tinycore | |
| ################# | |
| [ -f /var/lib/boot2docker/bridge-utils.tcz ] || curl -Lo /var/lib/boot2docker/bridge-utils.tcz ftp://ftp.nl.netbsd.org/vol/2/metalab/distributions/tinycorelinux/4.x/x86/tcz/bridge-utils.tcz | |
| # tce-load should'nt bee run as sudo |
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/bash | |
| export PATH=/usr/local/bin:$PATH | |
| export LC_ALL=en_US.UTF-8 | |
| export LANG=en_US.UTF-8 | |
| # Tell ls to be colourful | |
| export CLICOLOR=1 | |
| export LSCOLORS=Exfxcxdxbxegedabagacad |
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
| docker run -d --name="uaadblocal" -e USER="uaaadmin" -e DB="uaa" -e PASS="uaa123_" paintedfox/postgresql | |
| export DB_PORT_5432_TCP_ADDR=172.20.0.8; export DB_PORT_5432_TCP_PORT=5432; export DB_ENV_DB=uaa; export DB_ENV_USER=uaaadmin; export DB_ENV_PASS=uaa123_; export UAA_CONFIG_PATH=~/tmp/uaa; ~/prj/apache-tomcat-7.0.55/bin/catalina.sh jpda start |
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
| --- a/kernel/audit.c | |
| +++ b/kernel/audit.c | |
| @@ -584,9 +584,19 @@ | |
| int err = 0; | |
| /* Only support the initial namespaces for now. */ | |
| + /* | |
| + * We return ECONNREFUSED because it tricks userspace into thinking | |
| + * that audit was not configured into the kernel. Lots of users | |
| + * configure their PAM stack (because that's what the distro does) |
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 | |
| grep -qs "^CLOUD-[0-9]\{1,4\}\b " "$1" || { | |
| echo "Your commit message does not follow the pattern: CLOUD-X commit-message" | |
| exit 1 | |
| } |
NewerOlder