IT Tips

Access

Blog History

Check if VARIABLES are set with Bash

I have a script that needs to check if it is called with an environment that contains two variables OPERATOR_ADDRESSDELEGATOR_ADDRESS if it does not find them it will call a script ./getNodeAddressBech32.sh to set them and continue. How do you (properly) check for a...

read more

Clear the DNS Cache in Firefox

If you have edited your C:\Windows\System32\Drivers\etc\hosts file to add a custom DNS entry and run ipconfig /flushdns and Firefox is still returning the old address enter the following in the browser location bar and then click the Clear DNS Cache button...

read more

Timezone aware cron on Ubuntu 20.04 LTS

Problem: System is running in UTC time zone and I would like to set user cron entries in local time (Australia/Melbourne). It is annoying modifying your cron jobs every 6 months due to daylight savings changes. Resolution: Install fcron and get time zone aware...

read more

N-Central Poor Mans Report Manager

The problem with N-Central Report Manager is that it is only supported using a rather old version of SQL (Something like 2016). If you use the MAPS (Microsoft Action Pack Subscription) you only get licenses for the latest versions (SQL Server 2019) Inspired by a...

read more

Undeprecate my Powershell

So I was attempting to create a Powershell script that would Create an Azure AD Application and do the Application Admin consent aswell The script I had as a sample used AzureRM to get a refresh token and then get an access token to then do the POST to the...

read more