BK-2020-03.git
8 months agostyle(unitproc/bkt-bkunzip):Treat bkunzip function as template
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:39:03 +0000 (21:39 +0000)]
style(unitproc/bkt-bkunzip):Treat bkunzip function as template

8 months agofeat(user/bkunzip):Add custom unzip bash function
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:38:03 +0000 (21:38 +0000)]
feat(user/bkunzip):Add custom unzip bash function

9 months agochore(/user/mw_create_subpage_navlinks.sh):Make executable
Steven Baltakatei Sandoval [Tue, 30 Jan 2024 00:19:25 +0000 (00:19 +0000)]
chore(/user/mw_create_subpage_navlinks.sh):Make executable

9 months agofeat(user/mw_create_subpage_navlinks.sh):Add script
Steven Baltakatei Sandoval [Tue, 30 Jan 2024 00:14:18 +0000 (00:14 +0000)]
feat(user/mw_create_subpage_navlinks.sh):Add script

- Note: For use with generating navigation links for Mediawiki
  subpages. Requires manually inserting each line into each subpage.

9 months agofeat(unitproc/bkt-read_stdin):Add error handling
Steven Baltakatei Sandoval [Mon, 29 Jan 2024 21:22:00 +0000 (21:22 +0000)]
feat(unitproc/bkt-read_stdin):Add error handling

9 months agofeat(unitproc/bkt-read_stdin): Add exit codes
Steven Baltakatei Sandoval [Mon, 29 Jan 2024 20:56:23 +0000 (20:56 +0000)]
feat(unitproc/bkt-read_stdin): Add exit codes

9 months agofeat(unitproc/bkt-replace_apos) Handle more replacement cases
Steven Baltakatei Sandoval [Fri, 26 Jan 2024 00:47:17 +0000 (00:47 +0000)]
feat(unitproc/bkt-replace_apos) Handle more replacement cases

- possessive `bossʼs` and `bossʼ`
- general name, e.g. `Trinʼeba`

9 months agofix(unitproc/bkt-replace_apos):Update comments
Steven Baltakatei Sandoval [Fri, 26 Jan 2024 00:25:25 +0000 (00:25 +0000)]
fix(unitproc/bkt-replace_apos):Update comments

9 months agofix(unitproc/bkt-replace_apos)Update function name
Steven Baltakatei Sandoval [Fri, 26 Jan 2024 00:22:57 +0000 (00:22 +0000)]
fix(unitproc/bkt-replace_apos)Update function name

9 months agofix(unitproc/bkt-replace_apos):Handle possessive 's and s'
Steven Baltakatei Sandoval [Fri, 26 Jan 2024 00:21:36 +0000 (00:21 +0000)]
fix(unitproc/bkt-replace_apos):Handle possessive 's and s'

- chore(unitproc/bkt-replace_apostrophes):Move to unitproc/bkt-replace_apos

9 months agochore(unitproc/bkt-replace_apostrophes)minor syntax
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 23:40:25 +0000 (23:40 +0000)]
chore(unitproc/bkt-replace_apostrophes)minor syntax

9 months agochore(unitproc/bkt-replace_apostrophes)
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 23:38:47 +0000 (23:38 +0000)]
chore(unitproc/bkt-replace_apostrophes)

9 months agorename(unitproc/bkt-replace_apostrophes):Was replace_contractions
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 23:36:03 +0000 (23:36 +0000)]
rename(unitproc/bkt-replace_apostrophes):Was replace_contractions

- Note: Renaming function to be more generally applicable for
apostrophe replacement in not only contractions but possessive cases.

9 months agochore(unitproc/bkt-replace_contractions):Add licence info
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 23:04:40 +0000 (23:04 +0000)]
chore(unitproc/bkt-replace_contractions):Add licence info

9 months agofeat(unitproc/bkt-replace_contractions):Use backreferences
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 22:59:02 +0000 (22:59 +0000)]
feat(unitproc/bkt-replace_contractions):Use backreferences

- Note: Various more contractions added. They won't cover something
crazy like Mark Twain's novels that attempt to model accents with
copious apostrophe use, but the script should cover most commonly used
contractions in almost scholarly publications.

9 months agofeat(unitproc/bkt-replace_contractions):Add Bash function
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 20:56:58 +0000 (20:56 +0000)]
feat(unitproc/bkt-replace_contractions):Add Bash function

