Skip to content

Instantly share code, notes, and snippets.

View remarkablemark's full-sized avatar

Mark remarkablemark

View GitHub Profile
@remarkablemark
remarkablemark / index.html
Created December 4, 2026 01:10
Elevator puzzle prototype. Click Call to add a passenger, choose their destination, then use the elevator’s Up and Down buttons to move. Passengers board and exit automatically when the elevator reaches their floor.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Floor Control</title>
<style>
* { box-sizing: border-box; }
body {
@remarkablemark
remarkablemark / index.html
Created December 4, 2026 00:44
4×4 mini Sudoku prototype
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mini Sudoku</title>
<style>
* { box-sizing: border-box; }
body {
@remarkablemark
remarkablemark / python_download_video.py
Created November 9, 2026 18:17
Python download video test
#!/usr/bin/env python
from datetime import datetime
from urllib.request import urlopen
url = "http://embed.wistia.com/deliveries/8e6be92cd89f92bd9278aebd6c3e05e0eef9b0ea/file.mp4"
print("Method 1: chunks of 1024")
start = datetime.now()
@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.