BK-2020-03.git
22 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.

23 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

23 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).

23 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.

23 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

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

23 months agofeat(up/bkt-read_stdin_psarg):add bash func to read stdin and posarg
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()

23 months agofeat(user/bkdatediff):Add script to calculate timestamp differences
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

23 months agoMerge branch 'master' into develop
Steven Baltakatei Sandoval [Sat, 7 Jan 2023 22:27:20 +0000 (22:27 +0000)]
Merge branch 'master' into develop

23 months agofeat(user/git-bk-find-file):Add script to search old tree filenames 0.6.0
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

23 months agostyle(unitproc/):Shorten names of template prefix (bktemp -> bkt)
Steven Baltakatei Sandoval [Thu, 5 Jan 2023 17:07:55 +0000 (17:07 +0000)]
style(unitproc/):Shorten names of template prefix (bktemp -> bkt)

23 months agofeat(user/bk-gpg-ver-sigs):Add script to verify many gpg sig files
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.

23 months agofeat(user/regex-backslash.sh):Add script to escape regex chars
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

2 years agofeat(user/list_large_dirs.sh):Set version 1.0.0
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

2 years agofeat(user/list_large_dirs.sh):Simplify check_depends()
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 07:07:43 +0000 (07:07 +0000)]
feat(user/list_large_dirs.sh):Simplify check_depends()

2 years agofeat(user/list_large_dirs.sh):Add script
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 06:50:14 +0000 (06:50 +0000)]
feat(user/list_large_dirs.sh):Add script

2 years agofix(user/bkdatev):Unset LC_TIME so date can use locale-specific %c
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

2 years agofix(user/bkdatev):typo
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:34:28 +0000 (22:34 +0000)]
fix(user/bkdatev):typo

2 years agofeat(user/bkdatev):Add Taiwan and Pyongyang
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:30:14 +0000 (22:30 +0000)]
feat(user/bkdatev):Add Taiwan and Pyongyang

2 years agofeat(user/bkdatev):Substitute UNIX epoch for UTC locale time
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:16:16 +0000 (22:16 +0000)]
feat(user/bkdatev):Substitute UNIX epoch for UTC locale time

2 years agofeat(user/bkdatev):Script to print various verbose iso-8601 dates
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

2 years agofeat(user/get_gpgkey_from_gitlog.sh):Add checkapp()
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 18:13:46 +0000 (18:13 +0000)]
feat(user/get_gpgkey_from_gitlog.sh):Add checkapp()

2 years agochore(user/get_gpgkey_from_gitlog.sh):Add version number
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 17:42:23 +0000 (17:42 +0000)]
chore(user/get_gpgkey_from_gitlog.sh):Add version number

2 years agofeat(user):Script to get gpg fingerprints from git dir
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

2 years agochore(user/bk_this-date...):Fix permissions
Steven Baltakatei Sandoval [Sun, 25 Sep 2022 11:51:17 +0000 (11:51 +0000)]
chore(user/bk_this-date...):Fix permissions

2 years agofeat(user/bk_this-date): Add script to print dow for given dom 0.5.1
Steven Baltakatei Sandoval [Sun, 25 Sep 2022 11:22:44 +0000 (11:22 +0000)]
feat(user/bk_this-date): Add script to print dow for given dom

- Note: script name: bk_this-date-in-recent-years.sh

- Note: The script prints out an iso-8601 date string followed by the
  day of the week for the most recent 10 years or a specified date
  range. Useful for determining likely years a month-day combination
  occured when the day of the week is known.

2 years agofix(user/bksum):Inhibit stdout/err messages for wait timestamps
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 23:40:27 +0000 (23:40 +0000)]
fix(user/bksum):Inhibit stdout/err messages for wait timestamps

- Note: 'ots --wait s file' prints terminal text every 30 seconds for
  every calendar server. Unless inhibited, these messages obscure the
  progress dots of 'bksum'.

2 years agofeat(user/bksum):Add wait option for timestamps
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 23:29:28 +0000 (23:29 +0000)]
feat(user/bksum):Add wait option for timestamps

- Note: Equivalent to adding "--wait" to an `ots` command.
- feat(unitproc/bktemp-count_jobs):Assign version number to
    count_jobs() function.

