Skip to content

Instantly share code, notes, and snippets.

View remarkablemark's full-sized avatar

Mark remarkablemark

View GitHub Profile
@remarkablemark
remarkablemark / day-pixel.png
Last active October 30, 2026 04:12
A cinematic visual novel background of a quiet Japanese train station at dusk, viewed from the empty platform. Warm amber lights glow beneath the canopy, a vending machine shines softly near the far end, and the tracks lead toward a hazy town beneath a violet-orange sunset. Gentle reflections on the platform suggest recent rain. Anime-inspired p…
day-pixel.png
@remarkablemark
remarkablemark / README.md
Created October 16, 2026 18:36
Go web server example
@remarkablemark
remarkablemark / README.md
Created October 16, 2026 18:14
Go CLI app example

Run CLI:

go run .
@remarkablemark
remarkablemark / README.md
Last active October 14, 2026 17:14
Go program for "Hello, world!"

Run Go program:

go run hello.go
@remarkablemark
remarkablemark / create_gif.sh
Last active September 30, 2026 03:25
Bash script that creates a looping GIF/WebP with smooth fades between 2 images
#!/usr/bin/env bash
# Creates a looping 630x500 GIF that fades from image1 to image2 and back
ffmpeg \
-loop 1 -t 3 -i image1.png \
-loop 1 -t 3 -i image2.png \
-loop 1 -t 3 -i image1.png \
-filter_complex "
[0:v][1:v]xfade=transition=fade:duration=1:offset=2[first];
[first][2:v]xfade=transition=fade:duration=1:offset=4,
@remarkablemark
remarkablemark / renpy-color-opacity.md
Created September 22, 2026 00:46
Ren'Py hexadecimal color with alpha transparency or opacity

Ren'Py hexadecimal color with alpha transparency or opacity

Opacity Hex alpha Example
0% 00 #FFFFFF00
5% 0D #FFFFFF0D
10% 1A #FFFFFF1A
15% 26 #FFFFFF26
20% 33 #FFFFFF33
25% 40 #FFFFFF40
@remarkablemark
remarkablemark / steam.svg
Last active August 25, 2026 23:47
Steam logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@remarkablemark
remarkablemark / github.svg
Last active August 21, 2026 23:59
GitHub SVG logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@remarkablemark
remarkablemark / patreon.png
Last active August 18, 2026 22:56
Patreon logo
patreon.png
@remarkablemark
remarkablemark / click.js
Created March 18, 2026 01:15
click.wav
const fs = require('fs');
// Generate a simple click sound (short high-pitched tone with decay)
const sampleRate = 44100;
const duration = 0.05; // 50ms
const numSamples = Math.floor(sampleRate * duration);
const frequency = 800; // Hz
// Create WAV header
const headerSize = 44;