~erock

Ann Arbor, MI

https://erock.io

~erock/pico.sh

Last active 6 days ago

~erock/public-inbox

Last active 28 days ago

~erock/sentences

Last active 3 months ago
View more

Recent activity

Re: rooting for prose.sh (and pico.sh) 6 days ago

From Eric Bower to ~erock/pico.sh

Hey thanks!  Much appreciated!

Re: Footnotes with refs on prose.sh 28 days ago

From Eric Bower to ~erock/public-inbox

Hi!

Yes there is a specific format. This feature was quietly released. 

You can see the raw post here:
https://erock.prose.sh/raw/a-priori-myth

Lemme know if you need anymore help!

[PATCH v1] feat: images can now be uploaded from all services a month ago

From Eric Bower to ~erock/pico.sh

Prose will also replace all relative paths to images with a url to their
imgs.sh blog.
---
This patch integration prose and imgs together so it's very easy to
display images on your blog.

 filehandlers/imgs/md.go |  2 +-
 imgs/api.go             | 71 +++++++++--------------------------------
 imgs/config.go          |  9 ++++++
 prose/api.go            | 25 ++++++++-------
 prose/scp_hooks.go      |  2 +-
 shared/config.go        | 39 ++++++++++++++++++++++
 shared/mdparser.go      | 61 ++++++++++++++++++++++++++++++++++-
 7 files changed, 138 insertions(+), 71 deletions(-)
[message trimmed]

[PATCH v1] feat: add ability to pipe to any service a month ago

From Eric Bower to ~erock/pico.sh

Implements https://todo.sr.ht/~erock/pico.sh/47
---
 cmd/lists/ssh/main.go  |  2 ++
 cmd/pastes/ssh/main.go | 57 ++-----------------------------------
 cmd/prose/ssh/main.go  |  2 ++
 wish/pipe/pipe.go      | 64 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 70 insertions(+), 55 deletions(-)
 create mode 100644 wish/pipe/pipe.go

diff --git a/cmd/lists/ssh/main.go b/cmd/lists/ssh/main.go
index 2137f65..965f690 100644
--- a/cmd/lists/ssh/main.go
+++ b/cmd/lists/ssh/main.go
@@ -13,6 +13,7 @@ import (
[message trimmed]

Re: Username changed, site moved by itself. 2 months ago

From Eric Bower to ~erock/pico.sh

Hi!

Thanks for reaching out.

When we merged users and couldn't determine if the same person own both accounts on lists.sh and prose.sh we ended up creating two users: <username>tmp and <username>

You probably own both usernames at this point.  So what you can do now is use the `bayindirh` username to upload your lists.

```
scp *.txt bayindirh@lists.sh:/
```

If you used different key-pairs for each user or service, you should now use your old prose.sh keypair for lists now.

[PATCH v1 prose.sh] chore: add security headers 2 months ago

From Eric Bower to ~erock/pico.sh

---
 Caddyfile | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Caddyfile b/Caddyfile
index 7fe8b0f..36828b0 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -4,6 +4,24 @@
		interval 1m
		burst 10
	}

    header {
[message trimmed]

Re: Docker 2 months ago

From Eric Bower to ~emersion/soju-dev

> I tend to prefer running my services in a container, though I don't see
> a Dockerfile present in the repo. I'd be happy to contribute one. Is
> that something you'd be interested in receiving a patch for?

This is the one I’m currently using if it helps: https://git.sr.ht/~erock/erock-irc/tree/main/item/irc/Dockerfile

[PATCH v2 senpai] buffer-numbers config option to always display buffer index in list. 3 months ago

From Eric Bower to ~delthas/senpai-dev

fix buffer number being off-by-1 in list
---

I wanted to always see the buffer numbers in the list to make it easier
to know which number to press when using the command shortcut ALT+{num}.

Unfortunately, those numbers are not the same.  For the command, it
starts with 1 whereas the buffer command starts with 0.  Having said
that, I think this config option could still be useful.  I'd also be
happy to chat about how we could make the indexes for the shortcut and
the buffer command the same.

 config.go        | 57 +++++++++++++++++++++++++++++-------------------
 doc/senpai.5.scd |  6 +++++
[message trimmed]

[PATCH] buffer-numbers config option to always display buffer index in list. 3 months ago

From Eric Bower to ~delthas/senpai-dev

fix buffer number being off-by-1 in list
---
 config.go        | 57 +++++++++++++++++++++++++++++-------------------
 doc/senpai.5.scd |  6 +++++
 ui/buffers.go    |  2 +-
 window.go        |  4 ++++
 4 files changed, 45 insertions(+), 24 deletions(-)

diff --git a/config.go b/config.go
index 5ac2a8a..98028cd 100644
--- a/config.go
+++ b/config.go
@@ -61,13 +61,14 @@ type Config struct {
	Typings bool
[message trimmed]

frontmatter and carriage return 3 months ago

From to ~adnano/kiln-discuss

I'm really enjoying `kiln` so thanks for building it!

I had a couple of posts that were written with carriage return's for newlines.
This caused the frontmatter parser to fail which then removed title and date
from those articles.

First, I wanted to just point out that potential issue for other users, but
I'm also wondering if it's something kiln should detect and handle or at
least notify the user?

I'd be happy to submit a patch for either if we think it's a useful.  I wasn't
able to figure out the issue until I started debugging in the code.