Skip to content

Instantly share code, notes, and snippets.

@tiagocoutinho
tiagocoutinho / README.md
Last active December 19, 2023 07:57
Virtual serial line (RS232) on linux with socat and pyserial

Virtual serial line

Virtual serial line on linux with socat, python server & client

Run on terminal 1:

socat -d -d pty,raw,echo=0,link=/tmp/cryocon_simulator pty,raw,echo=0,link=/tmp/cryocon

Run on terminal 2:

@sf2platinum
sf2platinum / merger.pl
Created November 27, 2019 04:12
Merge hi/low rom pairs
#!/usr/bin/perl
#
# Merge a pair of hi/low byte roms into a single file
#
# Usage: merger.pl <low_or_even_byte_rom> <high_or_odd_byte_rom> >outputfile.bin
open LO, $ARGV[0] || die $!;
open HI, $ARGV[1] || die $!;
$i=0;
#!/usr/bin/env python3
import zipfile
import sys
import re
import xml.etree.ElementTree as ET
namespaces = {
'a': 'http://schemas.openxmlformats.org/drawingml/2006/main',
'r': 'http://schemas.openxmlformats.org/officeDocument/2006/relationships',
@WillSams
WillSams / m68k_dev_setup.sh
Last active May 10, 2024 08:10
Setup for Motorola 68000 (Sega, Neo Geo) Cross Compiler on Debian-based System
#!/bin/bash
echo "==================================================================="
echo
echo " My m68000 Development Setup "
echo " You may be prompted for root credentials to complete the install. "
echo
echo " Toolchain is GNU so it expects you to write AT&T style assembly. "
echo " If you want the Windows (MSYS2) script, it's here: "
echo " https://gist.github.com/WillSams/f592f9d494b51119945440f7e91079b0 "
@roachhd
roachhd / README.md
Last active August 13, 2025 10:05
Link to a PDF in JEKYLL 😎

you can [get the PDF]({{ site.url }}/assets/mydoc.pdf) directly.

you can [get the PDF]({{ site.url }}/assets/mydoc.pdf) directly.