Skip to content

Instantly share code, notes, and snippets.

@jtcmedia
jtcmedia / Update-AUPackages.md
Last active April 26, 2024 03:29
Update-AUPackages Report #powershell #chocolatey
@jtcmedia
jtcmedia / open_powershell_here.md
Last active December 10, 2017 20:22 — forked from davecan/open_powershell_here.md
How to enable "Open PowerShell Here" context menu in Windows 10
@jtcmedia
jtcmedia / about.md
Created April 9, 2018 05:48 — forked from robfe/about.md
Running localstack in docker for windows with persistence enabled

Running localstack in docker for windows with persistence enabled

Running on Docker for Windows

Localstack comes with a docker-compose file that won't quite work when you're running the (linux) container in docker for Windows.

Two changes need to be made:

The docker.sock volume won't work on windows

We can just comment that line out:

@jtcmedia
jtcmedia / net-init.sh
Last active August 24, 2018 04:34 — forked from kaspernissen/hostname_and_ip.sh
Script for configuring hostname and static ip of rasbian
#!/bin/sh
hostname=$1 # k8s-node-X
ip=$2 # should be of format: 10.0.0.X
# Change the hostname
sudo hostnamectl set-hostname $hostname
sudo sed -i s/raspberrypi/$hostname/g /etc/hosts
# Set the static ip
@jtcmedia
jtcmedia / init.sh
Created August 24, 2018 17:04 — forked from kaspernissen/init.sh
init.sh
#!/bin/sh
# Install Docker
curl -sSL get.docker.com | sh && \
sudo usermod pi -aG docker
# Disable Swap
sudo dphys-swapfile swapoff && \
sudo dphys-swapfile uninstall && \
sudo update-rc.d dphys-swapfile remove