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/osascript | |
| # | |
| # Required parameters: | |
| # @raycast.schemaVersion 1 | |
| # @raycast.title Fabric Link (current Safari tab) | |
| # @raycast.mode silent | |
| # | |
| # Optional parameters: | |
| # @raycast.packageName Fabric | |
| # @raycast.icon 🔗 |
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
| // Flexoki Dark for Blink Shell | |
| // https://stephango.com/flexoki | |
| black = '#100F0F'; | |
| red = '#AF3029'; | |
| green = '#66800B'; | |
| yellow = '#AD8301'; | |
| blue = '#205EA6'; | |
| magenta = '#A02F6F'; | |
| cyan = '#24837B'; |
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
| diff_dirs() { | |
| local group=0 | |
| while [[ "$1" == -* ]]; do | |
| case "$1" in | |
| -g|--group) group=1; shift ;; | |
| -h|--help) | |
| echo "Usage: diff_dirs [-g] <folderA> <folderB>" | |
| echo "" | |
| echo "Quick directory comparison using rsync (compares by file size only)." | |
| echo "" |
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
| // Flexoki Light for Blink Shell | |
| // https://stephango.com/flexoki | |
| // | |
| // Note on ANSI 7 / 15 (white / lightWhite): | |
| // Flexoki's terminal spec maps these to paper and bg-2 -- both at or near | |
| // the terminal background. Programs that emit color 7 or 15 as a foreground | |
| // then render invisibly. To keep the theme usable in real TUIs we deviate: | |
| // - white -> tx (#100F0F) so ANSI 7 fg stays readable on paper | |
| // - lightWhite -> paper (#FFFCF0) preserves the "background tone" slot | |
| // ANSI 15 fg is still invisible on paper, but very few programs emit it |
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
| // Life Calendar Wallpaper Generator for Scriptable | |
| // https://waitbutwhy.com/2014/05/life-weeks.html | |
| // https://x.com/luismbat/status/2006693230109176288 | |
| // https://x.com/pastabrian/status/2006756624246112619 | |
| // https://x.com/anvanvan/status/2006887614671106311 | |
| // Install instructions: | |
| // 1. Download https://scriptable.app | |
| // 2. Go to Shortcut app and create a new shortcut | |
| // 3. Add `Run Inline Script` and `Set Wallpaper` |
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/osascript | |
| # Toggle macOS App Window State | |
| # | |
| # This script provides smart window toggling for any macOS application: | |
| # - If app is not running → launches and activates it | |
| # - If app is minimized → restores and brings to front | |
| # - If app is in background → brings to front | |
| # - If app is in foreground → minimizes to dock | |
| # |
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 | |
| #=============================================================================== | |
| # AUTO TIME MACHINE BACKUP SCRIPT | |
| #=============================================================================== | |
| # | |
| # DESCRIPTION: | |
| # Automatically detects when an external SSD is connected, mounts the Time | |
| # Machine sparsebundle, runs a backup, and safely ejects both volumes when | |
| # complete. Uses event-driven architecture (no polling) for better power |
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
| tell application "Safari" | |
| make new document | |
| activate | |
| end tell |
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
| param( | |
| [Parameter(Mandatory=$true)] | |
| [string]$FolderPath | |
| ) | |
| function Sort-Files { | |
| Get-ChildItem -Path $FolderPath -File -Recurse | ForEach-Object { | |
| #Write-Host "File: $_" | |
| $creationDate = $_.CreationTime -replace("[^0-9/\:\sapm]") | |
| $fileName = $_.Name |
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
| " 1. performance settings | |
| set synmaxcol=300 | |
| set noshowmatch | |
| set lazyredraw | |
| set ttyfast | |
| set nocursorline | |
| " leader key | |
| let mapleader = "\<space>" | |
| set timeoutlen=1000 ttimeoutlen=0 |
NewerOlder