Runar Ovesen Hjerpbakk

Science-based software development

Change the OmniSharp version being used by Visual Studio Code

Visual Studio Code (VS Code) is a great code editor for any platform. And perfect for .Net scripting! I use it to edit my scripts written in dotNet Script. dotNet Script has a lively community with new features being added regularly. VS Code is a collection of different libraries and frameworks, all working together to give you that good experience. Thus, if your new favorite scripting language gets a new feature, it sometimes takes a little while for the tooling to catch up.

Read More

Upgrade Chocolatey

On macOS I use Homebrew to mange packages, on Windows I use Chocolatey. However I always forget how to upgrade the Choloatey utility itself.

Read More

Bartender organizes your menu bar apps

Not only does this app have the most awesome name, it’s also extremely useful! Bartender enables you to show, hide or remove macOS menu bar items giving your desktop that clean look you’re craving.

This is my menu bar right now, containing only my most used menu bar items.

Bartender organizes your menu bar items

The dotted button is the Bartender menu bar item. Push it to toggle the Bartender menu to reveal the hidden items:

The Bartender menu

My menu bar went from trash heap to Zen garden in an instant 😃

Rocket is my new favourite macOS app

Rocket is my new favorite app for macOS. It provides Slack-style emoji in any app! It lives in the menu bar and simply pops up a palette whenever you type a colon. Thus giving you the option of inserting a clarifying emoji or a snarky gif wherever you want.

I mean, look at it:

Slack-style emoji throughout macOS

Thinking different about groups and tags in DevonThink

I’ve ditched Evernote as a knowledge manager and I’m now trying out DEVONthink for macOS and iOS.

Thus, I’ve been pondering the difference between groups (folders) and tags, and when either should be used. Arno had an interesting take:

Think of the group structure in a DevonThink database as a catalog rather than as the place where your documents are stored

Use DevonThink’s groups to tag your documents by topic

Use DevonThink’s tags to flag documents for special purposes

Using groups to store documents by topic and tags to actualize them while working on projects is something I’ll try from now on.

Import books from Amazon to Goodreads on iOS

A new year has dawned, bringing with it the possibility of being even more efficient. One of the things I did a lot last year, was entering books in Goodreads found in links from Amazon. I did this manually (ouch), searching for the book’s name in the Goodreads website or app.

tl;dr

Inspired by this thread, I created an iOS workflow which takes an Amazon URL from any source, extracts the Amazon ID and searches for the corresponding book on the Goodreads website or app (if installed).

Import this workflow into the Workflow app and use Run Workflow from any app with an Amazon URL, Safari for example.

Read More

Open folder in Visual Studio Code from the Finder

As a Christmas gift for you my dear readers, I’ve fixed the bug you all wanted to be fixed. Now the Open in Visual Studio Code macOS service no longer opens a previously opened folder together with the folder you wanted.

Thus, this service now works as advertised! Happy coding 😉

Right click on folder to open in Visual Studio Code

Read More

Comics Downloader

Comics Downloader is a dotnet script that will download comics from comics.io. It will start with a specified strip and continue until all strips are downloaded for the given comic. It can also optionally combine them into a .cbz-file, a comic archive.

View the source on GitHub.

Read More

Deploying and debugging apps wirelessly on Apple TV 4K

The new Apple TV 4K is awesome and an improvement over Apple TV 4 in every aspect. Except one. It does not have a USB-C port for development.

This is not surprising, as Apple is a strong proponent of our wireless future. It does mean however that you need to pair your Mac wirelessly to do deployment and debugging.

Read More

Xcode - symbol(s) not found for architecture x86_64

So, I dabbled in Objective-C the other day, trying to use JSONModel to parse the following JSON to an Objective-C object named AppConfig:

{
    "SpotifyClientId": "[SpotifyClientId]",
    "SpotifyClientSecret": "[SpotifyClientSecret]",
    "YouTubeServiceId": "[YouTubeServiceId]"
}

Sounds straightforward.

Read More