2 years agochore(user/bksum):Bump version to note executable name change
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 21:29:16 +0000 (21:29 +0000)]
chore(user/bksum):Bump version to note executable name change

2 years agostyle(user/bksum):Rename bksumsign.sh to bksum
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 21:28:30 +0000 (21:28 +0000)]
style(user/bksum):Rename bksumsign.sh to bksum

2 years agofeat(user/bksumsign.sh):Personal checksum script
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 21:24:49 +0000 (21:24 +0000)]
feat(user/bksumsign.sh):Personal checksum script

- Note: Permits signing and timestamping checksum with GnuPG and
  OpenTimestamps respectively.

2 years agofeat(u/bktemp-checkAppFileDir):Fix zero-length string bug
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 20:24:08 +0000 (20:24 +0000)]
feat(u/bktemp-checkAppFileDir):Fix zero-length string bug

- Note: checkfile() had "bad array subscript" error when fed a
  zero-length string as input.

2 years agofeat(user/mw_create_redirect_day_month): Create mediawiki script
Steven Baltakatei Sandoval [Fri, 2 Sep 2022 09:19:21 +0000 (09:19 +0000)]
feat(user/mw_create_redirect_day_month): Create mediawiki script

- Note: Script generates a text file for each day of a specified year
containing redirect wikicode used to link to each day's month's
page. I made this for my personal mediawiki journal so I can wikilink
to iso-8601 dates (e.g. 2022-09-02) and get the corresponding month's
page (e.g. 2022-09) instead (jumping to the section with the iso-8601
date).

2 years agofix(user/bkots):Only use 25% of available CPUs
Steven Baltakatei Sandoval [Wed, 27 Jul 2022 01:48:36 +0000 (01:48 +0000)]
fix(user/bkots):Only use 25% of available CPUs

2 years agochore(user/convert_file_to_flac.sh):Note version number of depends
Steven Baltakatei Sandoval [Tue, 26 Jul 2022 19:34:24 +0000 (19:34 +0000)]
chore(user/convert_file_to_flac.sh):Note version number of depends

2 years agofix(user/):Fix flac converter script
Steven Baltakatei Sandoval [Tue, 26 Jul 2022 19:26:26 +0000 (19:26 +0000)]
fix(user/):Fix flac converter script

- Note: Make it drop audio
- Note: Make it use compression level 12

modified:   user/convert_file_to_flac.sh

2 years agofeat(user/):Add script to convert files to FLAC with ffmpeg
Steven Baltakatei Sandoval [Tue, 26 Jul 2022 18:48:37 +0000 (18:48 +0000)]
feat(user/):Add script to convert files to FLAC with ffmpeg

new file:   user/convert_file_to_flac.sh

2 years agofix(user/bk-naut-hide):Disable find -L option to avoid loop
Steven Baltakatei Sandoval [Sun, 24 Jul 2022 08:18:33 +0000 (08:18 +0000)]
fix(user/bk-naut-hide):Disable find -L option to avoid loop

2 years agofix(user/bk-naut-hide):Comment out debug stderr
Steven Baltakatei Sandoval [Sat, 23 Jul 2022 07:44:56 +0000 (07:44 +0000)]
fix(user/bk-naut-hide):Comment out debug stderr

2 years agofeat(user/):Add script to check an ots file
Steven Baltakatei Sandoval [Thu, 21 Jul 2022 04:55:39 +0000 (04:55 +0000)]
feat(user/):Add script to check an ots file

new file:   user/check_ots.sh

2 years agofix(user/bkots):Exit code 0 if script finishes
Steven Baltakatei Sandoval [Fri, 27 May 2022 20:13:47 +0000 (20:13 +0000)]
fix(user/bkots):Exit code 0 if script finishes

2 years agochore(user/bkots):Comment debug line
Steven Baltakatei Sandoval [Fri, 27 May 2022 09:57:59 +0000 (09:57 +0000)]
chore(user/bkots):Comment debug line

