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
| # May be used to match JSON strings in nested array/hashes | |
| # Example: | |
| # RSpec.describe( | |
| # { a: 1, | |
| # whatever: 'else', | |
| # nested_json: '[{"c":3},{"whatever":"else"}]' | |
| # } | |
| # ) do | |
| # it { is_expected.to match( | |
| # a_hash_including( |
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
| <%* | |
| /* | |
| You need to install yt-dlp and jq to use this template: | |
| $ brew install yt-dlp jq # on macOS | |
| You need to define user function in Templater plugin settings named "ytmeta" with the following command: | |
| /opt/homebrew/yt-dlp -j "https://www.youtube.com/watch?v=${id}" | /opt/homebrew/jq "${query}" | |
| replace /opt/homebrew with your path to yt-dlp and jq |
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
| /* for Stylebot chrome extension */ | |
| div.cell.text_cell.rendered.selected .prompt { | |
| border-left: 5px solid #e22978; | |
| border-right: 2px dotted #e22978; | |
| } | |
| div.cell.text_cell.selected .prompt { | |
| border-right: 2px dotted #e22978; | |
| } |
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
| require 'json' | |
| require 'nokogiri' | |
| require 'curb' | |
| Pry.config.editor = "vim" | |
| if `uname` =~ /Darwin/ | |
| ['pbcopy', 'pbpaste'] | |
| else |