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
**ONE MORE SPINNER** | |
DEFAULT_SpinnerFrames=("—" "\\" "|" "/") | |
##@function: spinner(action, label, &spinnerFramesRef[]) | |
## | |
##@description: Perform an action asynchronously and display | |
##spinner till action is completed | |
## | |
##@param action: The action the execute |
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
**ANOTHER SPINNER** | |
#!/bin/sh | |
#The command you are waiting on goes between the ( ) here | |
#The example below returns a non zero return code | |
(sleep 20 ; /bin/false) & | |
pid=$! ; i=0 |
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
**COMPLEX SPINNER** | |
#!/bin/bash | |
#Shows a spinner while another command is running. Randomly picks one of 12 spinner styles. | |
#@args command to run (with any parameters) while showing a spinner. | |
#E.g. ‹spinner sleep 10› | |
function shutdown() { | |
tput cnorm # reset cursor | |
} | |
trap shutdown 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
{"lastUpload":"2023-03-09T14:00:32.624Z","extensionVersion":"v3.4.3"} |
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
ARCHIVE WEB PAGES - ARCHIVE_BOX | |
https://awesomeopensource.com/project/ArchiveBox/ArchiveBox | |
https://github.com/ArchiveBox/ArchiveBox | |
SAVE WEB PAGES - WALLABAG | |
https://wallabag.org/en# | |
https://github.com/wallabag | |
STORE PASSWORDS - LESSPASS |
NewerOlder