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
[data-color-mode='dark'] { | |
--color-prettylights-syntax-comment: #8b949e; | |
--color-prettylights-syntax-constant: #79c0ff; | |
--color-prettylights-syntax-entity: #d2a8ff; | |
--color-prettylights-syntax-storage-modifier-import: #c9d1d9; | |
--color-prettylights-syntax-entity-tag: #7ee787; | |
--color-prettylights-syntax-keyword: #ff7b72; | |
--color-prettylights-syntax-string: #a5d6ff; | |
--color-prettylights-syntax-variable: #ffa657; | |
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149; |
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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
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
#!/bin/bash | |
# https://unix.stackexchange.com/questions/230481/how-to-download-portion-of-video-with-youtube-dl-command | |
# https://stackoverflow.com/questions/23842261/alternative-to-readarray-because-it-does-not-work-on-mac-os-x | |
# Arguments: URL, Time stamp -5 seconds, length of clip, video file name | |
# ex. ./clip-youtube.sh "https://www.youtube.com/watch?v=aqz-KE-bpKQ" 3:05 11 squashed.mp4 | |
while IFS=\= read url; do | |
urls+=($url) | |
done <<< "$(yt-dlp --youtube-skip-dash-manifest -g "$1")" |
OlderNewer