Skip to content

Instantly share code, notes, and snippets.

View ALANVF's full-sized avatar

theangryepicbanana ALANVF

View GitHub Profile
@ALANVF
ALANVF / timer.red
Last active June 16, 2022 22:59
Time demo
Red [
Title: "Timer app"
Author: "ALANVF"
Date: 14-Jun-2022
File: %timer.red
Needs: 'View
Purpose: {
Basic timer application
}
]
@ALANVF
ALANVF / text-editor.red
Last active June 17, 2022 03:15
Text editor demo
Red [
Title: "Text editor"
Author: "ALANVF"
Date: 16-Jun-2022
File: %text-editor.red
Needs: 'View
Purpose: {
Basic text editor
}
]
@ALANVF
ALANVF / image-viewer.red
Created June 29, 2022 00:28
Image viewer demo
Red [
Title: "Image viewer"
Author: "ALANVF"
Date: 28-Jun-2022
File: %image-viewer.red
Needs: 'View
Purpose: {
Basic image viewer
}
]
type T
class Graph[T] {
my vertices (Set[Vertex[T]])
init [new] {
vertices = Set[Vertex[T]] #[]
}
on [numVertices] (Int) is getter {
my counted = Set[Vertex[T]] #[]
@ALANVF
ALANVF / ActiveKey.star
Created October 7, 2024 23:55
Star translation of flickyboard
class ActiveKey {
my startTouch (TouchPoint)
my flicked = false
}