9 months agochore(user/split_audiobook.sh):Add version number
Steven Baltakatei Sandoval [Sat, 20 Jan 2024 19:44:09 +0000 (19:44 +0000)]
chore(user/split_audiobook.sh):Add version number

9 months agofeat(user/split_audiobook.sh):Split audiobooks by chapter
Steven Baltakatei Sandoval [Sat, 20 Jan 2024 18:43:36 +0000 (18:43 +0000)]
feat(user/split_audiobook.sh):Split audiobooks by chapter

9 months agofeat(user/gpg_encrypt_batch.sh):Add gpg batch encryption script
Steven Baltakatei Sandoval [Sat, 6 Jan 2024 22:31:03 +0000 (22:31 +0000)]
feat(user/gpg_encrypt_batch.sh):Add gpg batch encryption script

10 months agofix(user/rsync_tranches):Add author and license info
Steven Baltakatei Sandoval [Tue, 19 Dec 2023 02:00:16 +0000 (02:00 +0000)]
fix(user/rsync_tranches):Add author and license info

10 months agochore(user/rsync_tranches.sh):minor style, correct spelling
Steven Baltakatei Sandoval [Mon, 18 Dec 2023 23:02:26 +0000 (23:02 +0000)]
chore(user/rsync_tranches.sh):minor style, correct spelling

10 months agoMerge branch 'develop' of https://zdv2.bktei.com/gitweb/BK-2020-03 into develop
Steven Baltakatei Sandoval [Mon, 18 Dec 2023 23:00:01 +0000 (23:00 +0000)]
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/BK-2020-03 into develop

10 months agofeat(user/rsync_tranches.sh):Add bash function for parallel rsync
Steven Baltakatei Sandoval [Mon, 18 Dec 2023 22:59:31 +0000 (22:59 +0000)]
feat(user/rsync_tranches.sh):Add bash function for parallel rsync

11 months agofeat(bk-copy-rand-music):Support eac3 (Enhanced AC-3 Dolby Plus)
Steven Baltakatei Sandoval [Wed, 6 Dec 2023 15:30:20 +0000 (15:30 +0000)]
feat(bk-copy-rand-music):Support eac3 (Enhanced AC-3 Dolby Plus)

12 months agofeat(user/bk-copy-rand-music):Optimize file processing
Steven Baltakatei Sandoval [Fri, 27 Oct 2023 13:01:47 +0000 (13:01 +0000)]
feat(user/bk-copy-rand-music):Optimize file processing

- Now ignores blacklist of extensions.

- Increase minimum file duration to 30s.

- Now adds files until 95% of target size or duration is reached
  instead of stopping as soon as a large or long file is considered.

- Now skips `ffprobe` of files (slow) if `du` size check (fast) fails.

12 months agofeat(unitproc/bkt-get_median):Add Bash function to calculate median
Steven Baltakatei Sandoval [Fri, 27 Oct 2023 11:51:04 +0000 (11:51 +0000)]
feat(unitproc/bkt-get_median):Add Bash function to calculate median

- Note: Accepts integers of floats from stdin. Does no input validation.

12 months agofeat(user/c/src):Add beginnings of Navajo character char counter bktei/feat/navajo-char
Steven Baltakatei Sandoval [Fri, 27 Oct 2023 06:50:53 +0000 (06:50 +0000)]
feat(user/c/src):Add beginnings of Navajo character char counter

12 months agofeat(unitproc/python):Add py script to read stdin
Steven Baltakatei Sandoval [Fri, 27 Oct 2023 06:47:32 +0000 (06:47 +0000)]
feat(unitproc/python):Add py script to read stdin

12 months agochore(prvt):Update private submodule
Steven Baltakatei Sandoval [Thu, 26 Oct 2023 10:32:54 +0000 (10:32 +0000)]
chore(prvt):Update private submodule

12 months agofeat(user/bkdatev):Add Gaza and Tel Aviv
Steven Baltakatei Sandoval [Wed, 18 Oct 2023 01:37:32 +0000 (01:37 +0000)]
feat(user/bkdatev):Add Gaza and Tel Aviv

- Note: for better tracking recent hostilities

12 months agochore(prvt):Update private submodule
Steven Baltakatei Sandoval [Mon, 9 Oct 2023 20:58:08 +0000 (20:58 +0000)]
chore(prvt):Update private submodule

