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 sh | |
# Feed script a url or file location. | |
# If an image, it will view in the default image view (probably Preview), | |
# if a video or music file, it will view in mpv | |
# otherwise it opens link in browser. | |
# If no url given. Opens browser. For using script as $BROWSER. | |
[ -z "$1" ] && { "$BROWSER"; exit; } |
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/perl | |
use strict; | |
use warnings; | |
use diagnostics; | |
# Converts standard Markdown inline links to lazy links. | |
# Serving Suggestions: Pipe text into inline-to-lazy.pl | |
# from the command line or install as a BBEdit Text Filter. |
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/perl | |
use strict; | |
use warnings; | |
use diagnostics; | |
# Counts Markdown lazy link references and compares against linked | |
# URLs. Helps check for unclosed links. | |
# Serving Suggestions: Pipe text into lazylink_converter.pl |
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/perl | |
# Critic Markup Processor | |
# Based on CriticMarkup by Gabe Weatherhead and Erik Hess. | |
# http://criticmarkup.com/ | |
# Strips CriticMarkup tags and performs the appropriate substitutions: | |
# Addition {++ ++} - Removes tags surrounding the Addition text. | |
# Deletion {-- --} - Deletes the tags and the text. |