Skip to content

Instantly share code, notes, and snippets.

@jimsander
jimsander / odme_step11_3.ps1
Created January 11, 2018 18:26
odme_step11_3
Current subscription is 40b7ae52-39d7-48cb-bdff-ef88558c58d5;
ResourceGroup is odme-dev-pm-rg
Tenant: 91c369b5-1c9e-439c-989c-1867ec606603
## Step 11 :: Initial Deployment of Services
Version is dev
Region is pm
Select build
Choose product package
[] Apollo-1.11.0.10717-Engine-2.2.6910-odme-pm-deployment.zip [] Apollo-1.11.0.10712-Engine-2.2.6910-master.zip
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jimsander
jimsander / cjParse.py
Last active April 15, 2022 22:22
Sample JQ parsing
# Simple CSV to JSON converter.
# No files, just stdin and stdout like a real tool should be
# Jim Sander
import csv
import json
import sys
data = []
@jimsander
jimsander / k8s_install.md
Last active July 13, 2022 12:04
Initial notes on install self-managed k8s

Enable Modules

cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF

sudo modprobe overlay
sudo modprobe br_netfilter
@jimsander
jimsander / fuwsl2.md
Last active May 18, 2023 00:13
Windows and hanging SSH Connections

SSH sessions hang if using WSL2 linux or any linux container

UPDATE : Nope, it's even PowerShell ... (discovered this after revision 4 of this gist)

TLDR; Suspect the virtual machine platform, requried for any containerized system (including Rancher/Docker desktop) is the source of the ssh hangs, as a PowerShell ssh has no hang issues.

This is a known issue for 4 years now

Tried using a Linux container and ssh behaves similarly