Skip to content

Instantly share code, notes, and snippets.

View knzcx's full-sized avatar

knzcx

  • living in a docker container
  • 00:54 (UTC +02:00)
View GitHub Profile
@knzcx
knzcx / sips-macos.txt
Last active March 3, 2025 17:58
Convert HEIC to JPG locally on macOS
~ sips -s format jpeg example-image.heic --out example-image.jpg
=> additional information & formats
~ sips --version
sips-311
~ sips
sips - scriptable image processing system.
This tool is used to query or modify raster image files and ColorSync ICC profiles.
Its functionality can also be used through the "Image Events" AppleScript suite.
@knzcx
knzcx / cloudflare-updatewafrule.py
Last active April 13, 2025 20:29
Cloudflare WAF Custom Rules Updater
#!/usr/bin/env python3
import argparse
import requests
import json
import sys
import time
from datetime import datetime
# Import Rich components at module level