Skip to content

Instantly share code, notes, and snippets.

View irudoy's full-sized avatar
💭
🦔

irudoy

💭
🦔
View GitHub Profile
@irudoy
irudoy / hi.md
Created February 18, 2021 05:20

/ᐠ。‸。ᐟ\

@irudoy
irudoy / schema.json
Last active February 28, 2022 13:19
{
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"properties": {
"associations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"overview": {
@irudoy
irudoy / samsung-ml1920-cups-rpi.md
Last active May 21, 2022 16:02
Set up Samsung ML-1910 Printer (or similar) with CUPS on Raspberry Pi

Set up Samsung ML-1910 Printer (or similar) with CUPS on Raspberry Pi

Install and configure CUPS

sudo apt install cups
sudo usermod -a -G lpadmin pi
sudo cupsctl --remote-any
sudo cupsctl --share-printers

sudo lpinfo -v # should show your USB-connected printer
@irudoy
irudoy / README.md
Created August 13, 2026 17:17
IBM ThinkPad 365ED: booting Windows 98 DOS from CompactFlash via PCMCIA

Booting Windows 98 DOS from a PCMCIA CompactFlash card on an IBM ThinkPad 365ED

Overview

The IBM ThinkPad 365ED can start Windows 98 DOS from a CompactFlash card in a PCMCIA ATA adapter, but its PCMCIA BIOS is not fully compatible with the Windows 98 IO.SYS boot path.

A normally prepared active FAT16 card reaches IO.SYS and then stops on a black screen with a blinking cursor. Two independent firmware compatibility problems cause the failure:

  1. the PCMCIA BIOS hangs when IO.SYS rereads CHS 0/0/1 through INT 13h;
  2. the BIOS leaves the head-count byte in the geometry structure at zero, causing a 32-bit division by zero inside IO.SYS.