Browse Source
modified: README.md
modified: README.md
modified: do-give modified: do-hashcheck new file: do-spinwheel new file: package.jsonmaster
5 changed files with 92 additions and 13 deletions
-
16README.md
-
21do-give
-
22do-hashcheck
-
27do-spinwheel
-
19package.json
@ -0,0 +1,27 @@ |
|||
#!/bin/sh |
|||
########################################################################## |
|||
# Copyright (C) 2021 Derek Olsen <orpheusui@protonmail.com> # |
|||
# # |
|||
# This program is free software: you can redistribute it and/or modify # |
|||
# it under the terms of the GNU General Public License as published by # |
|||
# the Free Software Foundation, either version 3 of the License, or # |
|||
# any later version. # |
|||
# # |
|||
# This program is distributed in the hope that it will be useful, # |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of # |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # |
|||
# GNU General Public License for more details. # |
|||
# # |
|||
# You should have received a copy of the GNU General Public License # |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. # |
|||
########################################################################## |
|||
|
|||
# Usage: |
|||
# ./do-spinwheel [interval:s] (command) |
|||
# |
|||
# "You spin me right round baby--right round like a record, baby" |
|||
|
|||
while true; do |
|||
$2 |
|||
sleep $1 |
|||
done |
@ -0,0 +1,19 @@ |
|||
{ |
|||
"name": "do-utils", |
|||
"description": "Small 'do-scripts' for doing things", |
|||
"version": "0.1.0", |
|||
"license": "GPL-3.0-only or GPL-3.0-or-later", |
|||
"keywords": ["bash", "sh", "zsh", "fish"], |
|||
"author": "Derek Olsen <orpheusui@users.noreply.github.com>", |
|||
"engines": { |
|||
"sh": ">=5.1" |
|||
}, |
|||
"main": "index", |
|||
"bin": { |
|||
"command": "./do-spinwheel" |
|||
}, |
|||
"repository": { |
|||
"type": "git", |
|||
"https://git.andrewzah.com/dolsen/do.git |
|||
}, |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue