Skip to content

Instantly share code, notes, and snippets.

View mpawlowski7's full-sized avatar

Michal Pawlowski mpawlowski7

View GitHub Profile

HP LaserJet P1102 Drivers for macOS Sequoia

This instructions provides a solution for installing HP LaserJet P1102 drivers on macOS Sequoia (15.0+). The official HP drivers don't install on the latest macOS versions, but with a simple modification to bypass the operating system version check, you can get your printer working again.

Supported Printer Models

  • HP LaserJet P1102
  • HP LaserJet Pro P1102
  • HP LaserJet Pro P1102w
@pjobson
pjobson / amdgpu_firmware.md
Created August 31, 2023 03:17
install amdgpu firmware
   git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git
   sudo cp linux-firmware/amdgpu/* /lib/firmware/amdgpu
   sudo update-initramfs -k all -u -v
@peterspackman
peterspackman / mingw-w64-x86_64.cmake
Last active November 24, 2025 17:55
cmake toolchain file for mingw-w64 x86_64 builds on Ubuntu
# Sample toolchain file for building for Windows from an Ubuntu Linux system.
#
# Typical usage:
# *) install cross compiler: `sudo apt-get install mingw-w64`
# *) cd build
# *) cmake -DCMAKE_TOOLCHAIN_FILE=~/mingw-w64-x86_64.cmake ..
# This is free and unencumbered software released into the public domain.
set(CMAKE_SYSTEM_NAME Windows)
set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)