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
#!/bin/bash | |
set -xeu | |
cd ~/workspace/ | |
curl -o /usr/local/bin/cred-alert-cli https://s3.amazonaws.com/cred-alert/cli/current-release/cred-alert-cli_darwin | |
chmod +x /usr/local/bin/cred-alert-cli | |
curl -o /tmp/remove_git_hooks.sh https://raw.githubusercontent.com/pivotal-sprout/sprout-git/master/share/remove_git_hooks.sh | |
sed -i '' 's/check_for_project_hooks$/#check_for_project_hooks/' /tmp/remove_git_hooks.sh |
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
diff --git a/release/packages/nginx/packaging b/release/packages/nginx/packaging | |
index 757226e..b5e8229 100644 | |
--- a/release/packages/nginx/packaging | |
+++ b/release/packages/nginx/packaging | |
@@ -22,7 +22,9 @@ pushd nginx-1.11.1 | |
--add-module=../headers-more-nginx-module-0.30 \ | |
--with-http_ssl_module \ | |
--with-http_dav_module \ | |
- --add-module=../nginx-upload-module-2.2 | |
+ --add-module=../nginx-upload-module-2.2 \ |
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
// Copyright 2016 CNI authors | |
// | |
// 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, |
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
// Copyright 2015-2017 CNI authors | |
// | |
// 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, |
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
bosh -d cf -e vbox deploy --no-redact -n ~/workspace/cf-deployment/cf-deployment.yml \ | |
-o ~/workspace/cf-deployment/operations/use-compiled-releases.yml \ | |
-o ~/workspace/cf-deployment/operations/bosh-lite.yml \ | |
-o ~/workspace/cf-deployment/operations/experimental/use-bosh-dns-for-containers.yml \ | |
-o ~/workspace/cf-deployment/operations/experimental/use-bosh-dns.yml \ | |
--vars-store ~/workspace/vbox/deployment-vars.yml \ | |
-v system_domain=bosh-lite.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
mkdir -p ~/workspace/vbox | |
git clone https://github.com/cloudfoundry/bosh-deployment ~/workspace/bosh-deployment | |
git clone https://github.com/mariash/learn-bosh-release ~/workspace/learn-bosh-release | |
git clone https://github.com/cloudfoundry/cf-deployment ~/workspace/cf-deployment | |
# download and install bosh cli | |
https://bosh.io/docs/cli-v2.html | |
# download and install virtualbox | |
https://www.virtualbox.org/wiki/Downloads |
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
package org.cloudfoundry.identity.uaa.cypto; | |
import org.bouncycastle.crypto.digests.SHA256Digest; | |
import org.bouncycastle.crypto.generators.PKCS5S2ParametersGenerator; | |
import org.bouncycastle.crypto.params.KeyParameter; | |
import org.junit.Test; | |
import javax.crypto.Cipher; | |
import javax.crypto.CipherInputStream; | |
import javax.crypto.CipherOutputStream; |
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 javax.net.ssl.SSLSocket; | |
import javax.net.ssl.SSLSocketFactory; | |
import java.io.*; | |
/** Establish a SSL connection to a host and port, writes a byte and | |
* prints the response. See | |
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
*/ | |
public class SSLPoke { | |
public static void main(String[] args) { |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDAJVSAUwLwNDPMSRBarUsGx4qON89ZPh1ugzRASsT5sRhDTor+JnbqLImvOlycBw4bD9IMiYPNtCQHDdAS4J0sMXwdvZ/JI+FcKN85e/3hPEymbRL17gMja8+97XPtAE17C50+nlIFRoI/1XZn6DNJGNrwnp0N0fWHvj635b697TJjG0kgFHCzSVLpOUiPe+EPXdsEp8Knsj0EIdEeCPgKgHLMwFDj7DnMCI4SzJGEABsLFsoXLMT/ZqeNP/VZnTU/mv7YhKd/hZJl/zyExwuctqirkrh+rWgblb/K5Qoi68TJHQcYQ79ELyxgrSrnwuvkLcYYMu4nPMRVYTyl0pzGGFteLftgsF0K9HK6GNuJPGSP7yzPTBfGRRitOXGVh0u5LazV3ZgPtFo2u6j3aCfRSNQn4OlQ+wReyJs0tUE8yoWew5t2Ks9GuMMt4cWzMOWNvZjCFepuFW6TbEnwTGiayqq6nYzLl0s5C5bR1AebYJAOJeWJLVZm8G9cVBd/OMs= |
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
kubectl api-resources --verbs=list --namespaced -o name \ | |
| xargs -n 1 kubectl get --show-kind --ignore-not-found -l <label>=<value> -n <namespace> |
OlderNewer