Skip to content

Instantly share code, notes, and snippets.

View loftwah's full-sized avatar
💭
“Any sufficiently advanced technology is equivalent to magic.”

Dean Lofts loftwah

💭
“Any sufficiently advanced technology is equivalent to magic.”
View GitHub Profile
@loftwah
loftwah / windows11.md
Last active October 6, 2025 03:30
Windows 11 - Sound and account

🎧 Windows 11 Sound Troubleshooting – Foolproof Guide

This guide is designed for non-technical users.
At each step:

  1. Do the action.
  2. Check what you see/hear.
  3. Test sound by playing a YouTube video.

👉 To open YouTube:

@loftwah
loftwah / loftwah.md
Last active September 5, 2025 01:49
loftwah-study-guide-2025

Loftwah's Interview Prep Reference

1. Coding (LeetCode)

How to Work

  • For each problem solved:
    • Code solution in Ruby or Go
    • Add time and space complexity analysis
  • Write a short "pattern takeaway"
@loftwah
loftwah / grabitsh.md
Created September 3, 2025 14:18
grabitsh-plan

grabit – Repo Index & Q/A Tool (2025 Plan)

Overview

grabit is a self-contained Go binary that:

  • Indexes a local folder or shallow-cloned GitHub repo
  • Chunks source files into manageable blocks
  • Embeds those blocks using OpenAI embeddings
  • Stores an on-disk index (.grabit/)
@loftwah
loftwah / promo.md
Created September 1, 2025 14:26
loftwahfm-promo

LoftwahFM — Promo & Pitch Guide

1. About

LoftwahFM creates custom AI-generated music and branded radio segments for businesses. It is designed to replace generic playlists and expensive licensing with fast, affordable, and royalty-free audio that businesses can use anywhere.

Why I built it: Most businesses either use stock playlists or pay large fees for music they don’t truly own. I wanted to create a way for cafés, gyms, salons, retailers, and other venues to have a unique, branded sound without the cost or complexity of traditional production.

@loftwah
loftwah / loftwahfm.md
Last active August 27, 2025 05:05
loftwahfm

A Strategic Blueprint for LoftwahFM: Bridging Digital Audio Production with DevOps

The Vision and Its Architect: A Foundational Analysis of "LoftwahFM"

The user query requests a comprehensive analysis of a product named "LoftwahFM," with the express goal of "creat[ing] resources from it." A direct review of a public-facing product at the provided URL, fm.loftwha.com, yields no a direct description. This initial finding, however, is not a dead end but rather a critical starting point for a deeper analysis. The absence of a traditional product description redirects the focus from a pre-built application to the foundational elements that will define its future existence. The most comprehensive information available concerns the project's creator, Dean "Loftwah" Lofts, and the broader digital audio broadcasting ecosystem. A thorough analysis reveals that the true value of "LoftwahFM" is not in a pre-existing piece of software but in the unique synthesis of its founder's skills and the strategic

@loftwah
loftwah / sunoai.md
Last active October 10, 2025 22:38
sunoai

Suno AI v4.5 Cheatsheet (Final No-Miss Edition, Updated August 2025)

This cheatsheet covers best practices, style prompts, sound/effect usage, and workflow tips for Suno v4.5. Focus on originality (no direct artist names) and control (style prompts, metatags, sliders, stem editing, Add Vocals mode). All content is designed as a single copy-paste block for easy reference.


🔑 General Workflow

  • Originality First: Write custom prompts/lyrics to generate new music. Avoid direct copies; remix or inspire from uploads. Avoid artist names in style tags—describe vibe, instruments, mood instead.
  • Cover Feature: Upload audio (your own original clips or public domain) to remix/cover. Use high audio influence for structure retention, but tweak style/lyrics for originality. New in v4.5: "Add Vocals" mode for uploading instrumentals and generating vocals on top.
@loftwah
loftwah / guide1.md
Last active August 16, 2025 08:40
computer-networking

Comprehensive Guide to Computer Networking: From Basics to Advanced (2025 Edition)

Last Updated: August 16, 2025 (AEST, UTC+10)
Author Note: This document compiles a detailed, verbose, and example-heavy overview of computer networking, drawing from foundational concepts to cutting-edge 2025 trends. It's structured for easy reading, listening (as a verbal walkthrough), or copy-pasting into notes. We've covered everything from OSI Layers 1–9 (joke layers included), TCP/IP and HTTP models, bitwise operations, subnetting, classful vs classless addressing, common IP ranges, DHCP, spanning tree protocols, routing (heavy on OSPF and BGP with 2025 updates like RPKI, ASPA, and SRv6), LACP standards, Ethernet evolution from 10Base-T to fiber (with connectors, single-mode/multimode, speeds, and distances), addressing modes (anycast, broadcast, multicast, unicast, incast), Wi-Fi (up to Wi-Fi 7), NAT, VPNs (WireGuard, Tailscale), proxies/SOCKS5, DNS (with record types), IEC power cables, ARP/ND, troubleshooti

@loftwah
loftwah / design.md
Created July 29, 2025 03:05
worker-factory-tycoon

Factory Chaos Tycoon – Design Document

Revision 0.1 – 2025/07/29 (Australia/Melbourne UTC+10 / 2025/07/28 14:00 UTC)


1. Overview

Factory Chaos Tycoon is a satirical, clock‑driven workplace‑management game set in a barely‑legal manufacturing business staffed by ex‑cons, chronic smoko‑takers, and the occasional competent worker. The player juggles personalities, compliance crack‑downs, and tight production targets while deciding whether to improve operations (automation, skilled staff) or scrape by with dodgy side‑hustles and humiliating quick fixes.

@loftwah
loftwah / generate_credentials_template
Created May 22, 2025 01:12
generate_credentials_template
#!/usr/bin/env ruby
# frozen_string_literal: true
require "yaml"
CREDENTIALS_PATH = File.expand_path("config/credentials.yml.enc")
MASTER_KEY_PATH = File.expand_path("config/master.key")
def decrypt_credentials(path)
key = ENV["RAILS_MASTER_KEY"] || File.read(MASTER_KEY_PATH).strip rescue nil
@loftwah
loftwah / tutorial.md
Last active May 20, 2025 02:33
GitHub Actions and Environments

GitHub Actions and Environments

Key Points

  • It seems likely that using GitHub Actions with Docker and Postgres for dev, staging, and prod environments is a solid approach, especially with Prisma for database management.
  • Research suggests that different branches for each environment (e.g., dev, staging, prod) and environment-specific configurations can streamline CI/CD processes.
  • The evidence leans toward using environmental variables and secrets for managing database connections securely across environments.