1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 15:59:04 -08:00

regenerate readme

This commit is contained in:
Connor Olding 2021-09-28 13:42:18 -07:00
parent bd81dc0b28
commit d80af26234

View file

@ -125,16 +125,16 @@ $ bin 123
01111011
```
### [cdbusiest](/sh/cdbusiest#L7)
### [busiest](/sh/busiest#L7)
cd to the directory with the most files in it, counted recursively.
list directories in descending order by the number of files in them,
counted recursively.
```
$ cd
$ cdbusiest
152364 src
$ pwd
/home/notwa/src
$ cd && busiest | head -n3
144181 src
48840 work
21042 play
```
### [colors](/sh/colors#L7)
@ -145,11 +145,6 @@ excluding boilerplate, this script is a mere a 76-characters long!
![terminal colors](https://eaguru.guru/t/terminal-colors.png)
### [compandy](/sh/compandy#L5)
generate compand arguments for ffmpeg audio filters.
this is kinda pointless now that acompressor is wildly supported.
### [setup_clang_ubuntu (sh/compile)](/sh/compile#L7)
print (but don't execute) the commands necessary to install
@ -257,19 +252,6 @@ $ days 'January 1 1970'
18838
```
### [dbusiest](/sh/dbusiest#L7)
list directories ordered descending by the number of files in them,
counted recursively. see also [`cdbusiest`.](#cdbusiest)
```
$ cd
$ dbusiest | head -n3
152364 src
46518 work
20903 play
```
### [dfu](/sh/dfu#L9)
pretty-print `df` in GiB.
@ -281,10 +263,6 @@ Filesystem Used Max Left Misc
/ 17.20 23.22 6.01 1.27
```
### [disf](/sh/disf#L8)
disassemble a single function from an unstripped executable, unreliably.
### [document](/sh/document#L144)
generate a markdown file out of docstrings in shell scripts.
@ -454,7 +432,7 @@ directories are skipped. please review the terms of service
```
$ echo test | oxo
https://0x0.st/sj2.txt
oxo: successfully uploaded 1 file
oxo: successfully uploaded 1/1 file
$ oxo ~/play/{hey,you,fake,empty}
https://0x0.st/-3rz.txt
oxo: expires in 365 days: /home/notwa/play/hey
@ -462,8 +440,8 @@ https://0x0.st/-3ri.txt
oxo: expires in 365 days: /home/notwa/play/you
oxo: no such file: /home/notwa/play/fake
oxo: skipping empty file: /home/notwa/play/empty
oxo: successfully uploaded 2 files
oxo: failed to upload 2 files
oxo: successfully uploaded 2/4 files
oxo: failed to upload 2/4 files
```
### [pacbm](/sh/pacbm#L9)
@ -588,11 +566,6 @@ sacbremls ttex in a pdrceailtbe way unsig reegx.
**TODO:** consider renaming because scramble(1) already exists.
### [screeny](/sh/screeny#L7)
handle GNU screens.
these days, i typically use tmux instead.
### [scropt](/sh/scropt#L4)
run `scrot` through `optipng` and save the result to `~/play/$(now).png`.
@ -749,11 +722,6 @@ $ cd ~/play/hash && grep -r 'ing$' . | sv :
**TODO:** rename because busybox(1) sv already exists.
### [tpad](/sh/tpad#L7)
add a 1px transparent border around an image to prevent twitter from mangling it into a jpg.
sadly, this trick doesn't work anymore.
### [trash](/sh/trash#L7)
output a given number of bytes from `/dev/random`.
@ -774,11 +742,6 @@ $ seq 1 100 | tr '\n' ' ' | trunc
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31…
```
### [unscreen](/sh/unscreen#L7)
handle closing of screens — this works alongside [`screeny`](#screeny).
these days, i typically use tmux instead.
### [wat](/sh/wat#L9)
wat — a better and recursive which/whence. for zsh only.
@ -1077,7 +1040,7 @@ print each argument on its own line.
| --------------------------------------------- | ---------- | ---- | ---- | ---- | ---- |
| [_lsarchive](#_lsarchive) | ❔ | ❔ | ❔ | ❔ | ❔ |
| [_unarchive](#_unarchive) | ❔ | ❔ | ❔ | ❔ | ❔ |
| [archive](#archive) | zsh | ❔ | ❔ | ❔ | ❔ |
| [archive](#archive) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [argc](#argc) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [arith](#arith) | zsh | ✔️ | ✔️ | ✔️ | ✔️ |
| [arrays](#arrays) | **false** | ✔️ | ✔️ | ⭕ | ⭕ |
@ -1087,23 +1050,19 @@ print each argument on its own line.
| [baknow](#baknow) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [baks](#baks) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [bin](#bin) | zsh | ✔️ | ✔️ | ✔️ | ✔️ |
| [cdbusiest](#cdbusiest) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [busiest](#busiest) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [colors](#colors) | bash | ✔️ | ✔️ | ⭕ | ⭕ |
| [compandy](#compandy) | ❔ | ✔️ | ❔ | ❔ | ❔ |
| [compile](#compile) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [confirm](#confirm) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [countdiff](#countdiff) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [cutv](#cutv) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [days](#days) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [dbusiest](#dbusiest) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [dfu](#dfu) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [disf](#disf) | *sh* | ✔️ | ✔️ | ❔ | ❔ |
| [document](#document) | dash | ⭕ | ⭕ | ✔️ | ✔️ |
| [e](#e) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [ea](#ea) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [echo2](#echo2) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [explore](#explore) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [fasd](#fasd) | *sh* | ❔ | ❔ | ❔ | ❔ |
| [ff](#ff) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [ghmd](#ghmd) | zsh | ✔️ | ✔️ | ✔️ | ✔️ |
| [has](#has) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
@ -1111,7 +1070,7 @@ print each argument on its own line.
| [ify](#ify) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [is_empty](#is_empty) | bash | ✔️ | ✔️ | ⭕ | ⭕ |
| [isup](#isup) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [lsarchive](#lsarchive) | ❔ | ❔ | ❔ | ❔ | ❔ |
| [lsarchive](#lsarchive) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [maybesudo](#maybesudo) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [minutemaid](#minutemaid) | dash | ✔️ | ✔️ | ✔️ | ✔️ |
| [monitor](#monitor) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
@ -1133,7 +1092,6 @@ print each argument on its own line.
| [rs](#rs) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [sc](#sc) | bash | ⭕ | ✔️ | ⭕ | ⭕ |
| [scramble](#scramble) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [screeny](#screeny) | zsh | ✔️ | ✔️ | ⭕ | ⭕ |
| [scropt](#scropt) | bash | ✔️ | ❔ | ❔ | ❔ |
| [shcom](#shcom) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [similar](#similar) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
@ -1145,11 +1103,9 @@ print each argument on its own line.
| [streamcrap](#streamcrap) | **false** | ✔️ | ✔️ | ⭕ | ⭕ |
| [sum](#sum) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [sv](#sv) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [tpad](#tpad) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [trash](#trash) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [trunc](#trunc) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [unarchive](#unarchive) | ❔ | ❔ | ❔ | ❔ | ❔ |
| [unscreen](#unscreen) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [unarchive](#unarchive) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [wat](#wat) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
| [wipe](#wipe) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
| [xxp](#xxp) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |