oh my Posh

If you can’t make much use of starship1 or oh my zsh2, you might find a better alternative in oh my Posh3. There are several predefined themes that let you adjust the prompt in seconds. The program is compatible with BASH, PowerShell, CMD, Fish, Zsh and nushell. It is written in Go and can be installed on GNU/Linux, macOS, Windows and Termux (Android). Of course, ist auch diese engine open source. ...

July 10, 2024 · 1 min · 91 words

Externe Umleitung in Hugo

As a blogger today, I wanted to redirect URLs that point to a subdirectory to an external destination. In the blog post ‘Using Hugo as a redirect service’ by Daniel Terhorst-North I came across a very lean solution. To achieve this, the following file must be created in the theme folder: /layouts/redirect/single.html. The following source code must be added to the file: {{- template "_internal/alias.html" (dict "Permalink" .Params.target) -}} You can now create a file and define the redirect with the following four lines. The filename also determines the directory of the source URL: ...

December 17, 2023 · 1 min · 117 words

Fresh new dark theme

Many apps already have a dark mode, but there still isn’t a unified standard for it on iOS and macOS. Steve Troughton Smith fand in macOS 10.14 gives a hint of exactly such a mode. Developer Steve Troughton Smith today tweeted photos of macOS 10.14 with some very juicy details about Apple’s upcoming operating system. The OS is very clearly sporting a fresh new dark theme, presumably a toggle-able setting, with the dark UI affecting all application chrome. You can also see an icon for a Mac News app in the Dock, as well as a first look at Xcode 10. — 9to5mac.com ...

June 2, 2018 · 1 min · 136 words

Twitter Cards in WordPress

Since around mid-2012, Twitter has supported Twitter Cards. Twitter Cards are meant to give Twitter users a preview of posted links. You can present video, images, or text snippets as a preview. The following code lets WordPress users optimize their theme for Twitter Cards. First, add the following code to the function.php of your WordPress theme; once you’ve done that, you still need to apply for Cards with Twitter registrieren. ...

March 3, 2014 · 2 min · 283 words

Another new theme

Maybe you’ve noticed that over the past few days I’ve repeatedly installed and reworked new themes. I was never really satisfied, but I really like the current one. Simple yet a bit playful. Admittedly, the design is borrowed — it’s based on the design from Svbtle — but it will surely continue to change over time. There’s also a great new feature for my readers: the “Kudos” feature. You can loosely translate “kudos” as “to praise.” In short, it’s an “I like this” feature. So go on, use it. ...

June 13, 2012 · 1 min · 125 words