Skip to content

Instantly share code, notes, and snippets.

View neilotoole's full-sized avatar

Neil O'Toole neilotoole

View GitHub Profile
@neilotoole
neilotoole / main.go
Created December 3, 2023 05:11
mpb render delay bug example
package main
import (
"context"
"fmt"
"math/rand"
"sync"
"time"
"github.com/vbauerster/mpb/v8"
package main
import (
"context"
"errors"
"fmt"
"github.com/sergerad/miscgo/pkg/relax"
"golang.org/x/sync/errgroup"
)
analytics.page("Portal", "Home"); // The landing page (not logged-in), note no category
analytics.page("Portal", "About"); // API Version etc
analytics.page("Portal", "Settings"); // Change refresh rate
analytics.page("Portal", "Get CLI");
// Each of the below "analytics.page()" calls should take a properties object
analytics.page("Account", "Settings") // View username/pass, delete account
analytics.page("Account", "Tokens") // View/edit Personal Access Tokens
diff --git a/doc/hce-tool.swim b/doc/hce-tool.swim
index fb2ba79..acc4130 100644
--- a/doc/hce-tool.swim
+++ b/doc/hce-tool.swim
@@ -48,6 +48,9 @@ These are the hce-tool subcommands:
Self upgrade the hce-tool command.
+- `install-hce-cli`
+ Install the HCE CLI tool.