...
[REGISTRY/]sitecore-<TOPOLOGY>-<ROLE>[-VARIANT[-VARIANT]]:<SITECORE_VERSION>[-VARIANT_VERSION[-VARIANT_VERSION]]-<OS_REPOSITORY>-<OS_TAG>
#define WIN32_LEAN_AND_MEAN | |
#include <Windows.h> | |
#include <TlHelp32.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <string.h> | |
#define printerr(e) (fprintf(stderr, e)) |
#!/bin/bash | |
set -e | |
source <(curl -sSL benco.io/lib) # Load libary from remote URL, it's safe! | |
GITHUB="derailed/k9s" | |
VERSION=${1:-"$(get_latest_release $GITHUB)"} | |
INSTALL_DIR=${2:-"$HOME/.local/bin"} | |
CMD=k9s | |
NAME="k9s terminal UI for Kubernetes" |
sudo dpkg --add-architecture i386 | |
sudo apt update | |
sudo apt-get install libtool-bin cmake libproxy-dev uuid-dev liblzo2-dev autoconf automake bash bison \ | |
bzip2 diffutils file flex m4 g++ gawk groff-base libncurses5-dev libtool libslang2 make patch perl pkg-config shtool \ | |
subversion tar texinfo zlib1g zlib1g-dev git gettext libexpat1-dev libssl-dev cvs gperf unzip \ | |
python libxml-parser-perl gcc-multilib gconf-editor libxml2-dev g++-multilib gitk libncurses5 mtd-utils \ | |
libncurses5-dev libvorbis-dev git autopoint autogen sed build-essential intltool libglib2.0-dev \ |
version: '2' | |
services: | |
plex: | |
image: linuxserver/plex | |
container_name: plex | |
volumes: | |
- /path/to/plex/config:/config | |
- /path/to/plex/Movies:/data/movies | |
- /path/to/plex/Shows:/data/tvshows | |
- /path/to/plex/transcode:/data/transcode |
This guide will enable systemd
to run as normal under WSL 2. This will enable services like microk8s
, docker
and many more to just work
during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.
To enable systemd
under WSL we require a tool called systemd-genie
Copy the contents of install-sg.sh
to a new file /tmp/install-sg.sh
:
cd /tmp
$subnet = '10.224.0' | |
(1..254) | foreach { | |
$ip = "$subnet.$_" | |
$props = @{ | |
'IP' = $ip ; | |
'Name' = (Resolve-DnsName $ip -ErrorAction SilentlyContinue | select -ExpandProperty NameHost) ; | |
'Response' = (Test-Connection $ip -Quiet -Count 1) | |
} | |
$obj = New-Object -TypeName psobject -Property $props | |
Write-Output $obj |
#!/usr/bin/env bash | |
set -e | |
DEFAULT_BIN_DIR="/usr/local/bin" | |
BIN_DIR=${1:-"${DEFAULT_BIN_DIR}"} | |
GITHUB_REPO="fluxcd/flux2" | |
# Helper functions for logs | |
info() { | |
echo '[INFO] ' "$@" |
extraScrapeConfigs: | | |
- job_name: opencost | |
scrape_interval: 1m | |
scrape_timeout: 10s | |
metrics_path: /metrics | |
scheme: http | |
static_configs: | |
- targets: ['opencost.opencost-exporter:9003'] |