Skip to content

Instantly share code, notes, and snippets.

View espennilsen's full-sized avatar
💭
🤯

Espen A. Nilsen espennilsen

💭
🤯
View GitHub Profile
/**
* Hannah Web UI adapter.
*
* Serves a dashboard for monitoring agent activity. Uses Node's built-in
* http module no framework dependencies.
*
* Routes:
* GET / Dashboard (inline HTML/CSS/JS)
* GET /api/stats JSON totals
* GET /api/jobs JSON recent jobs
/**
* Hannah Main entry point.
*
* Boots the full Pi interactive TUI with:
* - SQLite job tracking via an extension factory
* - Telegram (and future adapters) running in-process alongside the TUI
* - Heartbeat system for periodic check-ins
* - Cron scheduler for recurring jobs
* - Plugins that hook into the job lifecycle
*
name description
td
Manage tasks and issues with the td CLI. Use for creating, tracking, querying, and handing off work items. Covers task lifecycle, session management, structured handoffs, epics, dependencies, and boards.

td — Task & Session Management

td is a local-first task management CLI optimized for AI-assisted development workflows. It tracks issues, sessions, structured handoffs, and progress logs.

Session Workflow

Keybase proof

I hereby claim:

  • I am espennilsen on github.
  • I am espennilsen (https://keybase.io/espennilsen) on keybase.
  • I have a public key whose fingerprint is 6A08 D51E 5618 0BD2 EA3D 8B7F FD22 D1E9 3CAB 80F2

To claim this, I am signing this object:

@espennilsen
espennilsen / Snapmirrorscheduler.ps1
Created January 14, 2013 20:40
Takes all your snapmirror relationships and sets them up to run once an hour at a random minute.
Foreach ($sm in Get-NaSnapMirror) {
Set-NaSnapmirrorschedule -Destination $sm.destination -Source $sm.source `
-Minutes (Get-Random -minimum 0 -maximum 59) -hours * -daysofmonth * -daysofweek *
}
#!/usr/bin/python
# Author: Espen A. Nilsen
# Requires: https://github.com/tjfontaine/linode-python
# Note: This is a lazy script, you have to create the A record you want to update first.
# Edit the variables:
APIKEY = 'secretapikey' # Get your key from https://manager.linode.com/profile/index
DOMAIN = 'mydomain.com'
HOSTNAME = 'home' # Exempli Gratia: home.mydomain.com