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
(* | |
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 | |
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
(* | |
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 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 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 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 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 scrit is a bit of a hack that takes advantage of Unicode combining | |
codepoints to create a p͇s͇e͇u͇d͇o͇ ͇u͇n͇d͇e͇r͇l͇i͇n͇e͇ ͇s͇t͇y͇l͇e͇. | |
It works by inserting the combining underline codepoint (U+0347 COMBINING EQUALS | |
SIGN BELOW) after each character of the selection, skipping linefeeds. |
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
(*- Local Variables: -*) | |
(*- coding: utf-16le -*) | |
(*- End: -*) | |
(* ‼️ Force Script Editor to UTF-16LE ‼️ *) | |
-- | |
(* | |
FILENAME: | |
0-[⌘…]-[compare_extracts]-[1]-[open_differences_window].applescript |
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
## | |
# README | |
# | |
# This script will try to expand Emmet css abbreviations. | |
# If nothing is selected in the frontmost document, | |
# it will use the expression at the left of the insertion point | |
# otherwise it will use the selected expression. | |
# | |
# See: https://github.com/emmetio/emmet | |
# |
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
-- | |
use AppleScript version "2.7" | |
use scripting additions | |
use framework "Foundation" | |
-- | |
property NSString : class "NSString" | |
property NSURL : class "NSURL" | |
property PDFDocument : class "PDFDocument" | |
property NSCharacterSet : class "NSCharacterSet" | |
-- |
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
## | |
# README | |
# | |
# 1. Copy some remote link starting with http://, https://, ftp://, sftp:// to the clipboard. | |
# | |
# 2. Run this script to have the contents of the link downloaded into a new BBEdit document. | |
# | |
# INSTALL | |
# | |
## |
NewerOlder