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
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.
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 18:54:16 +0000 (18:54 +0000)]
doc(user/rmsym.org):Describe rmsym
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 18:40:49 +0000 (18:40 +0000)]
feat(user/rmsym):Add script to delete only symlinks
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`.
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
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
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
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
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
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
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
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:51:49 +0000 (08:51 +0000)]
fix(unitproc/bkt-randFloat):Resolve shellcheck delinter warnings
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:28:40 +0000 (08:28 +0000)]
feat(unitproc/bkt-randFloat):Update to use printf
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:23:44 +0000 (08:23 +0000)]
chore(unitproc/bkt-randFloat):Add more sample code
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
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.
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
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).
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.
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 05:51:53 +0000 (05:51 +0000)]
chore(up/bkt-read_stdin_psarg):Add version number
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 04:10:14 +0000 (04:10 +0000)]
Merge branch 'develop'
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 04:09:11 +0000 (04:09 +0000)]
feat(up/bkt-read_stdin_psarg):add bash func to read stdin and posarg
- Note: bash function name: read_stdin_psarg()
Steven Baltakatei Sandoval [Tue, 10 Jan 2023 16:12:49 +0000 (16:12 +0000)]
feat(user/bkdatediff):Add script to calculate timestamp differences
- Note: Uses GNU date
Steven Baltakatei Sandoval [Sat, 7 Jan 2023 22:27:20 +0000 (22:27 +0000)]
Merge branch 'master' into develop
Steven Baltakatei Sandoval [Sat, 7 Jan 2023 22:24:38 +0000 (22:24 +0000)]
feat(user/git-bk-find-file):Add script to search old tree filenames
- Ref/Attrib: albfan "How can I search Git branches for a file or
directory?"
https://stackoverflow.com/a/
16868704/
10850071
Steven Baltakatei Sandoval [Thu, 5 Jan 2023 17:07:55 +0000 (17:07 +0000)]
style(unitproc/):Shorten names of template prefix (bktemp -> bkt)
Steven Baltakatei Sandoval [Wed, 4 Jan 2023 16:54:15 +0000 (16:54 +0000)]
feat(user/bk-gpg-ver-sigs):Add script to verify many gpg sig files
- chore(unitproc/bktemp-yellDieTry):Rename bktemp-yellDieMust per
monking's naming convention.
Steven Baltakatei Sandoval [Sat, 31 Dec 2022 15:20:53 +0000 (15:20 +0000)]
feat(user/regex-backslash.sh):Add script to escape regex chars
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 09:03:23 +0000 (09:03 +0000)]
feat(user/list_large_dirs.sh):Set version 1.0.0
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 07:07:43 +0000 (07:07 +0000)]
feat(user/list_large_dirs.sh):Simplify check_depends()
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 06:50:14 +0000 (06:50 +0000)]
feat(user/list_large_dirs.sh):Add script
Steven Baltakatei Sandoval [Tue, 29 Nov 2022 07:45:45 +0000 (07:45 +0000)]
fix(user/bkdatev):Unset LC_TIME so date can use locale-specific %c
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:34:28 +0000 (22:34 +0000)]
fix(user/bkdatev):typo
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:30:14 +0000 (22:30 +0000)]
feat(user/bkdatev):Add Taiwan and Pyongyang
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:16:16 +0000 (22:16 +0000)]
feat(user/bkdatev):Substitute UNIX epoch for UTC locale time
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 21:49:04 +0000 (21:49 +0000)]
feat(user/bkdatev):Script to print various verbose iso-8601 dates
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 18:13:46 +0000 (18:13 +0000)]
feat(user/get_gpgkey_from_gitlog.sh):Add checkapp()
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 17:42:23 +0000 (17:42 +0000)]
chore(user/get_gpgkey_from_gitlog.sh):Add version number
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 17:40:21 +0000 (17:40 +0000)]
feat(user):Script to get gpg fingerprints from git dir
- chore(.):Move draft scripts to draft dirs
Steven Baltakatei Sandoval [Sun, 25 Sep 2022 11:51:17 +0000 (11:51 +0000)]
chore(user/bk_this-date...):Fix permissions