Chris Koeritz [Fri, 7 Mar 2025 21:30:27 +0000 (21:30 +0000)]
fixed sanitized username again...
...so it doesn't think it can reset USER variable if it's broken.
also fixed safedel to not loudly complain if its attempted chmod
doesn't work right, which will always happen when, for example, the
www-data user is using feisty meow code, but it cannot chmod the linked
customize directory since that's linked to the real feisty meow
code which www-data has no perms on.
Chris Koeritz [Fri, 7 Mar 2025 20:50:08 +0000 (20:50 +0000)]
bandaids for sanitize_username
making sure this should never produce an empty string as the sanitized
username, something we wanted to be sure about after seeing some really
odd log file names for our www-data user.
Fred Hamster [Sun, 2 Mar 2025 17:38:32 +0000 (12:38 -0500)]
better get_nets
now doesn't shave off the NIC name, due to using the short form of ifconfig.
Chris Koeritz [Thu, 20 Feb 2025 15:40:49 +0000 (10:40 -0500)]
added simple command to get network interfaces
Fred Hamster [Wed, 12 Feb 2025 06:07:35 +0000 (01:07 -0500)]
trying to get kona java stuff working again
Fred Hamster [Mon, 10 Feb 2025 19:29:40 +0000 (14:29 -0500)]
new fortune
Fred T. Hamster [Mon, 10 Feb 2025 11:52:38 +0000 (06:52 -0500)]
fixed the chowning of /z bug
Fred T. Hamster [Fri, 31 Jan 2025 16:13:26 +0000 (11:13 -0500)]
removed reference to CLOUD_BASE in variables
need to figure out a nicer way of using CLOUD_BASE
in scripts like move spams, so there can be a generalized
thing that anyone could use, instead of it depending on my specific cloud
structure.
Fred T. Hamster [Fri, 31 Jan 2025 13:56:10 +0000 (08:56 -0500)]
moved very custom agenda scripts into fred area
Fred T. Hamster [Thu, 30 Jan 2025 23:31:36 +0000 (18:31 -0500)]
added report at end of where the history file is
Fred Hamster [Tue, 28 Jan 2025 14:37:32 +0000 (09:37 -0500)]
added pushd to fix checkin deep in tree
Fred T. Hamster [Sat, 25 Jan 2025 15:23:40 +0000 (10:23 -0500)]
added strider for puffing out gruntose host repos
Chris Koeritz [Sat, 25 Jan 2025 08:26:43 +0000 (03:26 -0500)]
added bind9-dnsutils as OS package
Fred Hamster [Fri, 24 Jan 2025 14:32:46 +0000 (09:32 -0500)]
added mp4 as handled extension in spacemall
Fred T. Hamster [Fri, 17 Jan 2025 22:14:20 +0000 (17:14 -0500)]
cleaned up some debug noise and old codes
Fred T. Hamster [Fri, 17 Jan 2025 22:06:42 +0000 (17:06 -0500)]
dropped unnecessary push dir
Fred T. Hamster [Fri, 17 Jan 2025 21:45:41 +0000 (16:45 -0500)]
fiddling with current dir
Fred Hamster [Wed, 15 Jan 2025 15:46:21 +0000 (10:46 -0500)]
still seeking weird issue for update
Fred Hamster [Wed, 15 Jan 2025 14:11:35 +0000 (09:11 -0500)]
Merge branch 'dev' of feistymeow.org:feisty_meow into dev
Fred Hamster [Wed, 15 Jan 2025 14:11:13 +0000 (09:11 -0500)]
updated a couple checks to accept empty dirs
Fred T. Hamster [Wed, 15 Jan 2025 14:08:46 +0000 (09:08 -0500)]
removed an unneeded case and added function check
Fred Hamster [Tue, 14 Jan 2025 21:58:16 +0000 (16:58 -0500)]
Merge branch 'dev' of feistymeow.org:feisty_meow into dev
Fred Hamster [Tue, 14 Jan 2025 21:57:28 +0000 (16:57 -0500)]
updated name for locater method
root [Tue, 14 Jan 2025 21:56:23 +0000 (16:56 -0500)]
updated name for locater method
Fred T. Hamster [Tue, 14 Jan 2025 21:13:56 +0000 (16:13 -0500)]
looking at missing dir issue
Fred T. Hamster [Tue, 14 Jan 2025 15:18:58 +0000 (10:18 -0500)]
working on annoying skip of pulls
Fred T. Hamster [Tue, 14 Jan 2025 15:04:59 +0000 (10:04 -0500)]
nice mode to find how a script is defined
Fred Hamster [Fri, 10 Jan 2025 21:10:09 +0000 (16:10 -0500)]
turned off debugging
Fred Hamster [Fri, 10 Jan 2025 16:01:42 +0000 (11:01 -0500)]
added check for .git above current dir
Fred Hamster [Thu, 9 Jan 2025 15:28:30 +0000 (10:28 -0500)]
fixed path print out at top of dump
Fred T. Hamster [Thu, 9 Jan 2025 06:05:06 +0000 (01:05 -0500)]
still working towards correct locations
need to update how we do the find, since sometimes we need to find above and not just below.
Fred T. Hamster [Thu, 9 Jan 2025 05:01:26 +0000 (00:01 -0500)]
changed to mainstream spelling for writable
Fred T. Hamster [Thu, 9 Jan 2025 04:59:16 +0000 (23:59 -0500)]
cleaning approach some more for seeking .git dir
Fred T. Hamster [Thu, 9 Jan 2025 04:31:09 +0000 (23:31 -0500)]
Merge branch 'dev' of feistymeow.org:feisty_meow into dev
Fred T. Hamster [Thu, 9 Jan 2025 04:29:08 +0000 (23:29 -0500)]
updated to add slocums drive
Fred T. Hamster [Thu, 9 Jan 2025 04:28:15 +0000 (23:28 -0500)]
added new drive to list for updates
Fred Hamster [Wed, 8 Jan 2025 20:11:11 +0000 (15:11 -0500)]
updated notes
Fred Hamster [Wed, 8 Jan 2025 01:58:21 +0000 (20:58 -0500)]
added seek_writeable method that recurses up
this is useful for the git checkins, and the method seems to be working basically, but our git scripts are not quite integrated yet.
Fred Hamster [Mon, 6 Jan 2025 18:41:03 +0000 (13:41 -0500)]
suring with the rearranging
Fred T. Hamster [Sat, 4 Jan 2025 06:38:59 +0000 (01:38 -0500)]
dropping extra file removals
Fred T. Hamster [Sat, 4 Jan 2025 06:35:50 +0000 (01:35 -0500)]
moving towards uniform temp file handling
Fred T. Hamster [Sat, 4 Jan 2025 05:33:14 +0000 (00:33 -0500)]
dropped weird escapes on rm
the \rm construct was displeasing to our eyes and finally had to be removed.
all delete operations are now going through safedel, as far as i know.
Fred Hamster [Thu, 2 Jan 2025 16:01:33 +0000 (11:01 -0500)]
added exec flag
Fred Hamster [Fri, 20 Dec 2024 00:36:42 +0000 (19:36 -0500)]
shows complaint if cannot delete anything (again)
Fred Hamster [Thu, 19 Dec 2024 21:41:40 +0000 (16:41 -0500)]
cleaning up some non-generalized scripts
Fred Hamster [Thu, 19 Dec 2024 18:51:37 +0000 (13:51 -0500)]
new fortune
Fred T. Hamster [Thu, 19 Dec 2024 15:11:00 +0000 (10:11 -0500)]
added another drive for updating
Fred Hamster [Tue, 17 Dec 2024 15:08:43 +0000 (10:08 -0500)]
removed temp files and better naming
Fred T. Hamster [Tue, 17 Dec 2024 02:41:35 +0000 (21:41 -0500)]
helper script for getting remote builds done
Fred T. Hamster [Tue, 17 Dec 2024 01:36:33 +0000 (20:36 -0500)]
snorkage
Fred Hamster [Tue, 17 Dec 2024 01:18:21 +0000 (20:18 -0500)]
wrapping the "okay but show output" results better
Fred Hamster [Tue, 17 Dec 2024 01:04:51 +0000 (20:04 -0500)]
homing in on the best debugging (i.e., none)
Fred Hamster [Tue, 17 Dec 2024 01:01:06 +0000 (20:01 -0500)]
more quieting
Fred Hamster [Tue, 17 Dec 2024 00:58:15 +0000 (19:58 -0500)]
dropped some debugging noise
Fred Hamster [Tue, 17 Dec 2024 00:51:53 +0000 (19:51 -0500)]
added debugging in instigater
Fred Hamster [Tue, 17 Dec 2024 00:31:10 +0000 (19:31 -0500)]
abstracted bits
Fred Hamster [Tue, 17 Dec 2024 00:27:52 +0000 (19:27 -0500)]
isolated tri-script remote launching in own script
Fred Hamster [Tue, 17 Dec 2024 00:09:16 +0000 (19:09 -0500)]
tastycakes, seems to be working?
Fred Hamster [Mon, 16 Dec 2024 23:41:15 +0000 (18:41 -0500)]
super nice approach to doing a bunch of machines
uses the host strider, but manages the set pretty well itself
and generates the commands it needs to run.
ps: the approach where it saves the script file to a temp file? this is how we can do functions too.
Fred T. Hamster [Mon, 16 Dec 2024 22:49:54 +0000 (17:49 -0500)]
cleaned up crontab emitter a bit
Fred Hamster [Mon, 16 Dec 2024 21:46:42 +0000 (16:46 -0500)]
renaming
Fred Hamster [Mon, 16 Dec 2024 21:34:31 +0000 (16:34 -0500)]
last cleanup i hope
Fred Hamster [Mon, 16 Dec 2024 21:29:51 +0000 (16:29 -0500)]
simplifications
Fred Hamster [Mon, 16 Dec 2024 21:20:21 +0000 (16:20 -0500)]
more cleaning
Fred Hamster [Mon, 16 Dec 2024 21:12:31 +0000 (16:12 -0500)]
fixed some recursion
Fred Hamster [Mon, 16 Dec 2024 21:06:29 +0000 (16:06 -0500)]
moving to sanitized user
don't want to use the bare USER variable any more, since we have seen that including an email domain (e.g. blah@flork.com instead of just blah).
so these changes should use a sanitized version without the email portion.
Fred Hamster [Mon, 16 Dec 2024 20:44:24 +0000 (15:44 -0500)]
improvements for sanitized username
saves value in an exported variable so not calling sed on every usage.
Fred Hamster [Mon, 16 Dec 2024 20:27:12 +0000 (15:27 -0500)]
sanitized user names are available now.
Fred Hamster [Mon, 16 Dec 2024 18:13:31 +0000 (13:13 -0500)]
reverted to proper shebang
using the "newfangled" env method for finding bash, since we have now seen firsthand that /bin/bash is no longer reliable for all the platforms we want to work on (if it ever was)...
Fred Hamster [Sat, 14 Dec 2024 23:19:29 +0000 (18:19 -0500)]
better logging on errors
Fred Hamster [Sat, 14 Dec 2024 23:15:23 +0000 (18:15 -0500)]
dropping some things redhat's not finding yet
Fred Hamster [Sat, 14 Dec 2024 23:12:45 +0000 (18:12 -0500)]
close to perfection-ish with cleanup
seems to be working.
Fred Hamster [Sat, 14 Dec 2024 23:01:10 +0000 (18:01 -0500)]
correcting bugs in new approach
Fred Hamster [Sat, 14 Dec 2024 22:57:14 +0000 (17:57 -0500)]
switching to host strider to run commands
Fred Hamster [Sat, 14 Dec 2024 22:45:44 +0000 (17:45 -0500)]
fixins
Fred Hamster [Sat, 14 Dec 2024 22:24:13 +0000 (17:24 -0500)]
added gparted to prep
Fred Hamster [Sat, 14 Dec 2024 18:50:53 +0000 (13:50 -0500)]
updated to not fail if cannot enumerate adapters
macos is evading us, but we don't want the failure to enumerate to become a test failure.
it's a severe lack in the code, sure, but nothing is dependent on it yet...
Fred T. Hamster [Sat, 14 Dec 2024 18:07:04 +0000 (13:07 -0500)]
ls colors hacking, yo
Fred T. Hamster [Thu, 12 Dec 2024 18:38:01 +0000 (13:38 -0500)]
took reading list out of contention
the reading and movie lists are for fun, and should not be considered tasks that we could get behind on, ever.
Fred T. Hamster [Tue, 10 Dec 2024 16:57:13 +0000 (11:57 -0500)]
added openssh-server as required OS pack
Fred T. Hamster [Sat, 7 Dec 2024 17:21:38 +0000 (12:21 -0500)]
updated for pipewire
Fred T. Hamster [Sat, 7 Dec 2024 01:30:59 +0000 (20:30 -0500)]
added a timestamp to strider output
Fred T. Hamster [Sat, 7 Dec 2024 01:08:38 +0000 (20:08 -0500)]
enhancements in output of strider
and some fragile bullet-proofing in puffer.
Fred T. Hamster [Sat, 7 Dec 2024 00:29:05 +0000 (19:29 -0500)]
welcome most excellent host strider script
this script isolates the annoying pieces of running something remotely. it takes a script file and a list of hosts, and runs the script remotely.
there are a lot of painful issues to iron out, and this version seems to have most of them starched up now.
Fred T. Hamster [Sat, 7 Dec 2024 00:03:26 +0000 (19:03 -0500)]
cleaned up stty noise
made stty call not pollute stdout.
generalized inventory script a little, so it doesn't expect our scripts variable, but still does rely on FEISTY_MEOW_APEX
Fred T. Hamster [Fri, 6 Dec 2024 22:22:26 +0000 (17:22 -0500)]
added a pipe status combiner method
this pushes together as many pipe statuses as requested, to yield one return value.
so it makes it easier to catch and respond to failures at different places in the pipe.
sets the exit value and is guaranteed not to go over the max value of 255.
Fred T. Hamster [Fri, 6 Dec 2024 20:25:51 +0000 (15:25 -0500)]
fixed terminal titler
it was hosing up non-interactive bash sessions due to trying to echo out in command line friendly way. bahhh, bad idea.
fix now does not interfere in non-interactive sessions by checking special bash magic variables. we needed to add that,
even beyond all the original checks on terminal type and prompts, because those were all coming in indicating that it
was an interactive shell when it was not. but the magic check for that 'i' being present in the "$-" variable (yes,
that's a dollar and a dash) did the trick.
Fred T. Hamster [Thu, 5 Dec 2024 14:52:49 +0000 (09:52 -0500)]
fixed error on removing sort file too early
that file i cleaned up was actually needed across function calls. did find the place where an error could leave the file lying around, and fixed that instead.
Fred T. Hamster [Thu, 5 Dec 2024 01:22:56 +0000 (20:22 -0500)]
fixed separator method to support character choice
separator now accepts a count and a character string, so like:
$ sep 4 "arf-"
generates:
arf-arf-arf-arf-
nice!
and fixed 's' alias to use separator function instead of being a hard-coded line of pound signs.
Fred T. Hamster [Thu, 5 Dec 2024 00:08:46 +0000 (19:08 -0500)]
new fortune
Fred T. Hamster [Tue, 3 Dec 2024 21:21:39 +0000 (16:21 -0500)]
renaming for clarity
Chris Koeritz [Tue, 3 Dec 2024 15:01:37 +0000 (15:01 +0000)]
corrected dangling temp file in rev control
Fred T. Hamster [Thu, 21 Nov 2024 02:26:21 +0000 (21:26 -0500)]
super nice cleanup, regularized
should work for any host and any of our two steam users now, given the proper path exists to the photos dir.
Fred T. Hamster [Thu, 21 Nov 2024 02:02:21 +0000 (21:02 -0500)]
added gtk3 vim as dependency
gotta have our elflord
Fred T. Hamster [Thu, 21 Nov 2024 01:59:51 +0000 (20:59 -0500)]
need better behavior in picking photo dirs
mushing this into better shape gradually. switched f76 to linux from windows once saw that i could, so now the save dir is different.
could use new save dir as a standard! it makes more sense to link directly to photos, than to have to both link to a folder and then find the photos.
Fred T. Hamster [Tue, 19 Nov 2024 22:01:41 +0000 (17:01 -0500)]
cleaned up some crontab config files
Fred T. Hamster [Mon, 18 Nov 2024 18:05:53 +0000 (13:05 -0500)]
adding genisoimage as dependency
our dvd and bluray scripts need this package.
Fred T. Hamster [Fri, 15 Nov 2024 23:01:37 +0000 (18:01 -0500)]
cleaned up formatting etc
Fred T. Hamster [Fri, 15 Nov 2024 21:02:47 +0000 (16:02 -0500)]
no lolcat available to us at least
systems i'm on don't know the lolcat package, or the lolcat-rs package that should actually exist to replace lolcat. sigh.
Fred T. Hamster [Fri, 15 Nov 2024 20:52:56 +0000 (15:52 -0500)]
ha, working for the last fairly important bits
now getting the optional junk right.