13 months agochore(prvt):Update private submodule
Steven Baltakatei Sandoval [Sun, 1 Oct 2023 18:12:02 +0000 (18:12 +0000)]
chore(prvt):Update private submodule

13 months agofeat(user/mc_distance_calc.sh):Add minecraft distance calculator
Steven Baltakatei Sandoval [Sun, 1 Oct 2023 07:21:58 +0000 (07:21 +0000)]
feat(user/mc_distance_calc.sh):Add minecraft distance calculator

13 months agofeat(bktess):Add bash wrapper for tesseract img OCR
Steven Baltakatei Sandoval [Sat, 30 Sep 2023 20:28:00 +0000 (20:28 +0000)]
feat(bktess):Add bash wrapper for tesseract img OCR

13 months agofix(user/mp3s_to_{mkv,opus}):Disable ffmpeg stdin in some scripts
Steven Baltakatei Sandoval [Tue, 19 Sep 2023 16:20:23 +0000 (16:20 +0000)]
fix(user/mp3s_to_{mkv,opus}):Disable ffmpeg stdin in some scripts

- chore(prvt):Update private submodule

13 months agofix(user/calcGalTick):Specify timezone as UTC
Steven Baltakatei Sandoval [Sat, 9 Sep 2023 17:35:40 +0000 (17:35 +0000)]
fix(user/calcGalTick):Specify timezone as UTC

13 months agofeat(user/calcGalTick):Add script to calculate Galactic Ticks
Steven Baltakatei Sandoval [Sat, 9 Sep 2023 17:20:56 +0000 (17:20 +0000)]
feat(user/calcGalTick):Add script to calculate Galactic Ticks

14 months agochore(prvt):Update private submodule
Steven Baltakatei Sandoval [Wed, 30 Aug 2023 12:15:50 +0000 (12:15 +0000)]
chore(prvt):Update private submodule

14 months agofix(user:git-bk-find-file):Display commit hash correctly
Steven Baltakatei Sandoval [Tue, 29 Aug 2023 04:55:05 +0000 (04:55 +0000)]
fix(user:git-bk-find-file):Display commit hash correctly

- chore(prvt):Update private submodule

15 months agofeat(user/bkmpv2):Add bkshuf wrapper for mpv
Steven Baltakatei Sandoval [Wed, 12 Jul 2023 03:38:46 +0000 (03:38 +0000)]
feat(user/bkmpv2):Add bkshuf wrapper for mpv

- chore(user/bkfeh):Fix comment typo

15 months agofeat(user/mw_create_year_journal.sh):Add summary of months wikilink
Steven Baltakatei Sandoval [Sun, 9 Jul 2023 10:23:39 +0000 (10:23 +0000)]
feat(user/mw_create_year_journal.sh):Add summary of months wikilink

15 months agofeat(user/):Add wrapper for mw_create_summary_months.sh
Steven Baltakatei Sandoval [Sun, 9 Jul 2023 00:27:35 +0000 (00:27 +0000)]
feat(user/):Add wrapper for mw_create_summary_months.sh

- chore(user/mw_create_year_journal_range.sh): Fix license statement.

new file:   user/mw_create_summary_months_range.sh

15 months agofeat(user/):Add wikicode script to make journal year month summary
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 23:57:20 +0000 (23:57 +0000)]
feat(user/):Add wikicode script to make journal year month summary

new file:   user/mw_create_summary_months.sh

15 months agofeat(user/bkphotorights):Run command array with error reporting
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:50:56 +0000 (12:50 +0000)]
feat(user/bkphotorights):Run command array with error reporting

- chore(user/bkphotorights):Add example, fix usage, fix
  description. Add note to describe what should be changed by the user.

15 months agodoc(user/bkphotorights): Add exiftool.org XMP tag reference
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:26:29 +0000 (12:26 +0000)]
doc(user/bkphotorights): Add exiftool.org XMP tag reference

15 months agochore(user/bkphotorights):Note Bash version used
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:21:34 +0000 (12:21 +0000)]
chore(user/bkphotorights):Note Bash version used

15 months agoMerge branch 'master' into develop 0.8.2
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:11:12 +0000 (12:11 +0000)]
Merge branch 'master' into develop

15 months agofeat(user/bk-find-git-verify):Follow symbolic links
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:08:07 +0000 (12:08 +0000)]
feat(user/bk-find-git-verify):Follow symbolic links

