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
#cloud-config | |
ssh_authorized_keys: | |
- github:cedbossneo | |
k3os: | |
modules: | |
- kvm | |
- nvme | |
sysctl: | |
kernel.printk: "4 4 1 7" | |
kernel.kptr_restrict: "1" |
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 | |
arch_name="$(uname -m)" | |
if [[ "$arch_name" != "arm64" ]]; then | |
echo "Please run this script on the terminal app with bash to ensure that your are on arm64 platform" | |
exit | |
fi | |
sudo softwareupdate --install-rosetta --agree-to-license | |
echo "Installing Brew" | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile |
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
bcca7910f661628baba1ecc44ca90cbb6ed1b8ccad016fa29784f047dcbadda0 consul_0.9.3_darwin_386.zip | |
d5ee6bd737463f211c0e99f71b33c5382dcad27ecf13affb82e4c1314bd8656a consul_0.9.3_darwin_amd64.zip | |
e75cb0ed90d793ce081d8d849665d6f63b1173294d57ce752148dbf08fa1c89a consul_0.9.3_freebsd_386.zip | |
5b3ad1b3604e5a05a55ebd6dfec504aea7316c9514475c1b60837b1d4652172a consul_0.9.3_freebsd_amd64.zip | |
14de8292255bf346d4f7b30655bb8ffd9307c16f49d7ab8e7023462bfc5d9db5 consul_0.9.3_freebsd_arm.zip | |
a39eb7e844cbd5daff04f7aff88c18daa1db7a555d476b1475904bc5f5c7036d consul_0.9.3_linux_386.zip | |
9c6d652d772478d9ff44b6decdd87d980ae7e6f0167ad0f7bd408de32482f632 consul_0.9.3_linux_amd64.zip | |
068c9c20f15fe348e9ac36081e0c87d12fcc650c60638ea3f87e299b24b1cd6a consul_0.9.3_linux_arm.zip | |
68c56bbbbe1fd8a3534f996cd9d3abfe1d219124b0b73be632a2c136d3f226d5 consul_0.9.3_linux_arm64.zip | |
75dffd24347397fb4abf82291486ff8773f53dc48725ac5a78accba492f8cf38 consul_0.9.3_solaris_amd64.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
#!/bin/bash | |
# Create an environment variable for the correct distribution | |
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" | |
# Add the Cloud SDK distribution URI as a package source | |
echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list | |
# Import the Google Cloud Platform public key | |
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - |
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 | |
# Create an environment variable for the correct distribution | |
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" | |
# Add the Cloud SDK distribution URI as a package source | |
echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list | |
# Import the Google Cloud Platform public key | |
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: crate-discovery | |
labels: | |
app: crate | |
spec: | |
ports: | |
- port: 4200 | |
name: db |
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 | |
wget https://github.com/gravitational/teleport/releases/download/v0.2.0-beta.1/teleport-v0.2.0-beta.1-linux-amd64-bin.tar.gz | |
tar -xvzf teleport-v0.2.0-beta.1-linux-amd64-bin.tar.gz | |
cd teleport | |
sudo mkdir -p /opt/bin /opt/teleport | |
sudo cp -af build/* /opt/bin/ | |
sudo cp -fr src/github.com/gravitational/teleport/web/dist/* /opt/teleport/ |
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
public static GistTemplatesApplication getInstance() { | |
return ApplicationManager.getApplication().getComponent(GistTemplatesApplication.class); | |
} |
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>${maven.compiler.source}</source> | |
<target>${maven.compiler.target}</target> | |
</configuration> | |
</plugin> |