Skip to content

Instantly share code, notes, and snippets.

@ggorlen
ggorlen / food.md
Created April 27, 2026 01:37
food
  • rice ratios: 2 cups white to 3 and 1/8 cups water, for brown, 2 cups brown to 3 cups water
  • congee
  • tomato or lentil soup
@ggorlen
ggorlen / music.md
Last active April 27, 2026 02:18
music

Music ideas

  • some day, take a bunch of time off and just crank out black thread tape loop music with synth + gtr, what's there to lose? use the gear before it dies and get some massive release together
  • look into amp modeler software
  • do greensleeves etc in pure data or supercollider, or modplug, or ultraabox
  • try that krautrock 2 chord guitar idea, see mantra by stick men for interesting similar time signature thing
  • make an atmospheric mc 202 album like sonno from cortini
  • could use pure data or something to generate midi: https://www.discogs.com/release/31033435-Colin-Marston-Solo-Instruments
  • title: "landscape of fadedness"
  • https://en.wikipedia.org/wiki/Ostrich_guitar / monochord
@ggorlen
ggorlen / vue-try-array-composables.html
Created April 26, 2026 20:28
vue try array composables
<!doctype html>
<div id="app">
<button @click="newConversation()">
New Conversation
</button>
<div v-for="(conversation, index) in conversations" :key="index">
<h3>Conversation {{ index + 1 }}</h3>
<ul>
<li v-for="message in conversation.messages" :key="message">{{ message }}</li>
</ul>
@ggorlen
ggorlen / har-minimizer.html
Last active April 10, 2026 21:44
HAR minimizer.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HAR Cleaner</title>
<style>
:root { color-scheme: light dark; }
body { margin:0; font-family: system-ui, sans-serif; }
@ggorlen
ggorlen / no-js-html-previewer.html
Last active April 17, 2026 21:50
No JS HTML previewer
<!DOCTYPE html>
<html lang="en" class="light dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML Script Stripper</title>
<style>
:root { color-scheme: light dark; }
@ggorlen
ggorlen / hello-world.r
Created February 1, 2026 01:20
hello-world.r
x <- list(foo=42, bar=43)
print(x)
@ggorlen
ggorlen / hello-world.sql
Last active February 1, 2026 01:02
hello-world.sql
select 54321;
@ggorlen
ggorlen / number-analyzer.html
Last active January 29, 2026 20:34
Number analyzer
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="Number Analyzer" />
<meta name="color-scheme" content="dark light" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Number Analyzer</title>
<style>
body {
@ggorlen
ggorlen / star.py
Last active December 28, 2025 23:26
Draw minimal coprime stars
# see https://stackoverflow.com/questions/72943585/how-to-draw-n-pointed-stars-using-turtle#comment140920249_72943585
import math
from turtle import Screen, Turtle
def first_coprime(n):
for k in range(2, n):
if math.gcd(n, k) == 1:
return k