15 months agofeat(user:bkphotorights):Check exiftool exists; Apply GPLv3+
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 09:43:19 +0000 (09:43 +0000)]
feat(user:bkphotorights):Check exiftool exists; Apply GPLv3+

15 months agofeat(user/bkphotorights):Add script to save photo license metadata
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 09:31:59 +0000 (09:31 +0000)]
feat(user/bkphotorights):Add script to save photo license metadata

- Note: Does so by using `exiftool`. Uses my information, my website,
  and CC BY-SA 4.0 as an example.

16 months agoupdate(user/bkdatev):Add Helsinki, Finland
Steven Baltakatei Sandoval [Mon, 3 Jul 2023 20:09:01 +0000 (20:09 +0000)]
update(user/bkdatev):Add Helsinki, Finland

- Note: v0.3.3 -> v0.3.4

17 months agofix(user/):Make scripts executable
Steven Baltakatei Sandoval [Mon, 5 Jun 2023 13:26:30 +0000 (13:26 +0000)]
fix(user/):Make scripts executable

17 months agofix(user/bkdatev):Pass date arguments to get_tz_offset()
Steven Baltakatei Sandoval [Thu, 25 May 2023 00:37:38 +0000 (00:37 +0000)]
fix(user/bkdatev):Pass date arguments to get_tz_offset()

- Note: If arguments to `bkdatev` are not passed to the `date` call in
  the `get_tz_offset()` function, the time zone offset displayed will be
  that of the user's current time, not the historical time they might
  specify via an option like `--date="1941-12-07T07:48-10:30"`; in this
  particular example, the reported time for Hawaii would be
  `1941-12-07T07:48-10` if the command were run in the year 2023 when
  Hawaii's time zone offset is `UTC-10` instead of `UT/GMT-10:30` as it
  was in the year 1941.

17 months agofeat(user/combine_pdfs.sh):Add script to combine PDFs with pdftk
Steven Baltakatei Sandoval [Tue, 23 May 2023 22:17:53 +0000 (22:17 +0000)]
feat(user/combine_pdfs.sh):Add script to combine PDFs with pdftk

17 months agofeat(user/mp3s_to_mkv.sh):Add variant of 'mp3s_to_opus.sh'
Steven Baltakatei Sandoval [Tue, 23 May 2023 07:38:27 +0000 (07:38 +0000)]
feat(user/mp3s_to_mkv.sh):Add variant of 'mp3s_to_opus.sh'

- Note: AudioAnchor in the F-Droid repository fails to handle seekback
  of opus files yet handles mkv containers with a single opus audio
  stream okay. Therefore, converting directly into an mkv container is
  the way to go if AudioAnchor is to be used for combining audiobook
  mp3s into a single audio file.

17 months agodoc(user/bkdatev):Add comment warning about macOS compatibility
Steven Baltakatei Sandoval [Tue, 23 May 2023 02:11:01 +0000 (02:11 +0000)]
doc(user/bkdatev):Add comment warning about macOS compatibility

- Note: Basically, the `bkdatev` command by itself should work with
  macOS 11.1. Additional arguments are passed along to `date` so the
  provided example (`bkdatev --date="2001-09-11T09:02:59-04"`) will fail
  due to BSD `date` not accepting ISO-8601 date strings like GNU
  Coreutils `date` does.

17 months agofix(user/bkdatev):Make compatible with Bash 3.2.57
Steven Baltakatei Sandoval [Tue, 23 May 2023 01:39:57 +0000 (01:39 +0000)]
fix(user/bkdatev):Make compatible with Bash 3.2.57

- Note: In Bash 5.1, a negative length argument in a parameter
  substitution (i.e. the `$len` in `${myVar:$start_idx:$len}`) causes
  the last characters of the $myVar string to be truncated which is
  convenient in various applications. However, a negative length in Bash
  3.2.57 (a macOS machine I happen to have) throws an error; for
  compatibility, I've instead added an additional arithemetical
  operation to calculate the positive length that corresponds to a
  truncation by 2 of the total string length.

17 months agofeat(user/bkdatev): Add macOS BSD date compatibility
Steven Baltakatei Sandoval [Tue, 23 May 2023 01:19:11 +0000 (01:19 +0000)]
feat(user/bkdatev): Add macOS BSD date compatibility

- Note(user/bkdatev): v0.2.2 -> v0.3.0

