Skip to content

Instantly share code, notes, and snippets.

View akaihola's full-sized avatar
🌇
Working from home

Antti Kaihola akaihola

🌇
Working from home
  • Wärtsilä Oyj
  • Espoo, Finland
View GitHub Profile
@akaihola
akaihola / v2-visu.html
Created February 10, 2026 13:56
Coleaders Community landing page v2 — updated to match brand style guides
<!DOCTYPE html>
<html lang="fi">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coleaders — Työelämä voi olla parempi</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Work+Sans:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
<style>
/* ============ RESET & VARIABLES ============ */
@akaihola
akaihola / index.html
Created February 10, 2026 13:27
Coleaders website 2026 v2 — focused MVP (one visitor, one next step)
<!DOCTYPE html>
<html lang="fi">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coleaders — Työelämä voi olla parempi</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Source+Sans+3:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
<style>
/* ============ RESET & VARIABLES ============ */
@akaihola
akaihola / index.html
Created February 10, 2026 13:15
Coleaders website 2026 — MVP mockup
<!DOCTYPE html>
<html lang="fi">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coleaders — Työelämä voi olla radikaalisti parempi</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Source+Sans+3:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
<style>
/* ============ RESET & VARIABLES ============ */
@akaihola
akaihola / nixos-framework-laptop-13.rst
Last active February 17, 2025 20:58
Installing NixOS on a Framework Laptop 13 (bought Feb 10, 2025)
@akaihola
akaihola / flake.nix
Last active October 1, 2024 01:36 — forked from agoose77/flake.nix
Nix Flake for non-FHS Python virtualenv using uv. As an example, install Jupyter and Pandas.
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs @ {
self,
nixpkgs,
flake-utils,
...
@akaihola
akaihola / endpoints.txt
Created July 30, 2023 16:52
Reverse engineering Yamaha/Bösendorfer Enspire Pro server structure
GET http://192.168.1.81/ctrl/master.json
GET http://192.168.1.81/ctrl/settings.json
GET http://192.168.1.81/ctrl/performance.json
GET http://192.168.1.81/ctrl/performance.html?ver=5.02.00
GET http://192.168.1.81/ctrl/getContentURL.php
@akaihola
akaihola / Teewasser.ipynb
Last active July 30, 2023 16:49
Plot Joeveo mug water temperature cooling as a function of time
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@akaihola
akaihola / nixos-x1.rst
Last active April 23, 2025 15:56
Installing NixOS on a Lenovo ThinkPad Carbon X1 Gen 9
@akaihola
akaihola / userdata.yaml
Created December 18, 2020 18:54
CrewLink-server cloud-init for Ubuntu
#cloud-config
# Start an Ubuntu server with this cloud-init data to run a
# CrewLink-server instance and update its IP for a subdomain. The
# domain name must be hosted at Gandi LiveDNS.
#
# Near the bottom of the page, replace these strings with your data:
# - your Gandi API key
# - your-domain.tld
# - your-subdomain
@akaihola
akaihola / cov_to_lint.py
Last active March 9, 2022 15:58
Script for converting coverage.py XML output into lint-style output
#!/usr/bin/env python
"""Script for converting ``.coverage`` SQLite output into lint-style output
The output is suitable for consumption using Darker.
See https://github.com/akaihola/darker
Example usage, pointing out modified code in a feature branch not covered by
the test suite::