Compare commits

...

2 Commits

Author SHA1 Message Date
Mid Favila 6e93011f0d Add section for rand. 2022-01-26 14:36:27 -04:00
Mid Favila 19a61078d6 add rand 2022-01-26 14:35:48 -04:00
3 changed files with 12 additions and 2 deletions

3
README
View File

@ -12,4 +12,5 @@ modem-manager - used to manage laptop PCIe WAN modems. rather dense
netsh - an old experiment that serves as a simple TUI for managing network interfaces... and an example of how not to use AWK
plumber - one of my more sophisticated scripts; plumber creates pipes between programs based on what sort of input it receives, and handles errors (somewhat) intelligently
bach - the Batch Audio Conversion Helper uses FFMPEG to convert large numbers of files at once
invcli - Invidious CLI client. I hacked this together in like an hour and a half, so it's kind of rough at the moment, but it does work!
invcli - Invidious CLI client. I hacked this together in like an hour and a half, so it's kind of rough at the moment, but it does work!
rand - One-liner that generates pseudorandom numbers using dd and od.

8
TODO
View File

@ -1,3 +1,6 @@
General
-Move useful functions like rand() to their own files, to be used like libraries.
Links
-Figure out a way to convert bookmarks to a textfile on exit and from the same on start, to facilitate sharing between machines
@ -47,4 +50,7 @@ plumber
-Improve handling of Reddit links (ideally people just wouldn't use Reddit, but alas)
-Remove redundant program calls e.g sed foo|sed bar with sed -ne 'foo' -e 'bar/p'
-Add proper handling of file:// URIs [high priority]
-Add support for FTP, SSH, and other protocols
-Add support for FTP, SSH, and other protocols
rand
-No problems known at the moment.

3
rand Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh -e
dd bs=2 count=1 if=/dev/random 2>> /dev/null | od - | sed -ne 's& *& &gp' | cut -d ' ' -f2