17 months agofeat(unitproc):Bash function to insert string into another string
Steven Baltakatei Sandoval [Mon, 22 May 2023 23:55:23 +0000 (23:55 +0000)]
feat(unitproc):Bash function to insert string into another string

17 months agochore(unitproc/bkt-checkInt):Use 'must' instead of 'try'
Steven Baltakatei Sandoval [Mon, 22 May 2023 23:23:23 +0000 (23:23 +0000)]
chore(unitproc/bkt-checkInt):Use 'must' instead of 'try'

- note: Also put regular expression test input in quotes.

17 months agofeat(user/bk-copy-rand-music):Restrict filenames of copied files
Steven Baltakatei Sandoval [Sat, 20 May 2023 22:23:19 +0000 (22:23 +0000)]
feat(user/bk-copy-rand-music):Restrict filenames of copied files

- Note: Using `tr -dc '[:graph:][:space:]'` as character filter.

18 months agofeat(user/mp3s_to_opus.sh):Add script to combine mp3s into an opus
Steven Baltakatei Sandoval [Wed, 26 Apr 2023 11:36:53 +0000 (11:36 +0000)]
feat(user/mp3s_to_opus.sh):Add script to combine mp3s into an opus

- Note: Useful for combining audiobooks split across many mp3 files.

18 months agofeat(user/mw_create...):Update mediawiki journal create scripts
Steven Baltakatei Sandoval [Tue, 25 Apr 2023 10:17:34 +0000 (10:17 +0000)]
feat(user/mw_create...):Update mediawiki journal create scripts

18 months agofeat(user/mw_create_year_journal):Add mediawiki page script
Steven Baltakatei Sandoval [Tue, 25 Apr 2023 09:46:31 +0000 (09:46 +0000)]
feat(user/mw_create_year_journal):Add mediawiki page script

18 months agofeat(unitproc/python/):Add EVA-2020-02-2 humidity conversions
Steven Baltakatei Sandoval [Thu, 20 Apr 2023 07:20:12 +0000 (07:20 +0000)]
feat(unitproc/python/):Add EVA-2020-02-2 humidity conversions

- Note: See:
  - https://zdv2.bktei.com/gitweb/EVA-2020-02.git
  - https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git
  - https://gitlab.com/baltakatei/ninfacyzga-01

18 months agofeat(user/mw_create_month_journal_range):Add mw script
Steven Baltakatei Sandoval [Tue, 11 Apr 2023 20:41:51 +0000 (20:41 +0000)]
feat(user/mw_create_month_journal_range):Add mw script

- Note: Creates journal month boilerplate for year range 1582/2100.

18 months agofeat(unitproc/bk_export_audio.sh):Run conversion jobs in parallel
Steven Baltakatei Sandoval [Tue, 11 Apr 2023 16:27:39 +0000 (16:27 +0000)]
feat(unitproc/bk_export_audio.sh):Run conversion jobs in parallel

- Note: Uses `nproc` from GNU Coreutils 8.32

18 months agoupdate(archive/bktei_signing_key.asc):Update exp date
Steven Baltakatei Sandoval [Tue, 11 Apr 2023 16:24:58 +0000 (16:24 +0000)]
update(archive/bktei_signing_key.asc):Update exp date

- Note: key fingerprint:
  3457 A265 922A 1F38 39DB 0264 A0A2 95AB DC34 69C9

19 months agofeat(unitproc/bkcsvjoin):Add version number
Steven Baltakatei Sandoval [Wed, 29 Mar 2023 06:00:02 +0000 (06:00 +0000)]
feat(unitproc/bkcsvjoin):Add version number

19 months agofeat(user/check_ots.sh):Handle .ots.bak, .OTS files.
Steven Baltakatei Sandoval [Tue, 28 Mar 2023 21:06:15 +0000 (21:06 +0000)]
feat(user/check_ots.sh):Handle .ots.bak, .OTS files.

- style(user/check_ots.sh):Organize into bash functions.

19 months agoupdate(README):Add link to reboil.com wiki entry for project
Steven Baltakatei Sandoval [Sun, 19 Mar 2023 22:27:14 +0000 (22:27 +0000)]
update(README):Add link to reboil.com wiki entry for project

19 months agofeat(user/mw_create_month_journal.sh):Add mediawiki script
Steven Baltakatei Sandoval [Thu, 16 Mar 2023 23:33:59 +0000 (23:33 +0000)]
feat(user/mw_create_month_journal.sh):Add mediawiki script

