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
| <?xml version="1.0" encoding="utf-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <array> | |
| <dict><key>shortcut</key><string>AD</string><key>phrase</key><string>Andorra</string></dict> | |
| <dict><key>shortcut</key><string>AE</string><key>phrase</key><string>United Arab Emirates</string></dict> | |
| <dict><key>shortcut</key><string>AF</string><key>phrase</key><string>Afghanistan</string></dict> | |
| <dict><key>shortcut</key><string>AG</string><key>phrase</key><string>Antigua and Barbuda</string></dict> |
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
| (* | |
| FILENAME: | |
| select_contents_of_nth_tag.scpt | |
| README: | |
| This script: | |
| • asks for a "tag#index" pair separated by a '#' hash mark: | |
| - "tag" is the name of the seeked tag, | |
| - "index" is the number of the seeked tag; |
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 gorun | |
| // Original code: https://rosettacode.org/wiki/Ukkonen’s_suffix_tree_construction | |
| /* | |
| Here is a BBEdit Text Filter that will scan the frontmost document's selected text (or the whole document in no selection) for the longest repeated substring and log a regular expression in the 'Unix Script Output.log' that allows you to find the repetition. | |
| It works by replacing all non alphanumeric or underscore characters with a regular expression, thus comparing only the 'text' and ignoring anything else: whitespace, punctuation, math operators, etc. | |
| As a consequence, it's more useful on textual content than on code. |
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
| (* | |
| README | |
| Considering that list indentation is a form of compression, this BBEdit script | |
| decompresses the list, sorts it with the shell `sort` command, and compresses it back again. | |
| In doing so, the indented list will be sorted, sub lists will be merged and | |
| duplicates will be eliminated. | |
| For sorting options (case insensitive, etc.) see the `sort` man page in terminal and |
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
| (* | |
| README | |
| This BBEdit script copies a markdown document's selection as HTML to the pasteboard. | |
| In case nothing is selected it copies the whole contents of the document. | |
| DOCUMENTATION | |
| https://pandoc.org | |
OlderNewer