Toots du Jour (Mar 17)

<1 min read

Bitly-Shorten, Isgd-Shorten, JokeAPI and Pinboard Poster

<1 min read

I've released updates to a few of my Kotlin libraries:

  • JokeAPI 1.0.0
    • A simple library to retrieve jokes from Sv443's JokeAPI.

      import net.thauvin.erik.jokeapi.joke
      
      val joke = joke()
      val safe = joke(safe = true)
      val pun = joke(categories = setOf(Category.PUN))
  • Pinboard Poster 1.2.0
    • A small library for posting to Pinboard.

      val poster = PinboardPoster("user:TOKEN")
      
      poster.addPin("https://example.com/foo", "This is a test")
      poster.addPin("https://example.com", "This is a test", tags = arrayOf("foo", "bar"))
      poster.deletePin("https://example.com/bar")
  • Bitly Shorten 2.0.0
    • A simple implementation of the Bitly link shortening (Bitlinks) API v4.

      bitly.bitlinks().shorten("https://erik.thauvin.net/blog")
      bitly.bitlinks().expand("https://bit.ly/380ojFd")
  • is.gd Shorten 1.1.0
    • A simple implementation of the is.gd URL shortening and lookup APIs.

      Isgd.shorten("https://www.example.com/") // returns https://is.gd/Pt2sET
      Isgd.lookup("https://is.gd/Pt2sET") // returns https://www.example.com

Toots du Jour (Mar 16)

<1 min read

Toots du Jour (Mar 13)

<1 min read

F1

2 min read

Dubbed “the greatest that never was,” Sonny Hayes (Brad Pitt) was FORMULA 1’s most promising phenom of the 1990s until an accident on the track nearly ended his career. Thirty years later, he’s a nomadic racer-for-hire when he’s approached by his former teammate Ruben Cervantes (Javier Bardem), owner of a struggling FORMULA 1 team that is on the verge of collapse. Ruben convinces Sonny to come back to FORMULA 1 for one last shot at saving the team and being the best in the world. He’ll drive alongside Joshua Pearce (Damson Idris), the team's hotshot rookie intent on setting his own pace. But as the engines roar, Sonny’s past catches up with him and he finds that in FORMULA 1, your teammate is your fiercest competition—and the road to redemption is not something you can travel alone.