~timharek

Bergen, Norway

https://timharek.no/

  • Developer at Value Tech.
  • Privacy and security advocate.

git.sr.ht/~timharek

Tim Hårek's logo

~timharek/yr

Last active 10 days ago

~timharek/migadu

Last active 24 days ago

~timharek/hima-dev

Last active 1 year, 4 months ago

~timharek/public-inbox

Last active 1 year, 4 months ago

~timharek/migadu-deno-dev

Last active 1 year, 5 months ago

~timharek/deno-modules-dev

Last active 1 year, 5 months ago

~timharek/filmpolitiet-api-dev

Last active 1 year, 5 months ago

~timharek/timharek.no-dev

Last active 1 year, 7 months ago

~timharek/public-feedback

Last active 3 years ago
View more

Recent activity

[PATCH v2] Add --web flag a month ago

From Tim Hårek Andreassen to ~xenrox/hut-dev

For opening git repo, todo ticket and builds job in browser.

References: https://todo.sr.ht/~xenrox/hut/49
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
---
 builds.go                          | 18 +++++++++-
 doc/hut.1.scd                      | 13 +++++++
 git.go                             | 14 ++++++++
 main.go                            | 57 ++++++++++++++++++++++++++++++
 srht/buildssrht/gql.go             |  2 +-
 srht/buildssrht/operations.graphql |  3 ++
 todo.go                            | 12 +++++++
 7 files changed, 117 insertions(+), 2 deletions(-)
[message trimmed]

Re: [PATCH] Add --web flag a month ago

From Tim Hårek Andreassen to ~xenrox/hut-dev

Thank you for the feedback! I'm sending a v2 patch asap :)

> You are only adding the flag here, the implementation to actually open the
> URL is missing.

You're right, I forgot to add my changes here.

> Is this last Printf a debug statement that you forgot to remove?

No, I thought it would be nice to have the URL easy to access in case you want to
open it after you've ran the show command.

> I would prefer to not add a dependency for this. Instead a function
> "OpenURL" could be added (to main.go) which uses "runtime.GOOS" to check

[PATCH] Add --web flag a month ago

From Tim Hårek Andreassen to ~xenrox/hut-dev

For opening git repo and todo ticket in browser.

References: https://todo.sr.ht/~xenrox/hut/49
---
 builds.go |  1 +
 git.go    | 17 +++++++++++++++++
 go.mod    |  1 +
 go.sum    |  3 +++
 todo.go   | 16 ++++++++++++++++
 5 files changed, 38 insertions(+)

diff --git a/builds.go b/builds.go
index 05b5a42..7bdf88e 100644
--- a/builds.go
[message trimmed]

CV-page is missing 1 year, 23 days ago

From Tim Hårek Andreassen to ~kmaasrud/inbox

Hi, Knut Magnus!

I noticed that your CV-page is giving a 404 (both with `curl` and in the browser), although it is present in your Git-repo: https://git.sr.ht/~kmaasrud/kmaasrud.com/tree/main/item/src/cv.txt

Just wanted to give you a heads up! :)

--
Tim Hårek

Re: [PATCH] Fix: add new condition redirect to old "item condition" 1 year, 7 months ago

From Tim Hårek Andreassen to ~timharek/public-inbox

Thanks, I've applied the patch! :)

Re: [PATCH] Fix: Redirect loop when in dev mode 1 year, 7 months ago

From Tim Hårek Andreassen to ~timharek/public-inbox

Thanks, I've applied the patch! :)

[PATCH hima] chore: Tiny test 1 year, 7 months ago

From Tim Hårek Andreassen to ~timharek/public-inbox

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
---
 README.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/README.md b/README.md
index fccdd4c..9684a11 100644
--- a/README.md
+++ b/README.md
@@ -23,8 +23,7 @@ be lightweight and fast. It's a work in progress atm.

### Usage

1. Copy the `.env.defaults`, `cp .env.defaults .env` and update the variables
[message trimmed]

Re: [PATCH 2/3] Fix: Redirect loop when in dev mode 1 year, 7 months ago

From Tim Hårek Andreassen to ~timharek/public-inbox

Are you able to resend/redo the patch?

Also, don't forget to reply to all so that the mailing list gets updated :)

Re: [PATCH 2/3] Fix: Redirect loop when in dev mode 1 year, 7 months ago

From Tim Hårek Andreassen to ~timharek/public-inbox

Hi,

Thank you for the contribution!

Unfortunately I'm not able to use this patch as `git am` is unable to detect the diff.

Re: [PATCH 3/3] Fix: add new condition redirect to old "item condition" 1 year, 7 months ago

From Tim Hårek Andreassen to ~timharek/public-inbox

Hi,

Thank you for the contribution!

Unfortunately I'm not able to use this patch as `git am` is unable to detect the diff.