Twits du Jour (Nov 11)

<1 min read

Twits du Jour (Nov 9)

<1 min read

Twits du Jour (Nov 8)

<1 min read

Pinboard Poster 0.9.3

<1 min read

As it often happens, release a new version and almost immediately realize that it could have been easily improved on.

I've just updated Pinboard Poster to version 0.9.3, adding more ways to initialize:

val poster = PinboardPoster(Paths.get("local.properties")) // uses default PINBOARD_API_TOKEN key
val poster2 = PinboardPoster(Paths.get("my.properties"), "my.api.key")
val p = Properties()
p.setProperty("api.key", "user:TOKEN")
val poster3 = PinboardPoster(p, "api.key")

As usual documentation and source are on GitHub.

Pinboard Poster 0.9.2

<1 min read

I've just released a new version of the Pinboard Poster for Kotlin/Java.

Version 0.9.2 adds the ability to set the Pinboard authentication token using a local property or environment variable.

Local Properties

# local.properties
PINBOARD_API_TOKEN=user:TOKEN

val properties = Properties().apply { FileInputStream("local.properties").use { fis -> load(fis) } }
val poster = PinboardPoster(properties)

Environment Variable

export PINBOARD_API_TOKEN="user:TOKEN"

val poster = PinboardPoster()

As usual documentation and source are on GitHub.

Twits du Jour (Nov 7)

<1 min read