2 years agofeat(user/bkots):Optimize with GNU Parallel for executing commands
Steven Baltakatei Sandoval [Fri, 27 May 2022 08:55:02 +0000 (08:55 +0000)]
feat(user/bkots):Optimize with GNU Parallel for executing commands

  - Assemble each command and save as string in array; then execute
    array.

  - Use bash function as wrapper to echo and group each command being
    performed along with its stdout/stderr messages.

  - Use regex search of '/.' to find and exclude dotfile paths instead
    of resolving each basename of each parent directory in each path.

  - Use double quotes to handle file names with special characters.

    - Escape out double quotes when they appear in file names.

  - Note: Incrementing major version number due to added dependency of
    GNU Parallel 20210822

2 years agofeat(user/bk-find-git-verify):Add script to verify many git sigs
Steven Baltakatei Sandoval [Mon, 16 May 2022 17:51:19 +0000 (17:51 +0000)]
feat(user/bk-find-git-verify):Add script to verify many git sigs

2 years agofeat(unitproc/bktemp-count_jobs):Add count_jobs() function 0.5.0
Steven Baltakatei Sandoval [Fri, 13 May 2022 20:42:34 +0000 (20:42 +0000)]
feat(unitproc/bktemp-count_jobs):Add count_jobs() function

- Note: GNU parallel does what the `count_jobs()` was intended to
  facilitate: control the number of jobs spawned in bash scripts.

2 years agofeat(user/bkots): Don't timestamp files changed in last 1 min
Steven Baltakatei Sandoval [Tue, 3 May 2022 00:35:04 +0000 (00:35 +0000)]
feat(user/bkots): Don't timestamp files changed in last 1 min

- Note: The intent of a minimum age limit for files to be timestamped
  is to avoid timestamping files that are frequently changing.

2 years agochore(user/):Permissions
Steven Baltakatei Sandoval [Mon, 2 May 2022 22:25:42 +0000 (22:25 +0000)]
chore(user/):Permissions

2 years agochore(user/bk-naut-hide):Add version number
Steven Baltakatei Sandoval [Mon, 2 May 2022 22:24:26 +0000 (22:24 +0000)]
chore(user/bk-naut-hide):Add version number

2 years agofeat(user/):Add bash script to update .hidden files for nautilus
Steven Baltakatei Sandoval [Mon, 2 May 2022 22:23:33 +0000 (22:23 +0000)]
feat(user/):Add bash script to update .hidden files for nautilus

new file:   user/bk-naut-hide

2 years agofeat(user/):Remove quotation marks from ots arguments
Steven Baltakatei Sandoval [Sun, 1 May 2022 23:11:30 +0000 (23:11 +0000)]
feat(user/):Remove quotation marks from ots arguments

2 years agofix(user/bkots):Handle spaces in filenames provided to 'ots' command
Steven Baltakatei Sandoval [Sun, 1 May 2022 07:17:09 +0000 (07:17 +0000)]
fix(user/bkots):Handle spaces in filenames provided to 'ots' command

2 years agominor(user/bkots):fix verbose comment
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 08:41:32 +0000 (08:41 +0000)]
minor(user/bkots):fix verbose comment

2 years agofix(user/bkots):Fix stamp action
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 08:00:36 +0000 (08:00 +0000)]
fix(user/bkots):Fix stamp action

2 years agofeat(user/bkots):Run ots separately for each calendar
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 07:55:11 +0000 (07:55 +0000)]
feat(user/bkots):Run ots separately for each calendar

- note: 'ots' 0.7.0 fails if any of the default calendars are
  unavailable; it may exit before trying a calendar that is
  responsive. Therefore, the best backup solution is to run 'ots'
  multiple times: each run with a different calendar specified.

2 years agofeat(user/bkots):Add script to run ots recursively
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 02:08:45 +0000 (02:08 +0000)]
feat(user/bkots):Add script to run ots recursively

2 years agofix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:45:52 +0000 (16:45 +0000)]
fix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail

- Note: output was omitting uid line

2 years agochore(user/bk-gpgfp-noemail):make executable
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:39:22 +0000 (16:39 +0000)]
chore(user/bk-gpgfp-noemail):make executable

2 years agochore(user/bk-gpgfp-noemail):Add version info
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:38:09 +0000 (16:38 +0000)]
chore(user/bk-gpgfp-noemail):Add version info