- Note: Useful for creating monthly journals

19 months agofeat(user/ots-git-gpg-wrapper*):Add OpenTimestamps v0.7.0 wrapper scripts
Steven Baltakatei Sandoval [Tue, 14 Mar 2023 07:55:58 +0000 (07:55 +0000)]
feat(user/ots-git-gpg-wrapper*):Add OpenTimestamps v0.7.0 wrapper scripts

- Note: See
    https://github.com/opentimestamps/opentimestamps-client/blob/cd9ca65cbf7bd70db668cce47241f0feb8ea2186/ots-git-gpg-wrapper.sh

- Note: Wrapper scripts are meant to replace the default
  `ots-git-gpg-wrapper.sh` script included in ots v0.7.0:
    https://github.com/opentimestamps/opentimestamps-client/blob/cd9ca65cbf7bd70db668cce47241f0feb8ea2186/ots-git-gpg-wrapper.sh

20 months agofeat(unitproc/get_rand_line):Bash script that gets random line
Steven Baltakatei Sandoval [Tue, 7 Mar 2023 21:32:55 +0000 (21:32 +0000)]
feat(unitproc/get_rand_line):Bash script that gets random line

20 months agofix(unitproc/bkshuf):Init Bash PRNG before consuming lines
Steven Baltakatei Sandoval [Sat, 4 Mar 2023 00:44:18 +0000 (00:44 +0000)]
fix(unitproc/bkshuf):Init Bash PRNG before consuming lines

- Note: v0.1.1 -> v0.1.2

20 months agofeat(unitproc/isAudio):Add script to filter audio files from find results
Steven Baltakatei Sandoval [Sat, 4 Mar 2023 00:12:49 +0000 (00:12 +0000)]
feat(unitproc/isAudio):Add script to filter audio files from find results

20 months agoupdate(unitproc/bkdstcountdown):Refactor
Steven Baltakatei Sandoval [Fri, 3 Mar 2023 23:31:54 +0000 (23:31 +0000)]
update(unitproc/bkdstcountdown):Refactor

20 months agofeat(user/git-bk-find-file):Show ISO 8601 time along with commit 0.8.1
Steven Baltakatei Sandoval [Thu, 2 Mar 2023 18:49:25 +0000 (18:49 +0000)]
feat(user/git-bk-find-file):Show ISO 8601 time along with commit

20 months agochore(README.org):Update with bktei project code
Steven Baltakatei Sandoval [Fri, 24 Feb 2023 21:23:17 +0000 (21:23 +0000)]
chore(README.org):Update with bktei project code

20 months agofeat(user/ping_offline.sh):Add script to ping until it succeeds once
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 22:36:13 +0000 (22:36 +0000)]
feat(user/ping_offline.sh):Add script to ping until it succeeds once

- Note: the script is meant to mark the time when internet
  connectivity is reestablished.

- doc(user/ping_offline.sh.org):Add docs

- doc(user/template.org):Add template for future executable
  documentation.

20 months agodoc(user/rmsym.org):Describe rmsym
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 18:54:16 +0000 (18:54 +0000)]
doc(user/rmsym.org):Describe rmsym

20 months agofeat(user/rmsym):Add script to delete only symlinks
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 18:40:49 +0000 (18:40 +0000)]
feat(user/rmsym):Add script to delete only symlinks

20 months agofeat(user/get_ytpljson.sh):Add script to get YT playlist metadata
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 12:39:14 +0000 (12:39 +0000)]
feat(user/get_ytpljson.sh):Add script to get YT playlist metadata

- Note: Requests YouTube playlist metadata in JSON format from
  `https://www.googleapis.com`.

20 months agofeat(user/space4):Add script to space out stdin every 4 lines
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 10:31:51 +0000 (10:31 +0000)]
feat(user/space4):Add script to space out stdin every 4 lines

20 months agofeat(user/bk-copy-rand-music): Use env vars for bkshuf params
Steven Baltakatei Sandoval [Sat, 18 Feb 2023 17:59:52 +0000 (17:59 +0000)]
feat(user/bk-copy-rand-music): Use env vars for bkshuf params

- fix(bk-copy-rand-music):Fix upper size and duration cutoffs
- feat(unitproc/bkshuf):Detect env vars

