hjertnes.blog

#

30.03.2018 02:00

Like: Scalable and Performant ASP.NET Core Web APIs: Asynchronous Code - Carl’s Blog

#

30.03.2018 02:00

Like: cd is wasting your time | News and podcasts for developers | Changelog

Installing Emacs 26 on Mac OSX using Homebrew.

30.03.2018 02:00

If, you want to to install Emacs 26 (the upcoming Emacs release) on OS X:

PinboardAdder

30.03.2018 02:00

I have put together a small app for making it easy to add stuff to pinboard without having to wait for “stuff that require an internet connection”. I decided to just put it up on GitHub, because I don’t want to deal with getting it onto the App Store right now.

#

29.03.2018 02:00

#

29.03.2018 02:00

Installing Emacs 26

#

29.03.2018 02:00

Hmm Emacs 26 seems faster

#

29.03.2018 02:00

Test

How I rotate pens

26.03.2018 02:00

Like I mentioned in a earlier post, I have limited the number of pens I use to three. My Lamy 2000, Pilot Vanishing Point and my Pilot Metal Falcon. The way I rotate them is that I always use the pen that is all the way to the right in my Nock.co Hightower. And when I write it dry, I refill it, and rotate everything to the right and the pen I wrote dry in the left pocket.

Micropub notes

26.03.2018 02:00

I have set up my own Micropub server, in order to be able to post from the Micro.blog apps to a Hugo site. It isn’t very difficult to do, but the challenge was to find a overview of how to do it.

Let’s begin with the backend endpoints. The minimum is a micropub end-point, a media end-point and a “configuration” end-point.

I have set up mine to look as follows:

  • domain/micropub (POST) – Micropub

  • domain/media (POST) – Media

  • domain/ (GET) - CONFIG

When you log in with the Micro.blog apps, it will ask the configuration end-point to figure out where to post images. In other words: you have to log in and out if you change it. Then it will first post the image to the media end points, that hands back a URL to the file you uploaded, and it uses that to post that to the micropub endpoint.

  1. Write the end-points to follow the MicroPub specification

  2. Hook up all the correct meta tags.

  3. Hook up IndieAuth

  4. Start posting.

I have made a implementation of the micropub server, and some information about how to look it up.