2 years agofeat(user):Add script to show gpg fingerprint with obscured email
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:34:25 +0000 (16:34 +0000)]
feat(user):Add script to show gpg fingerprint with obscured email

- note: requires `b2sum`

 Changes to be committed:
new file:   user/bk-gpgfp-noemail

2 years agochore(unitproc):Rename script
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 14:45:08 +0000 (14:45 +0000)]
chore(unitproc):Rename script

- Note: Renaming `bktemp-check_gpg_fingerprint` to
  `bktemp-check_resembles_gpg_fingerprint` since the script doesn't
  actually use gpg to check the fingerprint.

2 years agofeat(unitproc):Add script to check if string is gpg fingerprint
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 14:37:27 +0000 (14:37 +0000)]
feat(unitproc):Add script to check if string is gpg fingerprint

2 years agofeat(unitproc/bknpass):Make portable if script used in bash function
Steven Baltakatei Sandoval [Thu, 3 Mar 2022 00:56:05 +0000 (00:56 +0000)]
feat(unitproc/bknpass):Make portable if script used in bash function

- feat(unitproc/bknpass):
  - Exit on too many arguments.
  - Remove repeat chars (for future version when charset specified by option)

2 years agostyle(unitproc/bknpass):Refactor with updated style
Steven Baltakatei Sandoval [Thu, 3 Mar 2022 00:01:00 +0000 (00:01 +0000)]
style(unitproc/bknpass):Refactor with updated style

2 years agoMerge branch 'develop' of https://zdv2.bktei.com/gitweb/baltakatei-exdev into develop
Steven Baltakatei Sandoval [Sun, 27 Feb 2022 02:30:40 +0000 (02:30 +0000)]
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/baltakatei-exdev into develop

2 years agofix(unitproc/bktemp-initGitRepo):auto set upstream branch
Steven Baltakatei Sandoval [Sun, 27 Feb 2022 02:29:43 +0000 (02:29 +0000)]
fix(unitproc/bktemp-initGitRepo):auto set upstream branch

2 years agofeat(user/bk-copy-rand-music):Log copied files orig paths
Steven Baltakatei Sandoval [Tue, 15 Feb 2022 16:08:18 +0000 (16:08 +0000)]
feat(user/bk-copy-rand-music):Log copied files orig paths

2 years agofeat(user/chmoddirbr):Add script to perform chmod on dir branch
Steven Baltakatei Sandoval [Wed, 19 Jan 2022 21:23:23 +0000 (21:23 +0000)]
feat(user/chmoddirbr):Add script to perform chmod on dir branch

2 years agofeat(us/bk-copy-rand-music.sh):Add misc features
Steven Baltakatei Sandoval [Wed, 19 Jan 2022 05:18:05 +0000 (05:18 +0000)]
feat(us/bk-copy-rand-music.sh):Add misc features

- min_file_duration: permits excluding very short audio files
- max_filename_length: permits reducing output file name length for
    filesystem compatibility (e.g. Windows likes names shorter than
    255 characters).
- showUsage(): Update description to indicate that the script copies
    based on whether an audio track is detectable or not.

2 years agochore(us/bk-copy-rand-music.sh):Perms
Steven Baltakatei Sandoval [Wed, 19 Jan 2022 04:56:07 +0000 (04:56 +0000)]
chore(us/bk-copy-rand-music.sh):Perms

2 years agofeat(us/bk-copy-rand-music.sh):Add script
Steven Baltakatei Sandoval [Wed, 19 Jan 2022 04:51:05 +0000 (04:51 +0000)]
feat(us/bk-copy-rand-music.sh):Add script

2 years agofeat(u/bktemp-checkAppFileDir):displayMissing exit code
Steven Baltakatei Sandoval [Tue, 18 Jan 2022 01:10:03 +0000 (01:10 +0000)]
feat(u/bktemp-checkAppFileDir):displayMissing exit code

- Note: displayMissing() function returns with exit code 0 if nothing
  missing, 1 otherwise.

2 years agochore(u/bk-export-min-pubkeys):Remove debug stderr messages
Steven Baltakatei Sandoval [Thu, 13 Jan 2022 05:08:53 +0000 (05:08 +0000)]
chore(u/bk-export-min-pubkeys):Remove debug stderr messages