20 months agofeat(user/bk-copy-rand-music):Clump output with bkshuf
Steven Baltakatei Sandoval [Sat, 18 Feb 2023 15:31:56 +0000 (15:31 +0000)]
feat(user/bk-copy-rand-music):Clump output with bkshuf

- feat(unitproc/bkshuf):Utilize environment variables if available
- doc(.../bkshuf/article.tm):update TeXmacs article

20 months agochore(doc/up/bkshuf/article.tm):Update GitLab URL in bkshuf doc
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 13:49:07 +0000 (13:49 +0000)]
chore(doc/up/bkshuf/article.tm):Update GitLab URL in bkshuf doc

20 months agofeat(doc/up/bkshuf/):Add TeXmacs documentation
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 13:27:57 +0000 (13:27 +0000)]
feat(doc/up/bkshuf/):Add TeXmacs documentation

- Note: Compiled PDF uploaded to:

  https://reboil.com/res/2023/txt/20230214T1327+00..bkshuf_article.pdf

20 months agofeat(user/bkfeh):Use unique names for sample files
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 13:24:38 +0000 (13:24 +0000)]
feat(user/bkfeh):Use unique names for sample files

- Note: Use both file order and file b2sum 32-bit hashes

20 months agofeat(unitproc/bkshuf):Add bash script like shuf
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 11:45:28 +0000 (11:45 +0000)]
feat(unitproc/bkshuf):Add bash script like shuf

- Note: bkshuf tends to preserve neighbors in output

20 months agofix(unitproc/bkt-randFloat):Resolve shellcheck delinter warnings
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:51:49 +0000 (08:51 +0000)]
fix(unitproc/bkt-randFloat):Resolve shellcheck delinter warnings

20 months agofeat(unitproc/bkt-randFloat):Update to use printf
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:28:40 +0000 (08:28 +0000)]
feat(unitproc/bkt-randFloat):Update to use printf

20 months agochore(unitproc/bkt-randFloat):Add more sample code
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:23:44 +0000 (08:23 +0000)]
chore(unitproc/bkt-randFloat):Add more sample code

21 months agofeat(u/bkfeh):Accept sample dir size and file count via envvar
Steven Baltakatei Sandoval [Wed, 1 Feb 2023 08:05:54 +0000 (08:05 +0000)]
feat(u/bkfeh):Accept sample dir size and file count via envvar

21 months agofeat(user/bkfeh):Save up to 100MB or 100 sample images if envvar set
Steven Baltakatei Sandoval [Mon, 30 Jan 2023 17:40:06 +0000 (17:40 +0000)]
feat(user/bkfeh):Save up to 100MB or 100 sample images if envvar set

- Note: Environment variable is BKFEH_SAMPLE_DIR in which contents
  will be deleted and sample images saved upon every run of bkfeh.

21 months agofeat(user/bkfeh):Process stdin and psargs separately
Steven Baltakatei Sandoval [Tue, 17 Jan 2023 06:43:54 +0000 (06:43 +0000)]
feat(user/bkfeh):Process stdin and psargs separately

- Note: Filter out dotfiles via a grep of file list

21 months agofeat(user/bkfeh):Ignore dotfile directories (e.g. `./.Photos`)
Steven Baltakatei Sandoval [Tue, 17 Jan 2023 00:25:46 +0000 (00:25 +0000)]
feat(user/bkfeh):Ignore dotfile directories (e.g. `./.Photos`)

- feat(unitproc/bkt-filter_no_dots):Add bash function to filter out
  stdin lines with dotfile basenames. (Note: Quite slow).
- chore(unitproc/bkt-read_stdin_psarg):Remove debug code and fix how
  posarg is read (error found via shellcheck).

21 months agofeat(user/bkfeh):Add wrapper for feh 0.8.0
Steven Baltakatei Sandoval [Sat, 14 Jan 2023 04:19:45 +0000 (04:19 +0000)]
feat(user/bkfeh):Add wrapper for feh

- Note: accepts dirs via stdin or positional arguments. Uses GNU
  Parallel to speed up `find` operations.

21 months agochore(up/bkt-read_stdin_psarg):Add version number
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 05:51:53 +0000 (05:51 +0000)]
chore(up/bkt-read_stdin_psarg):Add version number

21 months agoMerge branch 'develop' 0.7.0
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 04:10:14 +0000 (04:10 +0000)]
Merge branch 'develop'