Skip to content

Instantly share code, notes, and snippets.

@sebaxakerhtc
sebaxakerhtc / _INSTALL.md
Created November 11, 2020 18:12 — forked from robinsmidsrod/_INSTALL.md
Bootstrapping full iPXE native menu with customizable default option with timeout (also includes working Ubuntu 12.04 preseed install)

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
    filename "undionly.kpxe";
}

(or see https://gist.github.com/4008017 for a more elaborate setup

@sebaxakerhtc
sebaxakerhtc / PrintBootCampESDInfo.swift
Created September 30, 2021 14:04 — forked from nuomi1/PrintBootCampESDInfo.swift
macOS and BootCamp Latest
#!/usr/bin/env swift
//
// REPL.swift
//
// Created by nuomi1 on 8/5/18.
// Copyright © 2018年 nuomi1. All rights reserved.
//
import Foundation
@sebaxakerhtc
sebaxakerhtc / HyperVServer2019_GUI_Installation.md
Created November 17, 2021 16:44 — forked from bp2008/HyperVServer2019_GUI_Installation.md
How to install a graphical desktop environment on Hyper-V Server 2019

Hyper-V Server 2019 GUI Installation Guide

Introduction

Hyper-V Server does not include much in the way of graphical tools, but third-party alternatives can be installed.

I found a disturbing lack of basic instructions for using Hyper-V Server 2019, so it is my hope that this guide is useful to somebody.

Before starting this guide, enable Remote Desktop support in Hyper-V Server using the built-in configuration menu. If you connect to the Hyper-V Server with Remote Desktop, it will make it easy to copy and paste text (and later, files) from a normal Windows desktop machine.

@sebaxakerhtc
sebaxakerhtc / wsl2-network.ps1
Last active February 17, 2022 16:59 — forked from xmeng1/wsl2-network.ps1
WSL2 Port forwarding port to linux
bash.exe -c "sudo service apache2 restart"
bash.exe -c "sudo service mysql restart"
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if( $found ){
$remoteport = $matches[0];
} else{
echo "The Script Exited, the ip address of WSL 2 cannot be found";
exit;
@sebaxakerhtc
sebaxakerhtc / docker.md
Created October 21, 2022 17:13 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary