Skip to content

Instantly share code, notes, and snippets.

View Kimau's full-sized avatar

Claire Blackshaw Kimau

View GitHub Profile
@Kimau
Kimau / screencap.ps1
Created September 13, 2025 13:07
[Win10][ffmpeg][ps] Silly little Screencap using FFMPEG and powershell to get coords
# Script to capture a screen region using mouse clicks to define the area.
# To stop the recording, return to this PowerShell window and press 'q'.
# Add the necessary assembly to get cursor position.
Add-Type -AssemblyName System.Windows.Forms
# --- Step 1: Capture the coordinates of the top-left corner (Point A) ---
Write-Host "Please position your mouse cursor at the TOP-LEFT corner of the region you want to capture."
Write-Host "Then press any key to record the coordinates..."
@Kimau
Kimau / lockin.html
Last active September 1, 2025 12:33
Lock In
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calendar: September - December 2025</title>
<style>
/* --- Basic Setup & A4 Page Simulation --- */
body {
background-color: #e0e0e0; /* Light grey background to see the white page */
@Kimau
Kimau / gen_net.py
Created January 14, 2025 17:25
Generator for TTRPG Cyberpunk Red Net Arch
import os
import random
import networkx as nx
import matplotlib.pyplot as plt
import msvcrt
DIFFICULTY_DVS = {
1: 6, # Basic
2: 8, # Standard
3: 10, # Uncommon
@Kimau
Kimau / gist:4ee21377ce416eef153aee6bb8f1aeeb
Created November 26, 2024 19:49
Example custom slider
extends HSlider
func _draw():
# Get the slider dimensions
var size = get_size()
var width = size.x
var height = size.y
# Calculate the grab position based on value
var ratio = (value - min_value) / (max_value - min_value)
.column {
overflow-x: visible !important;
}
.scrollable {
overflow-x: visible !important;
}
.status__wrapper {
position: relative;
@Kimau
Kimau / dice.py
Last active December 29, 2023 21:25
Dice Rolling Probability
import matplotlib.pyplot as plt
import numpy as np
def rolld20():
return np.random.randint(1, 21)
def rolld20adv():
return max(np.random.randint(1, 21),np.random.randint(1, 21))
def rolld20dis():
@Kimau
Kimau / gist:131c67140028565ba6bf6d50fb2c2548
Created April 12, 2023 13:11
Game Dev (Aaron Burr, Sir)
(Verse 1)
Pardon me, are you Tim Schafer, friend?
That depends, who's asking?
Oh, well, friend,
I'm Game Dev, friend
I'm at your service, friend
I have been looking for you
I'm getting nervous, friend...
I heard your game was innovative and bold
@Kimau
Kimau / xcomlist.md
Created April 3, 2023 09:44
Things I'll Do If I Ever Become an XCOM Commander
  1. I'll assign my soldiers to weapon proficiency training based on their horoscope signs. After all, it's important to know if Mercury is in retrograde before sending a rookie to snipe a Sectoid.
  2. I'll design uniforms exclusively in bright neon colors. Aliens will be too busy shielding their eyes from the dazzling sight to shoot back.
  3. I'll make the Skyranger pilot fly in circles around the alien base for 20 minutes before landing, just to make sure the aliens are extra dizzy and disoriented.
  4. I'll replace our standard-issue frag grenades with confetti poppers. Nothing says "surprise" like a colorful explosion of paper.
  5. I'll institute a mandatory team-building exercise where soldiers must communicate using only emojis. 👽🔫💥🛸
  6. I'll install a state-of-the-art karaoke machine in the barracks, because nothing prepares soldiers for battle quite like an impromptu performance of "Total Eclipse of the Heart."
  7. I'll make soldiers take turns dressing up as a Berserker and roaming the base. The constant adre
@Kimau
Kimau / Dreams.md
Last active March 15, 2023 11:40
Dreams on GPT

PlayStation's Dreams Game

Model: GPT-4

Claire Blackshaw

Are you aware of the PlayStation game called Dreams? Summerise the product

Dreams is a unique game developed by Media Molecule and published by Sony Interactive Entertainment, exclusively for the PlayStation platform. First released on February 14, 2020, Dreams serves as a game creation system that allows players to create, share, and play content within a vast, user-generated universe.

The game provides a comprehensive suite of tools and features that enable players to design a wide variety of content, from simple sculptures to intricate games, animations, and interactive experiences. Dreams has an accessible interface, making it easy for players of all skill levels to bring their ideas to life.

@Kimau
Kimau / Improv.md
Created March 14, 2023 19:12
Improv according to GPt-4

Model: GPT-4

Explain what methods can I use in long form story Improv in markdown format with headers

Long Form Story Improv Methods in Markdown

This guide will explain several methods you can use to create engaging long form story improv in markdown format. Markdown is a lightweight markup language that makes it easy to format text in a simple and consistent manner. Headers, lists, and other elements will be used to structure the content.

Table of Contents