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
| isLandscape = Generators.observe(next => { | |
| // yield initial value | |
| next(screen.orientation?.angle == 90 || screen.orientation?.angle == 180); | |
| // define event listener | |
| const listener = () => next(screen.orientation?.angle == 90 || screen.orientation?.angle == 180); | |
| // attach event listener | |
| screen.orientation.addEventListener("change", listener); |
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/env Rscript | |
| # Raycast Script Command: Search R Help | |
| # | |
| # @raycast.schemaVersion 1 | |
| # @raycast.title Search R Help | |
| # @raycast.description Search installed R packages for documentation | |
| # @raycast.mode silent | |
| # @raycast.icon 📖 | |
| # @raycast.packageName Raycast Scripts |
OlderNewer