This file contains 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 "Keynote" | |
set curslide to the front document's current slide | |
repeat with img in the images of curslide | |
-- iWork rotation is, irritatingly, an integer | |
set the rotation of img to random number from -5 to 5 | |
end repeat | |
end tell |
This file contains 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
function RandStr(len) | |
py3 << EOF | |
import vim, random | |
rstr = ''.join([chr(random.randint(65,123)) for i in range(int(vim.eval('a:len')))]) | |
vim.command(f"return '{rstr}'") | |
EOF | |
endfunction | |
function TimeStridx(numiter, candidates) |
This file contains 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
blueprint: | |
name: One-Time Scheduled Toggle | |
description: Turn something on or off at a scheduled time. | |
domain: automation | |
input: | |
what: | |
name: Action to do | |
description: On or off? | |
selector: | |
boolean: |
OlderNewer