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
# Setup symlinks | |
$mappings = @( | |
@{ | |
source = "$Env:USERPROFILE\.gitconfig" | |
dest = "$PWD\Git\.gitconfig" | |
}, | |
@{ | |
source = "$Env:LOCALAPPDATA\nvim\" | |
dest = "$PWD\NeoVim\" |
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
<Query Kind="Program"> | |
<NuGetReference>linqtotwitter</NuGetReference> | |
<Namespace>LinqToTwitter</Namespace> | |
<Namespace>LinqToTwitter.OAuth</Namespace> | |
<Namespace>System.Threading.Tasks</Namespace> | |
</Query> | |
#load ".\Creds" | |
async Task Main() |
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 | |
# Pre-pull the requisites Docker images needed to run a Kubernetes master | |
kubeadm config images pull -v3 | |
# Init master node | |
kubeadm init --token-ttl=0 --pod-network-cidr=10.244.0.0/16 # This uses the Flannel pod network addon | |
# Setup local access to the cluster via the kubectl command | |
mkdir -p $HOME/.kube |
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
version: '3.1' | |
services: | |
prometheus: | |
image: prom/prometheus:v2.1.0 | |
command: | |
- '--config.file=/etc/prometheus/prometheus.yml' | |
ports: | |
- 9090:9090 | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml |
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