This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python ../../scratch/github-summary.py --start 10-01-24 --end 02-17-25 | |
=== Bug Fixes === | |
-- Author: mozzwald -- | |
* Mon Jan 20 17:00:49 2025 -0600: FsSD: remove uneeded ternary for debug print | |
* Sat Jan 4 14:53:15 2025 -0600: atari: new Altirra 850 handler and relocator to fix break key crash. modem now checks filesize of handler and relocator | |
* Tue Nov 19 16:03:09 2024 -0600: fnSystem: fix SD card detect for non Atari platforms | |
-- Author: Jan Krupa -- | |
* Fri Jan 3 01:14:58 2025 +0100: [fujinet-pc] fix HSIO with serial port SIO | |
* Mon Dec 16 18:41:13 2024 +0100: [PC] fix Windows build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import Foundation | |
// TNFSController handles the TNFS process management | |
class TNFSController: ObservableObject { | |
@Published var isRunning = false | |
@Published var sharedDirectory = FileManager.default.homeDirectoryForCurrentUser.path | |
@Published var statusMessage = "TNFS Service Stopped" | |
private var process: Process? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apple 2 disk help | |
1. Format and Size Detection: | |
• is_woz_format: Checks if the disk image starts with the WOZ signature. | |
• get_image_size_kb: Retrieves the size of the disk image in kilobytes. | |
2. Filesystem Detection: | |
• detect_filesystem: Utilizes the existing autodetection to identify the filesystem and sector order. | |
3. Recommendation Logic: | |
• recommend_mounting: Implements the mounting recommendation rules based on image format, size, and filesystem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start SSH Service. | |
wsl sudo service ssh start | |
# WSL2 network port forwarding script v1 | |
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
# written by Daehyuk Ahn, Aug-1-2020 | |
# Display all portproxy information | |
If ($Args[0] -eq "list") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from PIL import Image | |
import struct | |
# Define the Apple II HRG palette | |
palette = [ | |
(0, 0, 0), # Black | |
(114, 38, 64), # Deep Red | |
(64, 51, 127), # Dark Blue | |
(255, 0, 255), # Purple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<'EOF' > /etc/systemd/system/udp-firewall.service | |
[Unit] | |
Description=UDP Firewall Service | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/node /usr/local/bin/udp_firewall.js | |
Restart=always | |
User=root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<'EOF' > /usr/local/bin/udp_firewall.js | |
const dgram = require('dgram'); | |
const { exec } = require('child_process'); | |
const PORT = 6677; | |
const server = dgram.createSocket('udp4'); | |
server.on('listening', () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOF | sudo bash | |
# Flush existing rules and set default policies | |
iptables -F | |
iptables -t nat -F | |
iptables -t mangle -F | |
iptables -t raw -F | |
iptables -X | |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyshark | |
import logging | |
# Set up logging | |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') | |
def packet_handler(pkt): | |
try: | |
if 'UDP' in pkt: | |
src_addr = pkt.ip.src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<'EOF' > index.html | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>ESP Web Tools with Dynamic Manifest</title> | |
<style> | |
#spinner { | |
display: none; |
NewerOlder