Skip to content

Instantly share code, notes, and snippets.

View lotharschulz's full-sized avatar
🎧
in flow

Lothar Schulz lotharschulz

🎧
in flow
View GitHub Profile

Defining the Interactive Element

I'm now zeroing in on defining the interactive elements for this SVG fidget spinner. I'm focusing on the "Spin" button's functionality and its impact on the rotation animation, aiming for an elegant and responsive interaction design. My efforts are on creating the rotation effect using animation.

Refining the Animation Logic

I'm now iterating on the animation strategy. I'm leaning toward a two-animation approach. I've sketched an idle spin and a faster spin triggered by the button click event. The idle spin will be infinite, the fast spin is one-time, and I'm currently figuring out the best way to handle transitions to avoid jarring stops and starts.

Defining the Acrostic

I'm now zeroing in on defining the acrostic and telestich elements for this task. It involves aligning initial and final letters to shape a concise, five-line structure. I'm focusing on "HORS" for the acrostic, and "EA" for the telestich. This should provide a good framework for crafting a complete response.

Analyzing the Constraints

I've been analyzing the constraints I have to work with, specifically the letter combinations at the start and end of each line, and am moving forward. I'm focusing on the first two lines, and have landed on "Hidden in lines of logic and code" for line 1 and "Over streams of endless data" for line 2. This structure fits the H...E and O...A pattern.

Defining the Fidget Spinner

I'm now zeroing in on defining the core requirements. My focus is on achieving a working fidget spinner within a single HTML/CSS file, using CSS animations for the rotation. I'm visualizing three weighted arms and a 'Spin' button to control the rotation speed. I'm focusing on ensuring it's fully functional.

Refining the Interactivity

I've decided on the implementation: a single HTML/CSS file and an interactive fidget spinner. I'm leveraging a hidden checkbox hack for the "Spin" button to control rotation speed, maintaining a pure CSS animation. The spinner will feature three weighted arms rotating around a central bearing.

@lotharschulz
lotharschulz / gpg-git-setup-verification.md
Last active December 28, 2025 17:00
GPG Git Setup Verification Guide

GPG Git Setup Verification Guide

A comprehensive checklist to verify your local GPG and Git signing configuration is working correctly.

Prerequisites

Before running these verification commands, ensure you have:

@lotharschulz
lotharschulz / gemini config.yaml
Last active June 25, 2025 20:09
gemini cli configuration file
have_fun: false
code_review_config:
enabled: true
default_severity: MEDIUM
max_comments_per_file: 50
max_comments_per_pull_request: 100
comment_severity_threshold: MEDIUM
pull_request_opened:
help: true
summary: true
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
find . -maxdepth 2 -type d -name .git -execdir sh -c "pwd && git pull" \;
#!/bin/bash
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
IFS=$'\n\t'
EXCLUDED_PACKAGES=("package1" "package2" "package3")
while [[ `brew list | wc -l` -ne 0 ]]; do
for EACH in `brew list`; do
if [[ ! " ${EXCLUDED_PACKAGES[@]} " =~ " ${EACH} " ]]; then
@lotharschulz
lotharschulz / apg-fav.sh
Last active September 22, 2024 08:28
My favourite apg command
apg -m 6 -x 20 -a0 -M NCLS -l -t -n 15
# -m [min_length]
# -x [max_length]
# -a0 [Random password generation with all characters]
# -M NCLS: Use specific character sets:
# - N: Include numeric digits (0-9).
# - C: Include uppercase alphabetic characters (A-Z).
# - L: Include lowercase alphabetic characters (a-z).
# - S: Special characters (!@#$%^&*() and others).
#run the code
./gradlew run
# output:
dotdotRange: a,b,c,d
untilRange: a,b,c
untilRange new 1.7.20: a,b,c
rangeTo: a,b,c,d
downTo: d,c,b,a