Compare commits

...

2 Commits

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

1
README
View File

@ -13,3 +13,4 @@ netsh - an old experiment that serves as a simple TUI for managing network inter
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 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 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.

6
TODO
View File

@ -1,3 +1,6 @@
General
-Move useful functions like rand() to their own files, to be used like libraries.
Links Links
-Figure out a way to convert bookmarks to a textfile on exit and from the same on start, to facilitate sharing between machines -Figure out a way to convert bookmarks to a textfile on exit and from the same on start, to facilitate sharing between machines
@ -48,3 +51,6 @@ plumber
-Remove redundant program calls e.g sed foo|sed bar with sed -ne 'foo' -e 'bar/p' -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 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