This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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. | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |