Skip to content

Instantly share code, notes, and snippets.

View StefanScherer's full-sized avatar
🌍

Stefan Scherer StefanScherer

🌍
View GitHub Profile
anonymous
anonymous / manifest-report.txt
Created September 19, 2017 21:32
Container: nginx
Manifest List: Yes
Supported platforms:
- amd64/linux
- arm/linux (variant: v7)
- arm64/linux (variant: v8)
- 386/linux
- ppc64le/linux
- s390x/linux
@jessfraz
jessfraz / boxstarter.ps1
Last active April 11, 2024 16:02
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@alexellis
alexellis / k8s-pi.md
Last active April 11, 2024 14:17
K8s on Raspbian
@troyfontaine
troyfontaine / 1-setup.md
Last active May 3, 2024 10:52
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

@rn
rn / packet.net.md
Last active November 14, 2017 14:52
arm64 server setup

This document outlines steps and common tasks for setting up a arm64 dev machine for LinuxKit.

Notes on packet.net

If you set up a server on packet.net using the docker account please use your name/slackhandle/initials in the machine name. We will garbage collect machine and whack machine not adhering to this policy without warning :).

Deploy a Ubuntu 16.04 LTS server on packet.net and ssh in as root.

@PatrickLang
PatrickLang / sd_drivers_ws2016.md
Last active November 14, 2023 08:20
Booting Windows Server 2016 core from eMMC

Booting Windows Server 2016 Core from eMMC devices

Comparing drivers between Desktop & Core editions

The Windows installation ISO contains multiple Windows image files (WIM):

  • boot.wim - this is used to boot the Windows Preinstallation Environment (WinPE) for a clean install
  • install.wim - this contains the image(s) that will be installed.

The Windows Server 2016 ISO contains multiple versions in this single install.wim file which is why the same media can be used to install Standard or Datacenter editions, with the desktop experience or without it (core).

@BretFisher
BretFisher / docker-for-mac.md
Last active May 7, 2024 08:34
Getting a Shell in the Docker Desktop Mac VM

2021 Update: Easiest option is Justin's repo and image

Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).

docker run -it --rm --privileged --pid=host justincormack/nsenter1

more info: https://github.com/justincormack/nsenter1


@thebsdbox
thebsdbox / gist:29e395299f89b52214b66269f5b33f7d
Created February 22, 2017 10:58
Hello Docker World in 69 bytes
BITS 32
org 0x05000000
db 0x7F, "ELF"
dd 1
dd 0
dd $$
dw 2
dw 3
dd 0x0500001B
@PatrickLang
PatrickLang / iis_auth_allsteps.md
Last active March 2, 2024 20:18
Setting up IIS with User Authorization in Windows Server containers

Create a resource group

Create a resource group in Azure to hold all of the resources you'll be creating:

  • Virtual Network
  • Virtual Machines

Create a VNet

  • Don't use 172.* IPs. I used 10.3.0.0/24