I hereby claim:
- I am brokosz on github.
- I am brokosz (https://keybase.io/brokosz) on keybase.
- I have a public key ASB_0MkTDujsHSyjN2eaW7XedCTEln7yioyXv8JCYSeObgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Check if scutil command is available | |
| if ! command -v scutil &> /dev/null; then | |
| echo "Error: scutil command not found." | |
| exit 1 | |
| fi | |
| # Get the list of VPN services | |
| vpn_list=$(scutil --nc list | grep 'VPN' | awk -F'"' '{print $2}') |
| # PopClip - Obsidian daily note | |
| name: Obsidian Daily | |
| icon: iconify:majesticons:note-text-plus-line | |
| options: | |
| - identifier: vault | |
| label: Vault Name | |
| type: string | |
| capture html: true | |
| javascript: | | |
| const vaultName = encodeURIComponent(popclip.options.vault); |
| # PopClip - Obsidian daily note | |
| name: Obsidian Daily | |
| icon: iconify:majesticons:note-text-plus-line | |
| options: | |
| - identifier: vault | |
| label: Vault Name | |
| type: string | |
| capture html: true | |
| javascript: | | |
| const vaultName = encodeURIComponent(popclip.options.vault); |
| #!/usr/bin/env python3 | |
| import sys | |
| from pathlib import Path | |
| try: | |
| from docx import Document | |
| except ImportError: | |
| print("Error: python-docx package not installed.") | |
| print("Install it with: pip install python-docx") | |
| sys.exit(1) |
| #!/bin/bash | |
| # Audio to M4B Audiobook Converter | |
| # Converts multiple audio files per book into single M4B files with metadata | |
| set -e | |
| # Default settings | |
| DEFAULT_BITRATE="copy" | |
| DEFAULT_CHAPTER_LENGTH=300 |
| bak() { | |
| # If a basic .bak file doesn't exist, create it | |
| if [ ! -e "$1.bak" ]; then | |
| cp "$1" "$1.bak" | |
| else | |
| # Otherwise, create a timestamped backup with .bak at the end | |
| cp "$1" "$1_$(date +%Y%m%d_%H%M%S).bak" | |
| fi | |
| } |
| #!/bin/zsh | |
| # YouTube Stream Aliases | |
| # requires IINA and yt-dlp | |
| # Save as ~/.config/zsh/youtube_streams.zsh or ~/.zsh_youtube_streams | |
| # Then source in ~/.zshrc with: source ~/.config/zsh/youtube_streams.zsh | |
| # Lo-fi Hip Hop streams | |
| alias lofi='iina --music-mode "$(yt-dlp -g --no-warnings "https://www.youtube.com/watch?v=jfKfPfyJRdk")"' | |
| alias chillhop='iina --music-mode "$(yt-dlp -g --no-warnings "https://www.youtube.com/watch?v=5yx6BWlEVcY")"' | |
| alias chill='iina --music-mode "$(yt-dlp -g --no-warnings "https://www.youtube.com/watch?v=28KRPhVzCus")"' |