BK-2020-03.git
3 months agofix(user/zeropad.sh):Only zero-pad files with leading digits
Steven Baltakatei Sandoval [Mon, 15 Jul 2024 21:24:30 +0000 (21:24 +0000)]
fix(user/zeropad.sh):Only zero-pad files with leading digits

3 months agochore(user/zeropad.sh):Add license
Steven Baltakatei Sandoval [Mon, 15 Jul 2024 21:12:42 +0000 (21:12 +0000)]
chore(user/zeropad.sh):Add license

3 months agofeat(user/zeropad.sh):Add script to zeropad filenames
Steven Baltakatei Sandoval [Mon, 15 Jul 2024 21:11:11 +0000 (21:11 +0000)]
feat(user/zeropad.sh):Add script to zeropad filenames

4 months agofeat(user/check_order.sh):Add script to check alphabetical order
Steven Baltakatei Sandoval [Sun, 30 Jun 2024 00:23:13 +0000 (00:23 +0000)]
feat(user/check_order.sh):Add script to check alphabetical order

4 months agofeat(user/bkmpv2):Filter audio files by file extension
Steven Baltakatei Sandoval [Mon, 10 Jun 2024 20:37:05 +0000 (20:37 +0000)]
feat(user/bkmpv2):Filter audio files by file extension

4 months agofeat(user/bkmpv2): v0.1.0: Permit specifying files as well as dirs
Steven Baltakatei Sandoval [Mon, 10 Jun 2024 19:41:35 +0000 (19:41 +0000)]
feat(user/bkmpv2): v0.1.0: Permit specifying files as well as dirs

5 months agochore(user/mp3s_to_mkv.sh):cleanup comment
Steven Baltakatei Sandoval [Wed, 29 May 2024 04:08:40 +0000 (04:08 +0000)]
chore(user/mp3s_to_mkv.sh):cleanup comment

5 months agochore(user/mp3s_to_mkv.sh):Minor syntax cleanup
Steven Baltakatei Sandoval [Wed, 29 May 2024 03:59:55 +0000 (03:59 +0000)]
chore(user/mp3s_to_mkv.sh):Minor syntax cleanup

5 months agochore(user/mp3s_to_mkv.sh):Add license
Steven Baltakatei Sandoval [Wed, 29 May 2024 03:57:50 +0000 (03:57 +0000)]
chore(user/mp3s_to_mkv.sh):Add license

5 months agochore(user/mw_get_audiobook_chapters.sh):Clean up desc
Steven Baltakatei Sandoval [Wed, 29 May 2024 03:45:42 +0000 (03:45 +0000)]
chore(user/mw_get_audiobook_chapters.sh):Clean up desc

5 months agofeat(user/mp3s_to_mkv.sh):Enable automatic chapter metadata creation
Steven Baltakatei Sandoval [Wed, 29 May 2024 03:20:13 +0000 (03:20 +0000)]
feat(user/mp3s_to_mkv.sh):Enable automatic chapter metadata creation

5 months agofix(user/bk-copy-rand-music):Follow direct symlinks to files
Steven Baltakatei Sandoval [Wed, 15 May 2024 23:25:42 +0000 (23:25 +0000)]
fix(user/bk-copy-rand-music):Follow direct symlinks to files

6 months agofeat(user/transcribe_whisper.sh):Shuffle input files
Steven Baltakatei Sandoval [Mon, 6 May 2024 20:13:29 +0000 (20:13 +0000)]
feat(user/transcribe_whisper.sh):Shuffle input files

6 months agofeat(user/transcribe_whisper.sh):Specify dir_in via arg
Steven Baltakatei Sandoval [Mon, 6 May 2024 04:40:37 +0000 (04:40 +0000)]
feat(user/transcribe_whisper.sh):Specify dir_in via arg

6 months agofeat(user/transcribe_whisper.sh):Apply to various media files
Steven Baltakatei Sandoval [Mon, 6 May 2024 04:37:41 +0000 (04:37 +0000)]
feat(user/transcribe_whisper.sh):Apply to various media files

6 months agofeat(user/mw_get_audiobook_chapters.sh):
Steven Baltakatei Sandoval [Tue, 30 Apr 2024 00:10:32 +0000 (00:10 +0000)]
feat(user/mw_get_audiobook_chapters.sh):

6 months agofeat(user/transcribe_whisper.sh):Add mp3 transcription script
Steven Baltakatei Sandoval [Mon, 29 Apr 2024 22:26:56 +0000 (22:26 +0000)]
feat(user/transcribe_whisper.sh):Add mp3 transcription script

6 months agoMerge branch 'develop' of https://zdv2.bktei.com/gitweb/BK-2020-03 into develop
Steven Baltakatei Sandoval [Mon, 29 Apr 2024 17:46:32 +0000 (17:46 +0000)]
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/BK-2020-03 into develop

