Artificial intelligence – The ghost in the machine?
Recently there has been quite a bit of talk about artificial intelligence, and the possible problems this technology might introduce. Technology and evolution go hand in hand, and even though some...
View ArticleGoogle Cardboard VR – nerdgasm!
Selfie with the fully assembled Google Cardboard VR goggles What is it they say? Once a nerd, always a nerd? I don’t know about you, but for me that definitely rings true. Working in IT, you tend to be...
View ArticleBlue light addication
Hello, my name is Jostein and I’m a blue light addict. I crave the blue light that my so called smart phone gives off, I need the blue light, it drives me, it feeds me. From the moment I wake up, all...
View ArticleBrexit – the times they are a changin’
So, the people of Great Britain have spoken. They have voted in favour of leaving the European Union. A decision that came as a surprise to many, especially to the Union itself it seems, with messages...
View ArticleOne world
I am so fucking angry, I’m way beyond upset, my heart is bleeding, my head is racing, my gut wants to vomit until there’s nothing more left inside, I’m disappointed beyond even my own comprehension....
View ArticleAn open letter to the people of USA
For the first time ever, I’m worried senseless about an election in the US. This election is one of the most important elections in modern history, and stands to shift the political climate not only...
View Article[HOWTO] Tag EC2 instances based on platform type
Recently I had the need to tag all our EC2 instances based on the platform, as I wanted to create resource groups based on the actual underlying platform used for the EC2 instances. Much to my...
View Article[HOWTO] Using wildcards with logrotate
I often deploy services of different types and natures, and one thing that they all have in common is that they log their activity. Now logging is essential, however one of the downsides with logging...
View Article[HOWTO] Create list of ISO3166 Language Codes in Debian/Ubuntu
The other day I needed to create a list of ISO3166 language codes in the following format: ‘XX’,’YY’,’ZZ’. Being lazy, and also a fan of performing a bit of bash oneliner magic, or oneliner golf as...
View Article[HOWTO] Transferring Route53 domains between Amazon AWS accounts
Ever had the need to transfer a registered Route53 domain from one AWS account to the other? Follow this guide to transfer your domains using PowerShell. Recently I had the need to do just that, and...
View Article[HOWTO] Fix broken pip/pip3 in Ubuntu – f”ERROR: {exc}”
So the other day I was upgrading some old test instances and setting up some roles using Ansible and the role geerlingguy.pip, and ran into an issue. The issue was that pip simply wouldn’t work,...
View Article[HOWTO] Pretty print AWS encoded authorization failure message
When working with AWS command line tools such as aws or their PowerShell tools, you will from time to time encounter that the error message for the failing command will be an encoded error message. To...
View Article[HOWTO] apt upgrade fails – dpkg: error processing package grub-common
Quite recently I have seen some cases of apt failing when doing package upgrades. It seems like there is a change in the package grub-common that breaks on some systems, but works well on others....
View Article[HOWTO] No snap-ins have been registered for Windows PowerShell version 5
The other day I was upgrading a SharePoint 2016 Server Farm from Windows Server 2012 R2 to Windows Server 2019. The inline upgrade went quite nicely, and everything worked like a charm after the...
View Article[HOWTO] Fix EventLog Invalid Handle and Powershell Invalid Class
Lately I have been busy with upgrading a lot of servers from Windows 2012R2 and Windows 2016 to Windows Server 2019. The majority of these upgrades have gone through without a hitch. But of course,...
View Article[HOWTO] EC2Launch – agent failed to assume identity
The other day I stumbled upon a string of similar events logged from some of my Windows EC2 instances in regards to the SSM Agent. It simply refused to start up, and examining the log files, I could...
View Article[HOWTO] Active Directory Replication fails – The target principal name is...
I was doing some maintenance work on one of the many different environments I help maintain today when I noticed that Active Directory replication failed to one of the Domain Controllers in the...
View Article[HOWTO] – PowerShell’s Invoke-WebRequest is very slow
Preface If you have ever used the PowerShell cmdlet Invoke-WebRequest to download content, you might have observed that it is terribly slow. Files that typically download within seconds with any web...
View Article[HOWTO] – Get a list of repositories from Docker Hub using PowerShell
The other day, I had the need to get a list of all the repositories from an organization in DockerHub to gather some statistics. Being a huge advocate I wanted to do this in PowerShell, as this makes...
View Article[HOWTO] Setup secondary network card (NIC) on Ubuntu in AWS
This simple how-to enables a secondary network card on an Ubuntu instance running Amazon AWS EC2. It assumes a setup where the primary network card is in a private subnet, and the secondary network...
View Article