~mkelly/experiments

636cf1a05390b9685d924afe4ffa8e1e66600a19 — Michael Kelly 7 months ago 6058750
License cleanup
A LICENSE => LICENSE +24 -0
@@ 0,0 1,24 @@
Copyright (c) 2023 Michael Kelly <m@michaelkelly.org>

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.
    3. Neither the name of the copyright holder nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

M README.md => README.md +16 -6
@@ 1,8 1,18 @@
experiments
===========
# experiments

Experiments that are too small or short-lived to put in their own repositories.
If I go further with any of this code, I'll split it off into its own repository.
[![builds.sr.ht status](https://builds.sr.ht/~mkelly/experiments.svg)](https://builds.sr.ht/~mkelly/experiments?)

Documentation is very sparse, but my goal is for everything to be in a working state when 
it is committed. Some sub-directories have their own README files with more info.
_The canonical location of this repo is:
<https://git.sr.ht/~mkelly/experiments>. Other locations are mirrors._

Monorepo of experiments that are too small or short-lived to put in their own
repositories. If I go further projects here, I split them off into their own
repos.

Documentation is very sparse, but my goal is for everything to be in a working
state when it is committed. Some sub-directories have their own README files
with more info.

In case anyone wants to use any of this, there is a general license in the
LICENSE file. Some individual files list their own license (in a subirectory,
or at the top of the file) which supercedes the general LICENSE file.

M dns/route53-update.py => dns/route53-update.py +0 -4
@@ 7,10 7,6 @@
#
# Copyright 2012 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Mon Aug 20 03:42:03 EDT 2012
# -----------------------------------------------------------------


M dns/route53-update2.py => dns/route53-update2.py +0 -12
@@ 5,18 5,6 @@
#
# Copyright 2020 Michael Kelly (michael@michaelkelly.org)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Sat Apr 18 02:23:22 EDT 2020
# -----------------------------------------------------------------


M hw/ubw/all_blink.py => hw/ubw/all_blink.py +0 -4
@@ 4,10 4,6 @@
#
# Copyright 2010 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Sat Jan 29 18:50:58 EST 2011
# -----------------------------------------------------------------


M hw/ubw/all_on.py => hw/ubw/all_on.py +0 -4
@@ 4,10 4,6 @@
#
# Copyright 2010 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Sat Jan 29 18:50:58 EST 2011
# -----------------------------------------------------------------


M hw/ubw/bitwhacker.py => hw/ubw/bitwhacker.py +0 -4
@@ 7,10 7,6 @@
#
# Copyright 2010 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Sat Jan 29 21:38:46 EST 2011
# -----------------------------------------------------------------


M hw/ubw/mount_alert.py => hw/ubw/mount_alert.py +0 -4
@@ 6,10 6,6 @@
#
# Copyright 2010 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Sat Jan 29 18:50:58 EST 2011
# -----------------------------------------------------------------


M hw/ubw/timey.py => hw/ubw/timey.py +0 -4
@@ 5,10 5,6 @@
# 
# Copyright 2010 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Sat Jan 29 18:50:58 EST 2011
# -----------------------------------------------------------------


M mved.py => mved.py +0 -4
@@ 3,10 3,6 @@
# mved.py -- Renames files in the current directory through a text editor.
# Copyright 2007 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Sun Feb  7 13:38:06 EST 2010
# Updated Sat Nov  2 22:00:17 EDT 2019
# -----------------------------------------------------------------

M pop_delete.py => pop_delete.py +0 -4
@@ 7,10 7,6 @@
#
# Copyright 2011 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Mon Mar  7 23:45:24 EST 2011
# -----------------------------------------------------------------


M power/apcms-powerctl.sh => power/apcms-powerctl.sh +0 -12
@@ 9,18 9,6 @@
#
# Copyright 2013 Michael Kelly (michael@michaelkelly.org)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# -----------------------------------------------------------------
# INSTRUCTIONS:
# - The MasterSwitch must be on your network, and have R/W SNMP access enabled.

M power/pingtest.sh => power/pingtest.sh +0 -12
@@ 14,18 14,6 @@
#
# Copyright 2013 Michael Kelly (michael@michaelkelly.org)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Tue Mar 11 21:32:32 EDT 2014
# -----------------------------------------------------------------
# CONFIGURATION:

M random-string.py => random-string.py +0 -12
@@ 3,18 3,6 @@
# random-string.py -- Generates a random printable string.
# Copyright 2013 Michael Kelly (michael@michaelkelly.org)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Sat May  2 22:18:51 EDT 2020
# -----------------------------------------------------------------


M skel/py3-absl/foo.py => skel/py3-absl/foo.py +0 -12
@@ 4,18 4,6 @@
#
# Copyright 2020 Michael Kelly (michael@michaelkelly.org)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Sat Apr 18 14:54:50 EDT 2020
# -----------------------------------------------------------------


M skel/py3/foo.py => skel/py3/foo.py +0 -12
@@ 4,18 4,6 @@
#
# Copyright 2020 Michael Kelly (michael@michaelkelly.org)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Sat Apr 18 14:54:50 EDT 2020
# -----------------------------------------------------------------


M untar.py => untar.py +0 -4
@@ 3,10 3,6 @@
# untar.py -- Untar tarballs while protecting against tarbombs.
# Copyright 2011 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Sample usage:
# $ untar.py tarfile.tar
# -> untars tarfile.tar as normal

M zmq/zmq-chatclient.py => zmq/zmq-chatclient.py +0 -4
@@ 3,10 3,6 @@
# zmqchat.py -- $desc$
# Copyright 2010 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Fri Feb 10 22:28:09 EST 2012
# -----------------------------------------------------------------


M zmq/zmq-chatsrv.py => zmq/zmq-chatsrv.py +0 -4
@@ 3,10 3,6 @@
# zmqchat.py -- $desc$
# Copyright 2010 Michael Kelly (michael@michaelkelly.org)
#
# This program is released under the terms of the GNU General Public
# License as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# Fri Feb 10 22:28:09 EST 2012
# -----------------------------------------------------------------