Signed-off-by: Steven Baltakatei Sandoval <baltakatei@gmail.com>
2 years agochore(u/bk-export-min-pubkeys):make script executable
Steven Baltakatei Sandoval [Thu, 13 Jan 2022 05:02:45 +0000 (05:02 +0000)]
chore(u/bk-export-min-pubkeys):make script executable

Signed-off-by: Steven Baltakatei Sandoval <baltakatei@gmail.com>
2 years agoMerge branch 'master' into develop
Steven Baltakatei Sandoval [Thu, 13 Jan 2022 05:01:06 +0000 (05:01 +0000)]
Merge branch 'master' into develop

2 years agoMerge branch 'master' of https://zdv2.bktei.com/gitweb/baltakatei-exdev
Steven Baltakatei Sandoval [Thu, 13 Jan 2022 04:34:09 +0000 (04:34 +0000)]
Merge branch 'master' of https://zdv2.bktei.com/gitweb/baltakatei-exdev

2 years agofeat(user/bk-export-min-pubkeys):Add script to exp min pubkeys
Steven Baltakatei Sandoval [Thu, 13 Jan 2022 04:33:38 +0000 (04:33 +0000)]
feat(user/bk-export-min-pubkeys):Add script to exp min pubkeys

2 years agostyle(u/bk_export_audio.sh):Minor comment
Steven Baltakatei Sandoval [Sat, 8 Jan 2022 03:14:30 +0000 (03:14 +0000)]
style(u/bk_export_audio.sh):Minor comment

2 years agofeat(u/bk_export_audio.sh):Bash script to get audio files from video
Steven Baltakatei Sandoval [Sat, 8 Jan 2022 03:06:37 +0000 (03:06 +0000)]
feat(u/bk_export_audio.sh):Bash script to get audio files from video

2 years agofix(u/bktemp-checkAppFileDir:checkdir()):handle blank arg case
Steven Baltakatei Sandoval [Sat, 8 Jan 2022 02:43:47 +0000 (02:43 +0000)]
fix(u/bktemp-checkAppFileDir:checkdir()):handle blank arg case

3 years agofeat(u/bktemp-checkFlt):Add empty string test
Steven Baltakatei Sandoval [Tue, 2 Nov 2021 22:46:06 +0000 (22:46 +0000)]
feat(u/bktemp-checkFlt):Add empty string test

3 years agofix(u/bktemp-checkFlt):Update copypasta comments (int -> flt)
Steven Baltakatei Sandoval [Tue, 2 Nov 2021 22:41:09 +0000 (22:41 +0000)]
fix(u/bktemp-checkFlt):Update copypasta comments (int -> flt)

3 years agofeat(u/bktemp-checkFlt):Add bash function to check for floats
Steven Baltakatei Sandoval [Tue, 2 Nov 2021 22:37:37 +0000 (22:37 +0000)]
feat(u/bktemp-checkFlt):Add bash function to check for floats

3 years agofix(bktemp-updateLoopPI):Fix log function used in sum dampener
Steven Baltakatei Sandoval [Sun, 31 Oct 2021 22:28:08 +0000 (22:28 +0000)]
fix(bktemp-updateLoopPI):Fix log function used in sum dampener

3 years agofix(bktemp-updateloopPI):Add integral sum spike dampener
Steven Baltakatei Sandoval [Sun, 31 Oct 2021 22:16:49 +0000 (22:16 +0000)]
fix(bktemp-updateloopPI):Add integral sum spike dampener

3 years agofeat(bktemp-updateLoopPI):write cv bias to tmpdir
Steven Baltakatei Sandoval [Sun, 31 Oct 2021 04:16:27 +0000 (04:16 +0000)]
feat(bktemp-updateLoopPI):write cv bias to tmpdir

3 years agostyle(bktemp-updateLoopPI):add function comment
Steven Baltakatei Sandoval [Sun, 31 Oct 2021 04:10:40 +0000 (04:10 +0000)]
style(bktemp-updateLoopPI):add function comment

3 years agofeat(bktemp-updateLoopPI):Add argument for initial CV bias
Steven Baltakatei Sandoval [Sun, 31 Oct 2021 04:08:05 +0000 (04:08 +0000)]
feat(bktemp-updateLoopPI):Add argument for initial CV bias

