hjertnes.blog

#

23.02.2018 01:00

@manton Have you documented on how to get the image uploading / posting from the official apps to work with a micropub server?

I can’t see any requests getting through to my server, only a error saying “Photo URL was blank”.

#

23.02.2018 01:00

#

23.02.2018 01:00

Finally. I’m quite close to being happy with the Hugo setup.

Getting a list of values from a Object

23.02.2018 01:00

I just came over this very useful method on the Object prototype. I’m not sure if it is a ES7 or 8 thing. But if you want all the values from a object, you can use the Object.values method. It will return just the values.

OmniSharp Server

23.02.2018 01:00

One of my favourite things Microsoft have made in the last few years is the OmniSharp Server.

The key to being happy about coding in languages like Java and C# is a excellent auto complete engine. And this is what the OmniSharp Server is. One of the reasons .NET have become so popular is that Visual Studio is so good, and the best part of it is the Intellisense engine.

The OmniSharp server is a server or service that other IDEĀ“s and text editors can use to integrate C# and F# auto complete. It is what Visual Studio Code uses, and I have also added it to my Emacs / Spacemacs setup.

It is a brilliant move. And I believe stuff like the OmniSharp server is the future of good software development tools. Every editor shouldn’t have to implement the same thing. It should be just a shared server that all of them can hook into.

#

22.02.2018 01:00

#

22.02.2018 01:00

[@dgold]1 Hugo question: how do I make it generate a RSS feed with more than 15 items in it?

#

22.02.2018 01:00

Does it work?

Dynamic object creating in JavaScript

22.02.2018 01:00

Let’s say you want to create an object where the key and the value comes from a parameter. There are a lot of verbose ways to do it. But you can also do it like this:

#

21.02.2018 01:00

I feelt like a Spider-Man villain when they were preparing me for the operation last night. Wires and tubes going everywhere and fancy equipment everywhere