- Install Docker
sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/debian \
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
# 0. Add this function to ~/.bashrc. | |
# On a mac, install coreutils first and add this function to your ~/.bash_profile. | |
# 1. Make a shorter symlink pointing to the long golang directory name | |
# ln -s ~/go/src/github.com/foo/bar ~/foobar | |
# 2. goto foobar | |
goto() { | |
cd `realpath ~/$1` | |
} |
We can use the same binary as a standalone Service Catalog CLI, and as a kubectl plugin, with only minor modifications.
This is what you see today with svcat.
curl -sLO https://servicecatalogcli.blob.core.windows.net/cli/latest/$(uname -s)/$(uname -m)/svcat
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
using System.Web.Optimization; | |
public class BundleConfig | |
{ | |
public static void RegisterBundles(BundleCollection bundles) | |
{ | |
bundles.Add(new StyleBundle(Bundles.Styles.Common) | |
.Include("~/Content/normalize.css", | |
"~/Content/site.css")); |
brew install git
brew tap johanhaleby/kubetail && brew install kubetail
orbrew install --HEAD kubetail
brew install findutils
gives me gfind, which supports all the argsbrew install bash-completion
gives me autocomplete for stuff like kubectl and minikube- Upgrade Bash so that I have access to more commands, flags and to get bash completion working for kubectl
brew install bash sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells' chsh -s /usr/local/bin/bash
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
#!/usr/bin/env bash | |
set -xeuo pipefail | |
helm init --client-only | |
##### | |
# set up the repo dir, and package up all charts | |
##### | |
CHARTS_REPO="https://athens.blob.core.windows.net" |
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
FROM golang:1.12-stretch | |
WORKDIR /tmp | |
# Install Helm | |
ENV HELM_VERSION=2.13.0 | |
RUN curl -sLO https://kubernetes-helm.storage.googleapis.com/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ | |
tar -zxvf helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ | |
mv linux-amd64/helm /usr/local/bin/ |
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
build-image: | |
docker build -t build-image ./scripts/build-image/ | |
charts-push: build-image | |
docker run --rm -it \ | |
-v `pwd`:/go/src/github.com/carolynvs/mypkg \ | |
-e AZURE_STORAGE_CONNECTION_STRING \ | |
build-image ./scripts/push-charts.sh |
- Add the following line to your ~/.bash-profile
export PATH=$PATH:"$(mdfind kMDItemCFBundleIdentifier == 'com.bohemiancoding.sketch3' | head -n 1)/Contents/Resources/sketchtool/bin/"
- Add the following lines to your ~/.gitconfig
[diff "sketchtool"] textconv = "sketchtool dump" cachetextconv = true
binary = true
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
wget http://download.mono-project.com/repo/xamarin.gpg | |
sudo apt-key add xamarin.gpg | |
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee --append /etc/apt/sources.list.d/mono-xamarin.list | |
sudo apt-get update | |
sudo apt-get install mono-complete | |
sudo certmgr -ssl -m https://go.microsoft.com | |
sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net | |
sudo certmgr -ssl -m https://nuget.org | |
mozroots --import --sync |