Skip to content

Instantly share code, notes, and snippets.

View colonelpanic8's full-sized avatar

Ivan Malison colonelpanic8

  • San Francisco, CA
View GitHub Profile

railbird color tracking

What to take on:

What is a color detection (as a datatype)

Probably some type of vector of pairs of

nix-on-host-runner(version:v0.2.5) received task 19 of job 10, be triggered by event: push
workflow prepared
evaluating expression 'success()'
expression 'success()' evaluated to 'true'
☁ git clone 'https://github.com/actions/checkout' # ref=v2
cloning https://github.com/actions/checkout to .cache/act/actions-checkout@v2
Unable to pull refs/heads/v2: non-fast-forward update
Cloned https://github.com/actions/checkout to .cache/act/actions-checkout@v2
Checked out v2
Read action &{Checkout Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When
nix-on-host-runner(version:v0.2.5) received task 8 of job 7, be triggered by event: push
workflow prepared
evaluating expression 'success()'
expression 'success()' evaluated to 'true'
🚀 Start image=localhost:5921/nix-runner
🐳 docker pull image=localhost:5921/nix-runner platform= username= forcePull=false
🐳 docker pull localhost:5921/nix-runner
Image exists? true
🐳 docker create image=localhost:5921/nix-runner platform= entrypoint=["/bin/sleep" "10800"] cmd=[]
Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:localhost:5921/nix-runner Volumes:map[] WorkingDir:/workspace/billnerds/railbird Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}

Development setup for railbird

What we had to do for Andy Malkin

Install nix

Enable flakes

From 0b250f541fcad1fdce122ebb920188d8890f2c25 Mon Sep 17 00:00:00 2001
From: Ivan Malison <IvanMalison@gmail.com>
Date: Wed, 13 Sep 2023 16:55:30 -0600
Subject: [PATCH] Allow additional filtering on states
---
lisp/org-agenda.el | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
taffybar on  master [$!?] via λ nightly-2023-05-30 via ❄️ impure (ghc-shell-for-taffybar-4.0.1-0-env)
➜ haskell-language-server --debug src/System/Taffybar/Context.hs
2023-09-04T15:41:26.642825Z | Info | haskell-language-server version: 2.2.0.0 (GHC: 9.4.5) (PATH: /nix/store/2f1hjy818nf3np6nafkzwb53dam0mcjb-haskell-language-server-ghc9.4.5-2.2.0.0/bin/haskell-language-server)
2023-09-04T15:41:26.644723Z | Info | Directory: /home/imalison/dotfiles/dotfiles/config/taffybar/taffybar
2023-09-04T15:41:26.645016Z | Info | Logging heap statistics every 60.00s
ghcide setup tester in /home/imalison/dotfiles/dotfiles/config/taffybar/taffybar.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Step 1/4: Finding files to test in /home/imalison/dotfiles/dotfiles/config/taffybar/taffybar
Found 1 files
Definition request at position 456:38 in file: /home/imalison/dotfiles/dotfiles/config/taffybar/taffybar/src/System/Taffybar/Context.hs
Finished: C:GetHieAst:/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar/src/System/Taffybar/Context.hs Took: 0.00s
Finished: C:GetImportMap:/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar/src/System/Taffybar/Context.hs Took: 0.00s
Finished: Pragmas.GhcSession Took: 0.00s
Finished: splice.codeAction.GitHieAst Took: 0.00s
Finished: retrie Took: 0.00s
Finished: RefineImports Took: 0.00s
Finished: Took: 0.00s
Finished: GADT.GetParsedModuleWithComments Took: 0.00s
Finished: importLens Took: 0.00s
(setq org-wild-notifier-predicate-blacklist '(org-wild-notifier-done-keywords-predicate))
(setq org-wild-notifier-predicate-blacklist nil)
do
(message
"h: %s %s %s %s %s"
interval-has-completion
old-completions
actual-completions
(org-window-habit-show-time-string start-time)
(cl-defun imalison:org-at-time (&optional time &key (fn 'org-wild-notifier-check))
(interactive)
(setq time (or time (time-convert (encode-time (parse-time-string (org-read-date))) 'list)))
(flet
((current-time (&rest args) time))
(funcall fn)))
(imalison:org-at-time
nil
:fn (lambda ()
(defun org-window-habit-normalize-time-to-duration (time-value &optional duration-plist)
(let* ((decoded-time (decode-time time-value))
(year (nth 5 decoded-time))
(month (nth 4 decoded-time))
(day (nth 3 decoded-time))
(hour (nth 2 decoded-time))
(minute (nth 1 decoded-time))
(second (nth 0 decoded-time))
(smallest-duration-type (car (last duration-plist 2)))
(smallest-duration-value (cadr (last duration-plist 2))))