Skip to content

Instantly share code, notes, and snippets.

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
@ivankatliarchuk
ivankatliarchuk / kubectl-apply-light.go
Created June 15, 2025 20:56 — forked from NishanthSpShetty/kubectl-apply-light.go
Apply kubernetes manifest yaml file using k8s golang client
package kubectl
import (
"context"
"errors"
"fmt"
"io/ioutil"
"net/http"
"strings"
@ivankatliarchuk
ivankatliarchuk / proxy-aws-sdk-v1.go
Last active February 15, 2025 22:49 — forked from jakexks/aws.go
Proxy in AWS SDK GO
package main
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"net/http"
"net/url"
)
@ivankatliarchuk
ivankatliarchuk / crypto-rand-override-test.go
Created December 29, 2024 12:55
how-to-override-rand-reader-behavior-golang
package main
package endpoint
import (
"encoding/base64"
"io"
"testing"
"crypto/rand"
@ivankatliarchuk
ivankatliarchuk / gist:f29437ffd84032fed41a5b5da92052e2
Created December 29, 2024 12:38
log-rus-how-to-test-log-Fatalf
package main
import (
"bytes"
"testing"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
)
package rds
import (
log "log/slog"
)
func Process(input string) string {
log.Info("process")
return input
}
@ivankatliarchuk
ivankatliarchuk / github-actions-notes.md
Created May 20, 2022 23:21 — forked from br3ndonland/github-actions-notes.md
Getting the Gist of GitHub Actions

Keybase proof

I hereby claim:

  • I am ivankatliarchuk on github.
  • I am ivankat (https://keybase.io/ivankat) on keybase.
  • I have a public key ASCs6_5-hESvQ9fPRHAd1rXUGvQNxAoBowZFKUvwX0rlRwo

To claim this, I am signing this object:

@ivankatliarchuk
ivankatliarchuk / docker-compose.yml
Created May 14, 2020 07:01 — forked from smashnet/docker-compose.yml
Docker-Compose: Mastodon v3.1.3 with Traefik v2
version: '3'
# Variables to fill in:
# Line 23: <LETSENCRYPT_MAIL_ADDRESS> - your mail address for contact with Let's Encrypt
# Line 36: <TRAEFIK_DASHBOARD_ADMIN_PASSWORD> - MD5 hash of your password (use http://www.htaccesstools.com/htpasswd-generator/)
# Line 54: <POSTGRES_PASSWORD> - the password for the postgres db. Use the same during mastodon:setup!
# Lines 31, 85, 109: <DOMAIN> - e.g. social.yourdomain.com (Must have an A record pointing to your box' IP) (AAAA for IPv6 ;)
services:
traefik:
@ivankatliarchuk
ivankatliarchuk / traefik-compose
Created April 16, 2020 07:08
traefik 2 with docker-compose
version: '3.7'
networks:
traefik:
external: true
volumes:
db_data:
secrets: