Steven Baltakatei Sandoval [Mon, 29 Apr 2024 22:26:56 +0000 (22:26 +0000)]
feat(user/transcribe_whisper.sh):Add mp3 transcription script
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
Steven Baltakatei Sandoval [Mon, 29 Apr 2024 17:45:45 +0000 (17:45 +0000)]
fix(user/mp4_make480.sh):Use default audio conversion
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
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
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
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
Steven Baltakatei Sandoval [Tue, 19 Mar 2024 14:12:51 +0000 (14:12 +0000)]
feat(user/rsync_tranches.sh):Update with manual initial delay
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
Steven Baltakatei Sandoval [Mon, 11 Mar 2024 02:06:07 +0000 (02:06 +0000)]
chore(prvt):Update private submodule
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
Steven Baltakatei Sandoval [Thu, 29 Feb 2024 21:03:31 +0000 (21:03 +0000)]
feat(user/rsync_tranches):Make more granular
Steven Baltakatei Sandoval [Mon, 26 Feb 2024 10:30:34 +0000 (10:30 +0000)]
feat(user/bkmml):Add aif and ape extension support
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
Steven Baltakatei Sandoval [Wed, 21 Feb 2024 01:00:52 +0000 (01:00 +0000)]
chore(user/bkmml):Cleanup comment
Steven Baltakatei Sandoval [Wed, 21 Feb 2024 00:59:46 +0000 (00:59 +0000)]
feat(user/bkmml):Create symlinks from filename searches
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 22:30:54 +0000 (22:30 +0000)]
chore(unitproc/bkt-decimate):Minor comment
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 22:08:05 +0000 (22:08 +0000)]
doc(unitproc/bkt-decimate):Update depends comment
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 22:06:07 +0000 (22:06 +0000)]
feat(unitproc/bkt-decimate):Add Bash function to decimate stdin
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:46:15 +0000 (21:46 +0000)]
fix(unitproc/bkshuf):Make executable
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:40:00 +0000 (21:40 +0000)]
feat(unitproc/bkshuf):Exit early if stdout not being read
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:39:03 +0000 (21:39 +0000)]
style(unitproc/bkt-bkunzip):Treat bkunzip function as template
Steven Baltakatei Sandoval [Tue, 20 Feb 2024 21:38:03 +0000 (21:38 +0000)]
feat(user/bkunzip):Add custom unzip bash function
Steven Baltakatei Sandoval [Tue, 30 Jan 2024 00:19:25 +0000 (00:19 +0000)]
chore(/user/mw_create_subpage_navlinks.sh):Make executable
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.
Steven Baltakatei Sandoval [Mon, 29 Jan 2024 21:22:00 +0000 (21:22 +0000)]
feat(unitproc/bkt-read_stdin):Add error handling
Steven Baltakatei Sandoval [Mon, 29 Jan 2024 20:56:23 +0000 (20:56 +0000)]
feat(unitproc/bkt-read_stdin): Add exit codes
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`
Steven Baltakatei Sandoval [Fri, 26 Jan 2024 00:25:25 +0000 (00:25 +0000)]
fix(unitproc/bkt-replace_apos):Update comments
Steven Baltakatei Sandoval [Fri, 26 Jan 2024 00:22:57 +0000 (00:22 +0000)]
fix(unitproc/bkt-replace_apos)Update function name
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
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 23:40:25 +0000 (23:40 +0000)]
chore(unitproc/bkt-replace_apostrophes)minor syntax
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 23:38:47 +0000 (23:38 +0000)]
chore(unitproc/bkt-replace_apostrophes)
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.
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 23:04:40 +0000 (23:04 +0000)]
chore(unitproc/bkt-replace_contractions):Add licence info
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.
Steven Baltakatei Sandoval [Thu, 25 Jan 2024 20:56:58 +0000 (20:56 +0000)]
feat(unitproc/bkt-replace_contractions):Add Bash function
Steven Baltakatei Sandoval [Sat, 20 Jan 2024 19:44:09 +0000 (19:44 +0000)]
chore(user/split_audiobook.sh):Add version number
Steven Baltakatei Sandoval [Sat, 20 Jan 2024 18:43:36 +0000 (18:43 +0000)]
feat(user/split_audiobook.sh):Split audiobooks by chapter
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
Steven Baltakatei Sandoval [Tue, 19 Dec 2023 02:00:16 +0000 (02:00 +0000)]
fix(user/rsync_tranches):Add author and license info
Steven Baltakatei Sandoval [Mon, 18 Dec 2023 23:02:26 +0000 (23:02 +0000)]
chore(user/rsync_tranches.sh):minor style, correct spelling
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
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
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)
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.
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.
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
Steven Baltakatei Sandoval [Fri, 27 Oct 2023 06:47:32 +0000 (06:47 +0000)]
feat(unitproc/python):Add py script to read stdin
Steven Baltakatei Sandoval [Thu, 26 Oct 2023 10:32:54 +0000 (10:32 +0000)]
chore(prvt):Update private submodule
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
Steven Baltakatei Sandoval [Mon, 9 Oct 2023 20:58:08 +0000 (20:58 +0000)]
chore(prvt):Update private submodule
Steven Baltakatei Sandoval [Sun, 1 Oct 2023 18:12:02 +0000 (18:12 +0000)]
chore(prvt):Update private submodule
Steven Baltakatei Sandoval [Sun, 1 Oct 2023 07:21:58 +0000 (07:21 +0000)]
feat(user/mc_distance_calc.sh):Add minecraft distance calculator
Steven Baltakatei Sandoval [Sat, 30 Sep 2023 20:28:00 +0000 (20:28 +0000)]
feat(bktess):Add bash wrapper for tesseract img OCR
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
Steven Baltakatei Sandoval [Sat, 9 Sep 2023 17:35:40 +0000 (17:35 +0000)]
fix(user/calcGalTick):Specify timezone as UTC
Steven Baltakatei Sandoval [Sat, 9 Sep 2023 17:20:56 +0000 (17:20 +0000)]
feat(user/calcGalTick):Add script to calculate Galactic Ticks
Steven Baltakatei Sandoval [Wed, 30 Aug 2023 12:15:50 +0000 (12:15 +0000)]
chore(prvt):Update private submodule
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
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
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
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
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
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.
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:26:29 +0000 (12:26 +0000)]
doc(user/bkphotorights): Add exiftool.org XMP tag reference
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:21:34 +0000 (12:21 +0000)]
chore(user/bkphotorights):Note Bash version used
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:11:12 +0000 (12:11 +0000)]
Merge branch 'master' into develop
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 12:08:07 +0000 (12:08 +0000)]
feat(user/bk-find-git-verify):Follow symbolic links
Steven Baltakatei Sandoval [Sat, 8 Jul 2023 09:43:19 +0000 (09:43 +0000)]
feat(user:bkphotorights):Check exiftool exists; Apply GPLv3+
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.
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
Steven Baltakatei Sandoval [Mon, 5 Jun 2023 13:26:30 +0000 (13:26 +0000)]
fix(user/):Make scripts executable
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.
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
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.
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.
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.
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
Steven Baltakatei Sandoval [Mon, 22 May 2023 23:55:23 +0000 (23:55 +0000)]
feat(unitproc):Bash function to insert string into another string
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.
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.
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.
Steven Baltakatei Sandoval [Tue, 25 Apr 2023 10:17:34 +0000 (10:17 +0000)]
feat(user/mw_create...):Update mediawiki journal create scripts
Steven Baltakatei Sandoval [Tue, 25 Apr 2023 09:46:31 +0000 (09:46 +0000)]
feat(user/mw_create_year_journal):Add mediawiki page script
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
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.
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
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
Steven Baltakatei Sandoval [Wed, 29 Mar 2023 06:00:02 +0000 (06:00 +0000)]
feat(unitproc/bkcsvjoin):Add version number
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.
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
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
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
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
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
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
Steven Baltakatei Sandoval [Fri, 3 Mar 2023 23:31:54 +0000 (23:31 +0000)]
update(unitproc/bkdstcountdown):Refactor
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
Steven Baltakatei Sandoval [Fri, 24 Feb 2023 21:23:17 +0000 (21:23 +0000)]
chore(README.org):Update with bktei project code