Skip to content

Instantly share code, notes, and snippets.

MaxPeal MaxPeal

View GitHub Profile
@MaxPeal
MaxPeal / docker-tags.sh
Created May 16, 2020 — forked from nealey/docker-tags.sh
List Docker Image Tags using Bourne shell (including Bash)
View docker-tags.sh
#! /bin/sh
image="$1"; shift
if [ -z "$image" ] || [ "$image" == "--help" ]; then
echo "Usage: $0 IMAGE"
echo
echo "Prints all tags associated with IMAGE in a docker repository"
exit 1
fi
@MaxPeal
MaxPeal / docker-compose.yml
Last active Mar 29, 2020 — forked from pyrou/docker-compose.yml
Use https://traefik.me SSL certificates for local HTTPS without having to touch your /etc/hosts or your certificate CA.
View docker-compose.yml
version: '3'
services:
traefik:
restart: unless-stopped
#image: traefik:v2.0.2
image: traefik:v2.2
depends_on:
- "wait"
ports:
- "80:80"
@MaxPeal
MaxPeal / Caddyfile
Created Mar 26, 2020 — forked from Ocramius/Caddyfile
Example docker + docker-compose + caddy + traefik setup that routes to multiple apps from one exposed HTTP port
View Caddyfile
:80 {
root /serve
}
@MaxPeal
MaxPeal / README.md
Created May 11, 2019 — forked from dragon788/README.md
How to permalink to a gist's raw file
View README.md

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]

@MaxPeal
MaxPeal / debug.log
Created Dec 30, 2018 — forked from ssccio/debug.log
Vagrant up debug
View debug.log
INFO global: Vagrant version: 2.2.2
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.6.14.1
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.2/gems/vagrant-2.2.2/bin/vagrant"
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.2.2/gems/vagrant-2.2.2/plugins/synced_folders/nfs/plugin.rb
@MaxPeal
MaxPeal / dhcpd.conf
Last active Sep 17, 2017 — forked from robinsmidsrod/dhcpd.conf
Trying to chainload iPXE with full feature set from a lesser featured one, whilst still being able to boot non-supported cards with UNDI
View dhcpd.conf
ddns-update-style none;
deny bootp; #default
authoritative;
include "/etc/dhcp/ipxe-option-space.conf";
# GREEN
subnet 10.1.1.0 netmask 255.255.255.0 {
range 10.1.1.100 10.1.1.199;
option subnet-mask 255.255.255.0;
View gist:c82a9aafd07aa23d213500f083eac08e
C:\Program Files\Oracle\VirtualBox\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack\PXE-Intel.rom
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/PC/ipxe/Makefile.kmk
https://www.virtualbox.org/export/68696/vbox/trunk/src/VBox/Devices/PC/ipxe/iPxeBiosBin.rom
https://www.virtualbox.org/ticket/13628
C:\>"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "iPXE_NO-intelPXE Clone" VBoxInternal/Devices/pcbios/0/Config/LanBootRom iPxeBiosBin.rom
You can’t perform that action at this time.