Sytone’s Ramblings

The occasional posts of a guy who plays with technology

PowerShell Cron Script

I was looking for a way to schedule jobs and yes windows has a task scheduler built in, however I wanted a bit more flexibility and less complexity. On the unix platform you can use cron. It is a scheduler that uses a simple format to define the time when the process should start and the process command. I was going to look at using it when I thought about the parsing that would be needed, I dod not want a system that much that I would write a cron parser....

January 22, 2021 · 3 min · Jon Bullen

Service Fabric skeleton service

Taken from to conserve and update as needed as could not find it when I went looking for it. On Service fabric, you can either create ASP.NET Core API service or worker process. I’m going to create a worker service today Visual Studio Template Skeleton Right click on ServiceFabric project > Create a new Service Fabric service Choose “Stateless Service” for worker service, as Stateful is the new evil in cloud era....

January 4, 2021 · 3 min · Jon Bullen

Changing the commit author

So, you made some commits and then realise you used the wrong author and email address. No problem, use the following command to update them all and then you can push with consistent happiness. This assumes you are doing this in PowerShell, if in bash you may need to escape the quotes differently. The GIT commit id is the one before the commits with the wrong author. For the Author use the format name <email@address....

October 14, 2020 · 1 min · Jon Bullen

Getting a PI to update when on a network

Now we have a RV I wanted the pi to copy media files over when it is on the network. I have a share for our DVR where the media files are placed (HD Homerun + Emby) and wanted to copy certain TV shows over automatically when the RV is home and I put it on the network. Now I can go down the BASH scripting route but I do not know that space very well....

August 27, 2020 · 3 min · Jon Bullen

Taking Automation on the Road

So we pulled the leaver on buying a RV. However we want to be able to watch our shows on the road, simple idea however internet access is not everywhere we want to go. To to get the DVR recordings from our media centre I setup a Pi running jellyfin and then wrote a simple powershell script which runs on the Pi and when it is on and at home will pick up our main media centre ont he network and copy and shows with a file called ....

August 11, 2020 · 1 min · Jon Bullen

Make the Calendar in Microsoft Teams use the same keyboard shortcut as Outlook

I use keyboard shortcuts a lot and in outlook I am used to the Ctrl+1/2/3/4 to go between mail, calendar, contacts, etc. In teams I found myself using Ctrl + 2 to go to the calendar which actually brings you to the Chat tab. I know I could use Ctrl + 4 but you know muscle memory… Then I found out you can reorder all the tabs on the left, so not I have Chat at the top just like my mail Ctrl + 1 followed by Calendar which means it is Ctrl + 2 which is now very similar to Outlook!...

June 18, 2020 · 1 min · Jon Bullen

Getting Night Light to work with a docking station in Windows 10

This comes from How to enable Night Light feature on DisplayLink devices in Windows 10. I have a Targus docking station and luckily it used DisplayLink, the key does not exist with the Targus drivers installed so… Go to and download the DisplayLink drivers. Install them. Start RegEdit Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\DisplayLink\Core Create new String value with name EnableGammaRamp and set the data to be: true Unplug and plug your DisplayLink device Enable Night light in Windows All your monitors should now be at the same gamma settings....

June 3, 2020 · 1 min · Jon Bullen

Work at home and being a team

Now that we are dealing with COVID-19, a lot of companies are getting their employees to work remotely. For some this will be great and for other who crave social interaction not so great. For me the key thing is making sure that my team feels like a team still. Keeping the routine going is pretty important. For yourself and your team. There are lots of great posts about this so I will just list the key points....

March 13, 2020 · 3 min · Jon Bullen

Auto Update Git Aliases

Because I am lazy I wrote a script so I can update all my machines from the one location which is the gist below. This works in powershell core. Again this is mostly for me but feel free to use as needed. Update your $profile to have th following environment variable set. This will allows the wid and pid aliases to work correctly. $env:GIT_PERSONAL_EMAIL = "" $env:GIT_PERSONAL_USERNAME = "myname" $env:GIT_WORK_EMAIL = "work@work....

April 2, 2019 · 2 min · Jon Bullen

Using git aliases part two

This is a update to Using git aliases. A few extra commands and a bit of a cleanup. ~I should move it to a gist at some point.~ Update: Moved the contents to a gist.

March 28, 2019 · 1 min · Jon Bullen