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
// ==UserScript== | |
// @name lit.dev script | |
// @version 0.1 | |
// @description Redirect lit.dev pages to new docs | |
// @match *://*.lit.dev/* | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
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
#!/bin/bash | |
# Usage: | |
# ./crunch.sh | |
FILE_LIST=/tmp/dirless_file_list | |
rg --files | grep -v '.lock$' > $FILE_LIST | |
TOTAL_FILES=$(cat $FILE_LIST | wc -l) |