Skip to content

Instantly share code, notes, and snippets.

View BaruchWeka's full-sized avatar

Baruch Even BaruchWeka

View GitHub Profile
@BaruchWeka
BaruchWeka / notifications.py
Last active March 1, 2026 06:30
kitty notification script to mark the window urgent, get notified and pointed to the window when Claude Code waits for input
#!/usr/bin/env python
# Kitty notification scripts, save it as ~/.config/kitty/notifications.py
"""
Diagnostic notifications.py for ~/.config/kitty/notifications.py
This script runs INSIDE the kitty process (not a subprocess).
It marks the window as urgent so it shows up in the workspace and remains marked after the notification is gone.
"""
@BaruchWeka
BaruchWeka / nebula_usb.py
Created December 31, 2020 20:11 — forked from cmetz/nebula_usb.py
Python Durgod K320 Nebula Hacks
import usb.core
import usb.util
import array
import time
import random
import math
import webcolors
import random
from collections import OrderedDict, namedtuple
from sys import exit
@BaruchWeka
BaruchWeka / asm-diff
Created October 13, 2020 17:42 — forked from eschulte/asm-diff
Use objdump to view the differences between two object files
#!/bin/bash
#
# Usage: asm-diff [options] file1 file2 [-- diff options]
# Return the difference in the objudmp parsing of files
#
# OPTIONS:
# -o,--objdump CMD --- specify objdump command to use
# -j,--section NAME -- section to compare
# (default: .text)
# -c,--clean --------- specify whether to clean addresses