Skip to content

Instantly share code, notes, and snippets.

View Lrs121's full-sized avatar

Larson T. Lrs121

View GitHub Profile
@Lrs121
Lrs121 / qd2fds.py
Created June 20, 2022 04:32 — forked from infval/qd2fds.py
Converts between QD and FDS disk images (Family Computer Disk System / Famicom)
#!/usr/bin/env python3
"""
Converts between QD and FDS disk images
"""
import struct
def create_fds_header(side_count):
return b"FDS\x1A" + bytes([side_count & 0xFF]) + bytes(11)
@Lrs121
Lrs121 / TrustedHosts
Created June 3, 2022 20:11 — forked from JasonMorgan/TrustedHosts
Setting and modifying Trusted Hosts with PowerShell
## Hey folks, this is just a quick walkthrough on modifying the trusted hosts property in WSMAN using Powershell
# By default PowerShell loads a PSDrive for the WinRM service
# We modify the trusted hosts property using the Set-Item cmdlet
Set-Item WSMan:\localhost\Client\TrustedHosts -value 192.168.1.13
#This sets the value to 192.168.1.13, it also overwrites any existing values
# If you want to set a subnet you can use the PowerShell wildcard character
Set-Item WSMan:\localhost\Client\TrustedHosts -value 192.168.1.*
@Lrs121
Lrs121 / windows-7-plus-build-env-for-nitro.md
Created August 30, 2021 18:22 — forked from rlaphoenix/windows-7-plus-build-env-for-nitro.md
Windows 7+ Build Environment for Nintendo NITRO-System (Nintendo DS) compiling.