Skip to content

Instantly share code, notes, and snippets.

View TheTinkerBasement's full-sized avatar

TheTinkerBasement TheTinkerBasement

View GitHub Profile
@TheTinkerBasement
TheTinkerBasement / README.md
Last active July 14, 2025 15:00
openai gpt prompt help

pip install openai

export OPENAI_API_KEY=your_api_key

python your_script.py --input-dir ./my_inputs --output-dir ./my_outputs

@TheTinkerBasement
TheTinkerBasement / Installing printer driver on macos 15.5 sequoia for the printer HP Color Laser MFP 178nw .md
Last active July 8, 2025 18:40
Installing printer driver on macos 15.5 sequoia for the printer HP Color Laser MFP 178nw

TL;DR

  • Bought my wife one of those fancy MacBooks because she got fed up with me trying to force Linux systems on her (been doing that for the last 10 years).
  • I don't like AirPrint and don’t want to keep a wireless network open just for it. I'm all in on Ethernet, so that’s not an option.
  • Tried to install the printer as an IP printer using the IPP protocol, but macOS couldn’t find a proper driver.
  • Then I tried configuring the printer as AirPrint over Ethernet, but the result was 20 pages of garbage—so that’s also not an option.
  • Tried to find a proper driver for the IPP installation, but the HP website doesn’t offer anything for Sequoia.
  • I dug through various tools like "HP Easy Admin" and HewlettPackardPrinterDrivers.dmg and managed to extract the latest HP ColorLaserJet MFP M178-M181 Fax.ppd.
  • Unfortunately, macOS 15.5 Sequoia doesn't support installing PPD files directly because CUPS no longer allows it—so that’s out too.
  • I installed the "HP Smart" app, but I don’t like pr
[package]
name = "loading-token-smart-contract"
version = "0.1.0"
edition = "2021"
[dependencies]
ethers = { version = "2.0", features=["rustls"]}
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
eyre = "0.6"