Fred Hamster [Wed, 16 Apr 2025 00:05:18 +0000 (20:05 -0400)]
starting new python initiative in generate aliases
an old perl script and pretty simple, so this should work well as a first place to start supplanting our older (and unfortunately a little unreadable) perl code with python code instead.
Fred T. Hamster [Sat, 12 Apr 2025 01:05:50 +0000 (21:05 -0400)]
slight improvements and generality increases
enabled checkin on files in cool permissionator, rather than just directories,
although the intended purpose of fixing the crontabs file for my user in one weird scenario (where my original uid had changed,
and then a new user was added with the old uid, meaning my crontab was inaccessible to me) did not work, since the permissions
on the crontabs directory keeps normal users from seeing things in there, including their own crontab file.
Fred Hamster [Fri, 11 Apr 2025 12:12:01 +0000 (08:12 -0400)]
simple example template for data import to gnucash
Fred T. Hamster [Thu, 10 Apr 2025 16:51:02 +0000 (12:51 -0400)]
automation script for getting simple df
Fred Hamster [Mon, 7 Apr 2025 16:31:51 +0000 (12:31 -0400)]
added apt-file as requirement for prep
also added a readme with some useful automation commands.
Fred Hamster [Mon, 7 Apr 2025 16:24:22 +0000 (12:24 -0400)]
find syncthing conflict files
simple script checks our storage hierarchy for syncthing conflict files
Fred Hamster [Mon, 7 Apr 2025 15:24:45 +0000 (11:24 -0400)]
better name for the cleaner of redundant files
Fred Hamster [Mon, 7 Apr 2025 13:58:10 +0000 (09:58 -0400)]
galculator now considered a requirement
Fred T. Hamster [Mon, 7 Apr 2025 03:53:58 +0000 (23:53 -0400)]
updated hosts in gruntose list
Fred T. Hamster [Sun, 6 Apr 2025 18:48:12 +0000 (14:48 -0400)]
added mariadb client tools to prep
Fred T. Hamster [Sun, 6 Apr 2025 18:08:07 +0000 (14:08 -0400)]
cleans directories with different hierarchies
this new tool compare_whacker is super handy.
i have a newer scheme for managing my digital pictures and an older scheme.
the two schemes are incompatible (old one used the camera name as the main index
and the new scheme just uses the data from the picture metadata).
the compare whacker was written so i could clean up a redundant copy of my pictures
that were stored in the old scheme. i needed to find all the picture names that were
the same across the two.
NOTE: some pictures re-use the filenames on the pictures, and this creates havoc with
this script. use more precise hierarchies if you have lots of identical file names!
Fred T. Hamster [Sun, 6 Apr 2025 13:12:10 +0000 (09:12 -0400)]
updated help instructions
needs to explicitly be passed the hostname:path style parameter now.
Fred T. Hamster [Sun, 6 Apr 2025 12:52:21 +0000 (08:52 -0400)]
tasty updates for comparator
now very much a reusable tool for others, since the hard-coded names for the comparator have
been cleaned up. now these scripts just use the MAJOR_ARCHIVE_SOURCES and the command line
parameters to ferret out the proper locations to synch.
successfully used against both localhost, a remote host, and a local disk archive now.
Fred T. Hamster [Thu, 3 Apr 2025 15:05:07 +0000 (11:05 -0400)]
traced an issue with mirror mode
we will only mirror, aka delete, when the hierarchy on the target is one that already exists on the source.
this is a consequence of the necessary scooping of the "*" under a hierarchy to be copied to the target,
rather than trying to copy at the same height for the directory trees (which will lead to a basement folder being
created under the remote target basement, i.e. /media/fred/archivedrive/basement/basement, rather than
copying direct contents. so for now, we are limited by our use of rsync for this, unless there's a mode to
do a direct directory copy rather than its current behavior.
Fred T. Hamster [Wed, 2 Apr 2025 22:57:32 +0000 (18:57 -0400)]
adding safeguards to not overwrite same name files
there was a possibility that a file like ~blah.xlsx could overwrite blah.xlsx, which is a huge issue. don't want to scrap any active files like that, so now we are checking at different stages in the rename process to ensure there are at least no overwrites.
Fred T. Hamster [Wed, 2 Apr 2025 13:37:01 +0000 (09:37 -0400)]
ignoring tilde files now
we don't want to mess with these at all.
Fred Hamster [Mon, 31 Mar 2025 14:50:52 +0000 (10:50 -0400)]
added epub to spacemall fixins list
Fred Hamster [Thu, 27 Mar 2025 15:01:31 +0000 (11:01 -0400)]
new fortune
Fred Hamster [Fri, 21 Mar 2025 14:13:26 +0000 (10:13 -0400)]
Merge branch 'release-2.140.189' into dev
Fred Hamster [Fri, 21 Mar 2025 14:02:56 +0000 (10:02 -0400)]
new branch for upcoming release 2.140.189
Fred Hamster [Fri, 21 Mar 2025 14:01:00 +0000 (10:01 -0400)]
prep adds git+gitk and better help in quick git
Fred Hamster [Fri, 21 Mar 2025 13:17:49 +0000 (09:17 -0400)]
updated help info to clear up required parameters
Fred Hamster [Tue, 18 Mar 2025 17:08:44 +0000 (13:08 -0400)]
added social items
Fred T. Hamster [Tue, 18 Mar 2025 12:09:00 +0000 (08:09 -0400)]
added etherwake as os package
Fred T. Hamster [Mon, 17 Mar 2025 21:55:50 +0000 (17:55 -0400)]
added growisofs as basic package for prep
Fred Hamster [Mon, 17 Mar 2025 14:13:54 +0000 (10:13 -0400)]
updated our host list
Fred Hamster [Tue, 11 Mar 2025 16:17:25 +0000 (12:17 -0400)]
cleanups in sound scripts
Fred Hamster [Mon, 10 Mar 2025 21:58:55 +0000 (17:58 -0400)]
some clean up on random play scripts
still doesn't seem to be making sound though...
Chris Koeritz [Mon, 10 Mar 2025 17:11:39 +0000 (17:11 +0000)]
switching up to ssl for osgrid sql backup
apparently needed now, or at least we hope this solves our empty backup
file problems.
Chris Koeritz [Sun, 9 Mar 2025 20:26:12 +0000 (20:26 +0000)]
revised to add --ssl flag
saw my backups starting to be empty, and found that this needs a --ssl
flag to be happy, except that before i made the change, the backups had
started working again. not sure wtf, except maybe i installed a missing
bit last time i was fuggling around with this stuff?
Chris Koeritz [Sun, 9 Mar 2025 20:11:00 +0000 (20:11 +0000)]
improvements for whackem and minimizer
now whackem can be invoked without forcing a sleep first, and
the minimizer uses whackem instead of throwing stuff to safedel
via 'rm'.
Chris Koeritz [Fri, 7 Mar 2025 21:56:10 +0000 (21:56 +0000)]
fixed issues with seek_writable
was not handling the top of the filesystem properly. now it is.
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.