💾 Archived View for twotwos.pollux.casa › code captured on 2022-04-29 at 12:24:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

➡️ Next capture (2023-01-29)

-=-=-=-=-=-=-

Code

This area is still under construction...

The script I use to update this capsule

For any other pollux.casa users who may see this:

lftp -c 'set sftp:connect-program "ssh -a -x -i ~/.ssh/pollux_ssh_key"; open sftp://pseudo@pollux; mirror --verbose=3 -n -e -R --exclude-glob .* ~/local_capsule_folder/ /capsule/'

I have no idea how it works, or even what exactly it does. I wrote this some time ago and didn't keep notes. I can almost guarantee that there is some prerequisite step required to get ssh to work here (where is the domain name? I do not know). The important thing is that this script mirrors the entire local_capsule_folder to pollux.casa without any extra fiddling required.

The Affirmatron

The Affirmatron is a political(?) compass(?) test that measures your level of agreement with Australian Pop Duo Savage Garden's 2000 song *Affirmation*. Works in Python 3. Probably. Uses tkinter.

Affirmatron.py

The Scrambler Handler

Another python program, this one finds anagrams of words. Of course, there are many other programs out there that do the same thing, and they'll probably even do it faster, but this one has a couple options you might find useful (and allows you to set your own wordlists, of course).

scrambler_handler.py

And some wordlists to start. I don't remember where I got these from...

long.txt

short.txt

names.txt

What will maybe, possibly, be here someday

I'm taking some time to make these programs at least *usable* by others before putting them up here - they're all sort of originally written for myself only. And I should warn you: unlike some of the fantastic software developers around geminispace, I have no idea what I am doing. No guarantees that any of this stuff works; and if you look at the code, don't expect to like what you see.

All software located in this directory is licensed under the Unlicense. This may tempt you to try to build something based on it. I recommend against this: it's honestly going to be easier to take the idea and just build it yourself from scratch.

Unlicense