- note: Additinoal argument helps prevent initial jerk caused by high
  initial error if set to correct value.

3 years agoMerge branch 'develop' of https://zdv2.bktei.com/gitweb/baltakatei-exdev into develop
Steven Baltakatei Sandoval [Sun, 31 Oct 2021 03:41:53 +0000 (03:41 +0000)]
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/baltakatei-exdev into develop

3 years agofeat(unitproc):Add PI loop updater
Steven Baltakatei Sandoval [Sun, 31 Oct 2021 03:41:31 +0000 (03:41 +0000)]
feat(unitproc):Add PI loop updater

3 years agofeat(unitproc/bktemp-initGitRepo):Fetch remote branches after pull
Steven Baltakatei Sandoval [Thu, 14 Oct 2021 01:00:20 +0000 (01:00 +0000)]
feat(unitproc/bktemp-initGitRepo):Fetch remote branches after pull

3 years agofeat(unitproc/octave/invgaurnd.m):Add inverse gaussian generator
Steven Baltakatei Sandoval [Wed, 11 Aug 2021 13:02:40 +0000 (13:02 +0000)]
feat(unitproc/octave/invgaurnd.m):Add inverse gaussian generator

- note: Is GNU octave function based on `normrnd.m` file from
  'statistics' package (see
  https://gnu-octave.github.io/packages/statistics ).
- Tested with GNU Octave 4.4.1

3 years agofeat(u/p/sleepRand.py):Add --upper bound option
Steven Baltakatei Sandoval [Mon, 9 Aug 2021 12:15:38 +0000 (12:15 +0000)]
feat(u/p/sleepRand.py):Add --upper bound option

- note: option added in case user wishes to limit maximum possible
  delay generated.

3 years agochore(u/p/sleepRand.py):Update comments
Steven Baltakatei Sandoval [Sun, 8 Aug 2021 08:04:30 +0000 (08:04 +0000)]
chore(u/p/sleepRand.py):Update comments

3 years agochore(u/p/bktemp-parseArgs):Add version number
Steven Baltakatei Sandoval [Sun, 8 Aug 2021 07:51:55 +0000 (07:51 +0000)]
chore(u/p/bktemp-parseArgs):Add version number

3 years agofeat(u/p/bktemp-parseArgs):Add example parseArgs python3 script
Steven Baltakatei Sandoval [Sun, 8 Aug 2021 07:48:32 +0000 (07:48 +0000)]
feat(u/p/bktemp-parseArgs):Add example parseArgs python3 script

- note: made using sleepRand.py as template

3 years agofeat(u/p/sleepRand.py):Add argparse, logging functionality
Steven Baltakatei Sandoval [Sun, 8 Aug 2021 07:40:30 +0000 (07:40 +0000)]
feat(u/p/sleepRand.py):Add argparse, logging functionality

- argparse: - Accepts lambda factor with -p option
            - Accepts mean seconds as first positional argument
    - Accepts verbosity factor with -v or -vv options
- logging: - Add debug and error messages to stderr using verbosity
            - factor from argparse

3 years agostyle(unitproc/../sleepRand.py):Move output spread adj to top
Steven Baltakatei Sandoval [Wed, 4 Aug 2021 11:50:24 +0000 (11:50 +0000)]
style(unitproc/../sleepRand.py):Move output spread adj to top

3 years agodoc(unitproc/.../sleepRand.py): Add comments
Steven Baltakatei Sandoval [Wed, 4 Aug 2021 11:46:38 +0000 (11:46 +0000)]
doc(unitproc/.../sleepRand.py): Add comments

3 years agoMerge branch 'develop' of https://zdv2.bktei.com/gitweb/baltakatei-exdev into develop
Steven Baltakatei Sandoval [Wed, 4 Aug 2021 11:36:26 +0000 (11:36 +0000)]
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/baltakatei-exdev into develop

3 years agofeat(unitproc/python):Add sleepRand.py
Steven Baltakatei Sandoval [Wed, 4 Aug 2021 11:35:48 +0000 (11:35 +0000)]
feat(unitproc/python):Add sleepRand.py

- note: sleeps for random amount of time using inverse gaussian
  distribution.