6 months agofix(user/mp4_make480.sh):Use default audio conversion
Steven Baltakatei Sandoval [Mon, 29 Apr 2024 17:45:45 +0000 (17:45 +0000)]
fix(user/mp4_make480.sh):Use default audio conversion

6 months agofeat(user/mp4_make480.sh):Use default audio instead of copy
Steven Baltakatei Sandoval [Thu, 11 Apr 2024 20:11:26 +0000 (20:11 +0000)]
feat(user/mp4_make480.sh):Use default audio instead of copy

6 months agofeat(user/mp4_make480.sh):Do .MP4 as well as .mp4 files
Steven Baltakatei Sandoval [Thu, 11 Apr 2024 19:02:55 +0000 (19:02 +0000)]
feat(user/mp4_make480.sh):Do .MP4 as well as .mp4 files

6 months agofeat(user/mp4_make480.sh):Use GNU parallel, split into functions
Steven Baltakatei Sandoval [Thu, 11 Apr 2024 16:59:32 +0000 (16:59 +0000)]
feat(user/mp4_make480.sh):Use GNU parallel, split into functions

6 months agofeat(user/mp4_make480.sh):Add script to convert video to 480 res
Steven Baltakatei Sandoval [Thu, 11 Apr 2024 13:55:03 +0000 (13:55 +0000)]
feat(user/mp4_make480.sh):Add script to convert video to 480 res

7 months agofeat(user/rsync_tranches.sh):Update with manual initial delay
Steven Baltakatei Sandoval [Tue, 19 Mar 2024 14:12:51 +0000 (14:12 +0000)]
feat(user/rsync_tranches.sh):Update with manual initial delay

7 months agofeat(user/rsync_tranches):Handle option args
Steven Baltakatei Sandoval [Mon, 18 Mar 2024 18:40:21 +0000 (18:40 +0000)]
feat(user/rsync_tranches):Handle option args

- Note: Handle by assuming non-paths are option args

7 months agochore(prvt):Update private submodule
Steven Baltakatei Sandoval [Mon, 11 Mar 2024 02:06:07 +0000 (02:06 +0000)]
chore(prvt):Update private submodule

7 months agofix(unitproc/bk_export_audio.sh):Do not overwrite output files
Steven Baltakatei Sandoval [Mon, 11 Mar 2024 02:04:14 +0000 (02:04 +0000)]
fix(unitproc/bk_export_audio.sh):Do not overwrite output files

8 months agofeat(user/rsync_tranches):Make more granular
Steven Baltakatei Sandoval [Thu, 29 Feb 2024 21:03:31 +0000 (21:03 +0000)]
feat(user/rsync_tranches):Make more granular

8 months agofeat(user/bkmml):Add aif and ape extension support
Steven Baltakatei Sandoval [Mon, 26 Feb 2024 10:30:34 +0000 (10:30 +0000)]
feat(user/bkmml):Add aif and ape extension support

8 months agofeat(user/elisp/remove-single-newlines.el):Add Emacs function
Steven Baltakatei Sandoval [Sat, 24 Feb 2024 01:34:38 +0000 (01:34 +0000)]
feat(user/elisp/remove-single-newlines.el):Add Emacs function

- Note: Useful for cleaning up Mediawiki wikicode

8 months agochore(user/bkmml):Cleanup comment
Steven Baltakatei Sandoval [Wed, 21 Feb 2024 01:00:52 +0000 (01:00 +0000)]
chore(user/bkmml):Cleanup comment

8 months agofeat(user/bkmml):Create symlinks from filename searches
Steven Baltakatei Sandoval [Wed, 21 Feb 2024 00:59:46 +0000 (00:59 +0000)]
feat(user/bkmml):Create symlinks from filename searches

8 months agochore(unitproc/bkt-decimate):Minor comment
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 22:30:54 +0000 (22:30 +0000)]
chore(unitproc/bkt-decimate):Minor comment

8 months agodoc(unitproc/bkt-decimate):Update depends comment
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 22:08:05 +0000 (22:08 +0000)]
doc(unitproc/bkt-decimate):Update depends comment

8 months agofeat(unitproc/bkt-decimate):Add Bash function to decimate stdin
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 22:06:07 +0000 (22:06 +0000)]
feat(unitproc/bkt-decimate):Add Bash function to decimate stdin

8 months agofix(unitproc/bkshuf):Make executable
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:46:15 +0000 (21:46 +0000)]
fix(unitproc/bkshuf):Make executable

8 months agofeat(unitproc/bkshuf):Exit early if stdout not being read
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:40:00 +0000 (21:40 +0000)]
feat(unitproc/bkshuf):Exit early if stdout not being read

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