Browsed by
Tag: PowerShell

Nerdrays update 31/7/2022

Nerdrays update 31/7/2022

Just a quick update, as they say something is better than nothing. I think I’ve decided that at some point in the near future I will be moving from WordPress blogging software over to Ghost for future blog posts. I believe that although WordPress does make up a large majority of websites that people view, it does also mean that they are slow and stagnant with really pushing and updating their platform. So a more modern blogging software might be…

Read More Read More

NeoVim Plugins Guaranteed Hassle Free Installation on Windows 11

NeoVim Plugins Guaranteed Hassle Free Installation on Windows 11

Over the last week I’ve struggled to get NeoVim setup with plugins on Windows 11. I wanted to write a quick step by step guide that would hopefully help anyone who is starting out using NeoVim on Windows. This article will guide through some of the issues I’ve experienced. Install NeoVim To get started the first thing we need to do is actually install NeoVim, version 0.6.0 at time of writing. This can be completed with the command below in…

Read More Read More

Advent of Code 2021 – Day 2

Advent of Code 2021 – Day 2

Well we’re back for day 2 of Advent of Code 2021. If you haven’t checked out day 1 yet, you can do so here. You may remember yesterday Santa got in to his trusted submarine and decided to go hunting for his sleigh keys; that an elf had accidently knocked over the side of the boat. Day two isn’t much different, but our movement within the submarine has changed. We now have to take into account our Horizontal and Vertical…

Read More Read More

Advent of Code 2021

Advent of Code 2021

It’s that time of year again, where I start completing the Advent of Code challenges. Each day you’re given 2 puzzles (the second one unlocks if you complete the first one successfully). The puzzles are often to help Santa one way or another to make it through giving presents to everyone around the world. The first set of puzzles have now been opened for 2021. As a bit of back story to myself, I generally work through these puzzles in…

Read More Read More

PowerShell v7.2.0 Preview 9

PowerShell v7.2.0 Preview 9

PowerShell has not updated it’s preview build to v7.2.0 preview 9. This includes the following changes: Note: Known issue about ANSI code being written out in table views when using PowerShell with a legacy host that doesn’t support virtual terminal. For details see: #15978 Breaking Changes Change the default value of $PSStyle.OutputRendering to OutputRendering.Host and remove OutputRendering.Automatic (#15882) Fix CA1052 for public API to make classes static when they only have static methods (#15775) (Thanks @xtqqczze!) Update pwsh.exe -File to only accept .ps1 script files on Windows (#15859) Engine Updates and Fixes Update .NET adapter…

Read More Read More

PowerShell Popup Prompt – How To Notify Users

PowerShell Popup Prompt – How To Notify Users

Do you display popups in your tooling? Working within the tech industry you soon realise that even the savviest of users are prone to mistakes. Often a misclick or a mistyped value. These can all occur and depending on the action can have different levels of consequences. When developing tools I try to develop for everyone that might use the tool. I find that including Popup windows is a simple and effective way to reduce mistakes from happening. This allows…

Read More Read More

Advent Of Code 2020 – Day 1 Performance

Advent Of Code 2020 – Day 1 Performance

A Need For Speed Following on from yesterday post about solving Part 1 for Day 1 (found:https://nerdrays.azurewebsites.net/?p=37) In yesterday’s post, we looked at the first day of Advent Of Code 2020 challenge. Today we’re going to look at my optimised code that was implemented to improve performance. But what are the actual results and is the payoff worth it?  Again we shall be looking at the following languages: PowerShell, Python, JavaScript & C#. My technique to improve the scripts is…

Read More Read More

Advent Of Code 2020 – Day 1

Advent Of Code 2020 – Day 1

Puzzles, Solutions, Challenges Over the last couple of years, I have been taking part in a super casual coding challenge called Advent Of Code. Each year in December a new daily challenge is published. As a challenger, you’re given input to a puzzle and asked to figure out the programmable solution and derive an answer. One of the great things about Advent Of Code is that each input is unique to the next person so no one can copy an…

Read More Read More

Hello world!

Hello world!

Ahh the joyous starts to new ramblings, I never know how to start these off. Starting with a bit of background might be a good place.