Skip to content

Instantly share code, notes, and snippets.

View qjoly's full-sized avatar
🪄
Atypographing...

Quentin JOLY qjoly

🪄
Atypographing...
View GitHub Profile
@qjoly
qjoly / README.md
Last active October 16, 2026 13:35
Make the CheerPlay (CHP07) BLE remote drive slides on macOS — native hidutil remap, no Karabiner

CheerPlay (CHP07) as a real presentation clicker on macOS

The CheerPlay BLE remote advertises itself as an Apple Magic Mouse and ships without a HID keyboard collection. Its "next / previous slide" buttons emit Consumer usages 0xE9 / 0xEA (volume up / down), which macOS routes to the volume control and nothing else. On iOS those same codes drive the camera shutter and Keynote, which is what the device was designed around.

This remaps them to Page Down / Page Up with hidutil, which is built into macOS. No Karabiner, no kext, no driver.

{
"did": "did:plc:hqnyog7skad6m4aejb2yujxy"
}
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: lanpool
namespace: metallb-system
spec:
addresses:
- 192.168.1.222-192.168.1.225
---
apiVersion: metallb.io/v1beta1
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: ProxmoxCluster
metadata:
name: proxmox-cluster
namespace: default
spec:
schedulerHints:
memoryAdjustment: 0
allowedNodes:
- homelab-proxmox-02
@qjoly
qjoly / COSIGN.MD
Last active August 18, 2024 22:50

I have many Docker images to maintain (mostly personal projects) but I have no way of verifying the authenticity of my images. To add an extra layer of security, I decided to POC the use of Cosign.

There are many alternatives, but some require the maintenance of a key management server or are just less popular than Cosign.

Requirements

Generate a cosign signature

@qjoly
qjoly / Dockerfile
Created April 9, 2024 09:59
Systemd Centos Image
FROM rockylinux/rockylinux:9
ENV HTTP_PROXY "http://proxy.infra.dgfip:3128"
ENV HTTPS_PROXY "http://proxy.infra.dgfip:3128"
RUN [ ! -f /usr/sbin/init ] && dnf -y install systemd;
RUN ([ -d /lib/systemd/system/sysinit.target.wants ] && cd /lib/systemd/system/sysinit.target.wants/ && for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\

Keybase proof

I hereby claim:

To claim this, I am signing this object: