Skip to content

Instantly share code, notes, and snippets.

@k0sti
k0sti / NostrLocation.md
Last active September 21, 2025 16:56
Nostr Location-First Event Specification

Nostr Location-First Event Specification

Specification for generic location-first Nostr events. Location data is defined with standard Nostr tags (with additional accuracy tag). Primary location definiton is geohash, so tag g must always be defined, all other tags are optional. Events are addressable (NIP-01#kinds) with two event kinds: one for public (30472) and one for private (30473) location events.

Public Locations - Kind 30472

{
 "kind": 30472,
@k0sti
k0sti / readme.txt
Created January 16, 2023 13:33
Beam Islands (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@k0sti
k0sti / pulautin.gs
Created November 14, 2019 15:08
Yle Skenaariopeli - Korttipulautin
function onOpen() {
var ui = SpreadsheetApp.getUi();
ui.createMenu('Korttipulautin')
.addItem('Luo Ilmiökortit', 'createScenarioCards')
.addItem('Luo Linssikortit', 'createLensCards')
.addToUi();
}
function getNamedRange(name) {
var sheet = SpreadsheetApp.getActive();