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
| <script> | |
| // Note: This is a waste of JavaScipt resources, and will not update nicely | |
| // if you are running heavy computations. Better to use an SVG or CSS. | |
| import { onMount } from "svelte" | |
| const fullString = "..." | |
| let currentString = "" | |
| onMount(() => { |
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
| // check that a cloud sync service has synced all files correctly | |
| // on macOS, run this command on both the source and destination machines: | |
| // find . -type f -print0 | xargs -0 stat -f "%N %z" > FILE_NAME | |
| // then run this script with node. | |
| // helpful command to list all file paths that have non-ascii characters: | |
| // LC_COLLATE=C find . -regex '.*[^ -~].*' | |
| import fs from 'fs' |
OlderNewer