Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am lache-sys on github.
  • I am lachesys (https://keybase.io/lachesys) on keybase.
  • I have a public key whose fingerprint is 81AE CE7A 3476 9548 9F3E CB2E 0015 CA46 F9E6 0CB5

To claim this, I am signing this object:

@lache-sys
lache-sys / tagclmv.py
Last active May 26, 2026 06:53
Change Finder View Options for Each Tags to Column View.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__doc__ = """{f}
Usage:
{f} (-i <toml> | --input <toml>)
{f} (-h | --help)
Options:
-i <toml>, --input <toml> TOML path. (required)
-h --help Show this screen.
@lache-sys
lache-sys / create_macos_install_media.py
Last active June 11, 2026 02:02
Create macOS install media automatically.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__doc__ = """{f}
Usage:
{f} (-i <disk> | --input <disk>)
{f} (-h | --help)
Options:
-h --help Show this screen.
-i <disk>, --input <disk> /dev/diskX.
@lache-sys
lache-sys / clamav_init.sh
Created January 31, 2026 09:02
ClamAV Initializer.
#!usr/bin/env bash
set -euo pipefail
readonly ULVRC="/usr/local/var/run/clamav"
case "$(uname)" in
"Darwin")
readonly CLAMAV_DIR="/opt/homebrew/etc/clamav";;
"Linux")
readonly CLAMAV_DIR="/etc/clamav";;
*)
echo "Neither macOS or Linux!"
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__doc__ = """{f}
Usage:
{f} (-i <dev> | --input <dev>) (-o <output> | --output <output>)
{f} (-h | --help)
Options:
-i <dev>, --input <dev> Input device. (required)
-o <output>, --output <output> Output filename. (required)