Skip to content

Instantly share code, notes, and snippets.

View clairem-sl's full-sized avatar

Claire Morgenthau clairem-sl

View GitHub Profile
@clairem-sl
clairem-sl / README.md
Last active December 29, 2025 20:07
Kokua RAMCache Script

Kokua with RAMCache

/var/cache/kokua

cd /var/cache
sudo rm -rf kokua
sudo mkdir -p kokua
chmod ugo+rwx kokua
@clairem-sl
clairem-sl / PythonProgramming.json
Last active March 8, 2025 13:21
Python Programming Feed on BlueSky as of 2025-02-04
{
"displayName": "Python Programming",
"blocks": [
{
"type": "input",
"inputType": "firehose",
"id": "aaaexaacrvo2o",
"firehoseSeconds": 604800
},
{
@clairem-sl
clairem-sl / singleton_1.py
Created December 12, 2024 12:17
Demo of Singleton in Python
from __future__ import annotations
from typing import reveal_type
class MetaSingleton(type):
cached = None
def __call__(cls, *args, **kwargs):
if cls.cached is None:
@clairem-sl
clairem-sl / Bellisseria_regions.txt
Created April 10, 2024 10:41
List of Regions in Bellisseria
(1068, 987) Abaft
(1070, 983) Abalone
(1055, 956) Abbiella
(1034, 977) Abiatti
(1028, 935) Aboat Time
(1058, 970) Abrin
(1024, 953) Abrus
(1069, 985) Abysmal Deep
(1055, 995) Acacia Woods
(1048, 933) Acanthis
@clairem-sl
clairem-sl / PythonProgramming.json
Last active April 6, 2024 10:13
"Python Programming" feed on BlueSky using SkyFeed.app
{
"displayName": "Python Programming",
"blocks": [
{
"type": "input",
"inputType": "firehose",
"id": "aaaexaacrvo2o",
"firehoseSeconds": 604800
},
{
@clairem-sl
clairem-sl / windbg_kokua_mesa3d.log
Created March 2, 2024 09:40
Result of attaching WinDbg to Kokua Viewer with Mesa3D-24.0.2
Microsoft (R) Windows Debugger Version 10.0.22621.2428 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: C:\Games\KokuaViewer\KokuaViewer.exe
Starting directory: C:\Games\KokuaViewer
************* Path validation summary **************
Response Time (ms) Location
OK C:\Progs\Mesa3D\Debug\x64
@clairem-sl
clairem-sl / Kokua.cmd
Created September 7, 2023 15:04
Kokua Launcher With Mesa3D
@echo off
:: Put this in the same directory as KokuaViewer.exe
:: Also, make a shortcut so the Start Location is Kokua's directory
:: 4.6 is still kinda buggy at the moment
set MESA_GL_VERSION_OVERRIDE=4.5COMPAT
set MESA_GLSL_VERSION_OVERRIDE=450
set GALLIUM_DRIVER=zink
:: R: is a RAM Disk
@clairem-sl
clairem-sl / FindAbandoned.lsl
Created September 28, 2022 08:25
Find Abandoned Parcels
// FindAbandonedParcels.lsl
// Released to the Public Domain by Claire Morgenthau
// If Public Domain is not applicable in your jurisdiction,
// you can use one of the following licenses:
// WTFPL, CC0, Unlicense, 0BSD, or MIT-0
integer MINIGRID_SIZE = 8;
@clairem-sl
clairem-sl / GetRegCoordPos.lsl
Last active September 26, 2022 15:46
Get Region Name, Coordinates, and Position
// Get Region Name, Coordinates, and Position
// in a textual format that can be inserted into a notecard to be inserted
// into the "REZ/GFS finder v1.1" HUD as provided in the MAREFI package
//
// MAREFI : https://marketplace.secondlife.com/p/Mainland-Maps-RezZone-LandMarks-FinderHUD-MAREFI/20221306
// This particular script is released into the Public Domain by Claire Morgenthau
// If Public Domain is not applicable in your Jurisdiction,
// then you can use one of the following: WTFPL, CC0, Unlicense, 0BSD, or MIT-0