Skip to content

Instantly share code, notes, and snippets.

View Ultraporing's full-sized avatar
👻
Spooking like you do

Tobias Lenz Ultraporing

👻
Spooking like you do
View GitHub Profile
@Ultraporing
Ultraporing / physical_interface_mac_address_filtered.go
Last active January 3, 2021 22:12
Physical network interfaces filtered by MAC address of popular VM's, Teredo Tunneling Pseudo-Interface and loopback interfaces. This allows you to get all/first physical network interfaces of this OS/machine. The macAddrPartsToCheck needs to get more MAC address parts added to support other non physical network interfaces.
package main
import (
"errors"
"fmt"
"net"
"strings"
)
// The main function, Only for demonstration
@Ultraporing
Ultraporing / main.go
Last active April 26, 2024 01:41
Golang implementation of an physical network interface filter usefull for packetsniffing and pcap. It provides you with the Adapter Name (in windows Friendly Name in addition) and MAC Address. Tunnels (VMs and such), loopback adapters get ignored. I updated my code from the https://github.com/regner/albiondata-client project and added an example.
package main
import (
"fmt"
ifil "./ifilter"
)
func main() {
physicalInterfaceList := ifil.GetAllPhysicalInterfaces()
fmt.Println("All Physical Network Interfaces:", physicalInterfaceList)
@Ultraporing
Ultraporing / ProgressQuestMultipleCharacterSheetDisplayPage.md
Last active December 6, 2021 13:52
Progress Quest multiple character sheet display page

Read Me

What is this?

This is a basic HTML page which displays 3 Progress Quest character sheets. You can use the progress quest export functionality to export your character sheets periodicly and directly use them here, as long as the paths to the sheets are correct.

How to use

You can change the Webpage title in line 45. Just change the Headers and character sheet paths in lines 48, 49 and 50 to your character sheets and Headers. I.E: change <div class="leftpane"><h1>Rouxlid [Spoltog]</h1><iframe class="container" src="Rouxlid [Spoltog].sheet" to this <div class="leftpane"><h1>First Character</h1><iframe class="container" src="firstCharacter.sheet" Now the Left most panel displays the Headline "First Character" and displays the file in the same folder "firstCharacter.sheet" below it.

@Ultraporing
Ultraporing / hybrid.omp.json
Last active December 4, 2023 12:54
Oh my posh theme based on paradox.omp.json and others
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [{
"alignment": "left",
"segments": [{
"background": "#0077c2",
"foreground": "#ffffff",
"leading_diamond": "<transparent,#00c7fc>\ue0b0</>",
"powerline_symbol": "\ue0b0",
"style": "powerline",