Skip to content

Instantly share code, notes, and snippets.

View a-b's full-sized avatar
🇺🇦

AL Berez a-b

🇺🇦
View GitHub Profile
@a-b
a-b / iOS URL Schemes
Created September 10, 2021 23:43 — forked from bartleby/iOS URL Schemes
iOS URL Schemes
URL Schemes
Apple
 
Apple Music     — music://geo.itunes.apple.com/us/albums/<albumID>
                – music://geo.itunes.apple.com/us/artists/<artistID>
 
Apple News      — applenews://
App Store       — itms-apps://itunes.apple.com/app/<appID>
Apple TV        — videos://
@a-b
a-b / LICENSE.md
Created December 30, 2022 06:19 — forked from sj26/LICENSE.md
Bash retry function

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit

@a-b
a-b / alfred-kitty-applescript
Created August 3, 2023 08:00 — forked from alphashuro/alfred-kitty-applescript
AppleScript for using Alfred with kitty
on alfred_script(q)
set cmd to q
repeat while cmd starts with space
set cmd to cmd's text 2 thru -1
end repeat
tell application "kitty" to activate
do shell script "/Applications/Kitty.app/Contents/MacOS/kitty @ --to unix:/tmp/mykitty new-window --new-tab"
tell application "System Events" to keystroke cmd
tell application "System Events"